Skip to content

Commit

Permalink
changed endpoint path from core to tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Micheleboychuk committed Dec 15, 2021
1 parent 00ace64 commit 202c176
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* [/api/workflow/workflowitems](workflowitems.md)
* [/api/workflow/pooltasks](pooltasks.md)
* [/api/workflow/claimedtasks](claimedtasks.md)
* [/api/tools/feedbacks](feedbacks.md)

## Endpoints Under Development/Discussion
* [/api/authz/resourcepolicies](resourcepolicies.md)
Expand Down
9 changes: 6 additions & 3 deletions feedbacks.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# Feedbacks Endpoints
[Back to the list of all defined endpoints](endpoints.md)

The /api/tools/feedbacks endpoints are used to send feedback (via email) to DSpace's configured 'feedback.recipient'.
At this time submitted feedbacks are not visible or accessible via the REST API.

## Main Endpoint
**/api/core/feedbacks**
**/api/tools/feedbacks**

As we don't have yet an use case to iterate over all the existent feedbacks the main endpoint is not implemented and a 405 error code is returned according to our [general error response codes](README.md#Error codes).

## Single Feedback
**/api/core/feedbacks/<:id>**
**/api/tools/feedbacks/<:id>**

As we don't have yet an use case to get a single feedback the main endpoint is not implemented and a 405 error code is returned according to our [general error response codes](README.md#Error codes).

## Creating a feedback
**POST /api/core/feedbacks**
**POST /api/tools/feedbacks**

Request body:
```json
Expand Down

0 comments on commit 202c176

Please sign in to comment.