From 202c176bca66ebda3724b0185fea00281688aff4 Mon Sep 17 00:00:00 2001 From: Mykhaylo Date: Wed, 15 Dec 2021 11:14:40 +0100 Subject: [PATCH] changed endpoint path from core to tools --- endpoints.md | 1 + feedbacks.md | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/endpoints.md b/endpoints.md index f628b6e4..00c896f0 100644 --- a/endpoints.md +++ b/endpoints.md @@ -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) diff --git a/feedbacks.md b/feedbacks.md index 5afa8bc4..81a00fc2 100644 --- a/feedbacks.md +++ b/feedbacks.md @@ -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