diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-02-20 23:50:40 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-02-20 23:50:40 +0000 |
commit | c5570e04932ee167869d7818b0707973a7c88e0b (patch) | |
tree | 4c45c0bf6a5b8b8362174af5399db73a04150bd1 /docs/API | |
parent | 3eddd9caa61a2ac431eb57cd4c835db608702a7d (diff) | |
parent | 3af6d3f8e27efbe1a048dfd0cd5a5f4f2a8eedc6 (diff) | |
download | pleroma-c5570e04932ee167869d7818b0707973a7c88e0b.tar.gz |
Merge branch 'single_emoji_reaction' into 'develop'
Single emoji reaction
Closes #1578
See merge request pleroma/pleroma!2226
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/pleroma_api.md | 13 |
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..."}]} +] +``` |