aboutsummaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-21 10:02:37 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-21 10:02:37 +0300
commit13918cb545d583decfb728300850b307c59e2031 (patch)
tree9bf3d5f4c2e51eec87bd0cd1e8a46a6b94816bfc /docs/API
parentc9db0507f8d49aee9988b0b63477672f5df9c0b2 (diff)
parent292031f6dd809accbcb3a5ba59d0100d807c5d72 (diff)
downloadpleroma-13918cb545d583decfb728300850b307c59e2031.tar.gz
Merge branch 'develop' into gun
Diffstat (limited to 'docs/API')
-rw-r--r--docs/API/pleroma_api.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md
index 07e0af5e5..761d5c69c 100644
--- a/docs/API/pleroma_api.md
+++ b/docs/API/pleroma_api.md
@@ -459,3 +459,16 @@ Emoji reactions work a lot like favourites do. They make it possible to react to
{"name": "☕", "count": 1, "me": false, "accounts": [{"id" => "abc..."}]}
]
```
+
+## `GET /api/v1/pleroma/statuses/:id/reactions/:emoji`
+### Get an object of emoji to account mappings with accounts that reacted to the post for a specific emoji`
+* Method: `GET`
+* Authentication: optional
+* Params: None
+* Response: JSON, a list of emoji/account list tuples
+* Example Response:
+```json
+[
+ {"name": "😀", "count": 2, "me": true, "accounts": [{"id" => "xyz.."...}, {"id" => "zyx..."}]}
+]
+```