summaryrefslogtreecommitdiff
path: root/docs/API/pleroma_api.md
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-01-22 20:20:39 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-01-22 20:20:39 +0300
commitcf19bf3c7c82eb64f10cee309484d9591b1a3cae (patch)
tree77cd904cd7d397eb2ac72561a8cd5dcdd0609044 /docs/API/pleroma_api.md
parente761d76e4fe95a8fadd8eb05d5c55ef5fc4bc8ec (diff)
parentbe2777715650d0ac80509f0bd22b4cea8641f9b3 (diff)
downloadpleroma-cf19bf3c7c82eb64f10cee309484d9591b1a3cae.tar.gz
pleroma-cf19bf3c7c82eb64f10cee309484d9591b1a3cae.zip
Merge branch 'develop' into issue/1383
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..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..."}]]
+]
```