summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2022-04-07 12:00:45 -0300
committerVitor Mattos <vitor@php.rio>2022-04-07 12:00:45 -0300
commit9fb4ce57a349f8802ceeb91f905216179bd5229a (patch)
tree3275f7417507e5fe2ea5e8ddfda978bdb74472c9
parent80a5d768312958087cf805d0b0b76c36a74b0aa2 (diff)
Add description to return satus code
Signed-off-by: Vitor Mattos <vitor@php.rio>
-rw-r--r--docs/reaction.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reaction.md b/docs/reaction.md
index 8e6104a19..e135ef482 100644
--- a/docs/reaction.md
+++ b/docs/reaction.md
@@ -16,7 +16,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
* Response:
- Status code:
+ `200 OK` Reaction already exists
- + `201 Created`
+ + `201 Created` User reacted with a new reaction
+ `400 Bad Request` In case of no reaction support, message out of reactions context or any other error
+ `404 Not Found` When the conversation or message to react could not be found for the participant