aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-11-17 19:05:36 +0000
committerMark Felder <feld@FreeBSD.org>2020-11-17 20:20:00 +0000
commit1433d3c59c2053244b9f570516a80e949f5fb10d (patch)
tree580a6e1b7e1dab3a4e9be7c28a092023270bd31a
parent83ec2f1384611c385e79ddfd23566ddc173a8a4a (diff)
downloadpleroma-1433d3c59c2053244b9f570516a80e949f5fb10d.tar.gz
Document the API extensions for push subscriptions
-rw-r--r--docs/API/differences_in_mastoapi_responses.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md
index 17999da55..4f0fe86e5 100644
--- a/docs/API/differences_in_mastoapi_responses.md
+++ b/docs/API/differences_in_mastoapi_responses.md
@@ -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: