aboutsummaryrefslogtreecommitdiff
path: root/docs/API/pleroma_api.md
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-01-26 11:23:05 -0600
committerMark Felder <feld@FreeBSD.org>2020-01-26 11:23:05 -0600
commitd770cffce0aec0eeb427c8851437f04329700da9 (patch)
tree8a6f4db2849e613e0be968d3c0edc605b7040563 /docs/API/pleroma_api.md
parent108a39c8766402dcbd0235d8746e2100a18e5813 (diff)
parentd9e2bd8f40b7d77713a72ef94da2fbe8ffa75b91 (diff)
downloadpleroma-d770cffce0aec0eeb427c8851437f04329700da9.tar.gz
Merge branch 'develop' into issue/1280
Diffstat (limited to 'docs/API/pleroma_api.md')
-rw-r--r--docs/API/pleroma_api.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md
index 689edbcc2..9f5cafe5a 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..."}]
-}
+[
+ {"emoji": "😀", "count": 2, "accounts": [{"id" => "xyz.."...}, {"id" => "zyx..."}]},
+ {"emoji": "☕", "count": 1, "accounts": [{"id" => "abc..."}]}
+]
```