summaryrefslogtreecommitdiff
path: root/docs/API/differences_in_mastoapi_responses.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-11-18 18:33:48 +0000
committerlain <lain@soykaf.club>2020-11-18 18:33:48 +0000
commitaae669d05ec737f7e895ed0d19f7b0eacf6cd005 (patch)
tree3d1a244162e92a99c1e28f5e2a4829de1eaadeec /docs/API/differences_in_mastoapi_responses.md
parent6b32e1de234a84d0bdbbee5eeb5b2a543f24ce6b (diff)
parent1b63aa0b4f969a404cc354ae45852b551fed61b1 (diff)
downloadpleroma-aae669d05ec737f7e895ed0d19f7b0eacf6cd005.tar.gz
pleroma-aae669d05ec737f7e895ed0d19f7b0eacf6cd005.zip
Merge branch 'fix/webpush-and-emojireact' into 'develop'
Push notifications: add pleroma:emoji_reaction, improve tests Closes #2185 See merge request pleroma/pleroma!3141
Diffstat (limited to 'docs/API/differences_in_mastoapi_responses.md')
-rw-r--r--docs/API/differences_in_mastoapi_responses.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md
index 17999da55..843496482 100644
--- a/docs/API/differences_in_mastoapi_responses.md
+++ b/docs/API/differences_in_mastoapi_responses.md
@@ -233,7 +233,7 @@ Post here request with `grant_type=refresh_token` to obtain new access token. Re
`POST /api/v1/accounts`
-Has theses additional parameters (which are the same as in Pleroma-API):
+Has these additional parameters (which are the same as in Pleroma-API):
- `fullname`: optional
- `bio`: optional
@@ -261,6 +261,16 @@ Has theses additional parameters (which are the same as in Pleroma-API):
- `pleroma.metadata.post_formats`: A list of the allowed post format types
- `vapid_public_key`: The public key needed for push messages
+## Push Subscription
+
+`POST /api/v1/push/subscription`
+`PUT /api/v1/push/subscription`
+
+Permits these additional alert types:
+
+- pleroma:chat_mention
+- pleroma:emoji_reaction
+
## Markers
Has these additional fields under the `pleroma` object: