From d2358884f09faa2aa48226965145cb0959ee8f78 Mon Sep 17 00:00:00 2001 From: Sascha Szott Date: Sun, 14 Jun 2026 11:23:24 +0200 Subject: [PATCH] Fix JSON key from 'e-mail' to 'email' in feedbacks.md --- feedbacks.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/feedbacks.md b/feedbacks.md index 81a00fc2..ba12d1b0 100644 --- a/feedbacks.md +++ b/feedbacks.md @@ -20,17 +20,17 @@ As we don't have yet an use case to get a single feedback the main endpoint is n Request body: ```json { - "e-mail": "myemail@test.com", + "email": "myemail@test.com", "message": "DSpace is the best!", "page": "/home" } ``` The json body must be valid that mean -- e-mail must be provided -- message must be provided +- `email` must be provided +- `message` must be provided Return codes: * 201 Created - if the operation succeed -* 400 Bad Request - if some of the fields e-mail or message is missing -* 404 Not found - if the property 'feedback.recipient' is not configured +* 400 Bad Request - if some of the fields `email` or `message` is missing +* 404 Not found - if the property `feedback.recipient` is not configured