diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-01-22 15:05:39 -0600 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-01-22 15:05:39 -0600 |
commit | ae78059ff433739b83aaa3ccff9245ace153146d (patch) | |
tree | f25e9b709b567b33377c5b9bb0c29a91dbb1c9b9 /docs/API/pleroma_api.md | |
parent | 7bfb8ed14d2d222e6fcd7afe54f229f68370f061 (diff) | |
parent | be2777715650d0ac80509f0bd22b4cea8641f9b3 (diff) | |
download | pleroma-ae78059ff433739b83aaa3ccff9245ace153146d.tar.gz |
Merge branch 'develop' into features/remote-follow-userpage-redirect
Diffstat (limited to 'docs/API/pleroma_api.md')
-rw-r--r-- | docs/API/pleroma_api.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md index 689edbcc2..9ca8a5af0 100644 --- a/docs/API/pleroma_api.md +++ b/docs/API/pleroma_api.md @@ -451,11 +451,11 @@ Emoji reactions work a lot like favourites do. They make it possible to react to * Method: `GET` * Authentication: optional * Params: None -* Response: JSON, a map of emoji to account list mappings. +* Response: JSON, a list of emoji/account list tuples, sorted by emoji insertion date, in ascending order, e.g, the first emoji in the list is the oldest. * Example Response: ```json -{ - "😀" => [{"id" => "xyz.."...}, {"id" => "zyx..."}], - "🗡" => [{"id" => "abc..."}] -} +[ + ["😀", [{"id" => "xyz.."...}, {"id" => "zyx..."}]], + ["☕", [{"id" => "abc..."}]] +] ``` |