summaryrefslogtreecommitdiff
path: root/docs/API/pleroma_api.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-01-22 13:58:02 +0100
committerlain <lain@soykaf.club>2020-01-22 13:58:02 +0100
commit043cd5aa5458bb5b2ae0b44e475db59c195bec24 (patch)
tree7babda3ea52cd901973414b763851e95442c6239 /docs/API/pleroma_api.md
parentdd3fc50ea41871c6c02076cf2786c2488d4cf3ca (diff)
downloadpleroma-043cd5aa5458bb5b2ae0b44e475db59c195bec24.tar.gz
pleroma-043cd5aa5458bb5b2ae0b44e475db59c195bec24.zip
Emoji reactions: Document changes
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..."}]]
+]
```