aboutsummaryrefslogtreecommitdiff
path: root/docs/API/pleroma_api.md
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-02-22 09:31:43 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-02-22 09:31:43 +0300
commit8f0ca19b9cafeedc70df2d60bd7bd7c6bf7aa160 (patch)
treef14a1ef01c90124b33b2866117ed2995e32ab369 /docs/API/pleroma_api.md
parent0d14c3f41053f97d23fa9295745a817c08010969 (diff)
parent114e7b764ed5ae03211cca40e7b19f33292b3d1c (diff)
downloadpleroma-8f0ca19b9cafeedc70df2d60bd7bd7c6bf7aa160.tar.gz
Merge remote-tracking branch 'remotes/origin/develop' into 1505-threads-federation
# Conflicts: # CHANGELOG.md # config/config.exs
Diffstat (limited to 'docs/API/pleroma_api.md')
-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..."}]}
+]
+```