aboutsummaryrefslogtreecommitdiff
path: root/docs/API/differences_in_mastoapi_responses.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/differences_in_mastoapi_responses.md
parent108a39c8766402dcbd0235d8746e2100a18e5813 (diff)
parentd9e2bd8f40b7d77713a72ef94da2fbe8ffa75b91 (diff)
downloadpleroma-d770cffce0aec0eeb427c8851437f04329700da9.tar.gz
Merge branch 'develop' into issue/1280
Diffstat (limited to 'docs/API/differences_in_mastoapi_responses.md')
-rw-r--r--docs/API/differences_in_mastoapi_responses.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md
index bb62ed5f2..030660b34 100644
--- a/docs/API/differences_in_mastoapi_responses.md
+++ b/docs/API/differences_in_mastoapi_responses.md
@@ -29,6 +29,7 @@ Has these additional fields under the `pleroma` object:
- `spoiler_text`: a map consisting of alternate representations of the `spoiler_text` property with the key being it's mimetype. Currently the only alternate representation supported is `text/plain`
- `expires_at`: a datetime (iso8601) that states when the post will expire (be deleted automatically), or empty if the post won't expire
- `thread_muted`: true if the thread the post belongs to is muted
+- `emoji_reactions`: A list with emoji / reaction maps. The format is {emoji: "☕", count: 1}. Contains no information about the reacting users, for that use the `emoji_reactions_by` endpoint.
## Attachments
@@ -100,6 +101,14 @@ The `type` value is `move`. Has an additional field:
- `target`: new account
+### EmojiReaction Notification
+
+The `type` value is `pleroma:emoji_reaction`. Has these fields:
+
+- `emoji`: The used emoji
+- `account`: The account of the user who reacted
+- `status`: The status that was reacted on
+
## GET `/api/v1/notifications`
Accepts additional parameters: