commit: 1433d3c59c2053244b9f570516a80e949f5fb10d
parent 83ec2f1384611c385e79ddfd23566ddc173a8a4a
Author: Mark Felder <feld@FreeBSD.org>
Date: Tue, 17 Nov 2020 19:05:36 +0000
Document the API extensions for push subscriptions
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git 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: