Document the API extensions for push subscriptions
authorMark Felder <feld@FreeBSD.org>
Tue, 17 Nov 2020 19:05:36 +0000 (19:05 +0000)
committerMark Felder <feld@FreeBSD.org>
Tue, 17 Nov 2020 20:20:00 +0000 (20:20 +0000)
docs/API/differences_in_mastoapi_responses.md

index 17999da551cf281c798a8bb76ae4d2a4e9eebbe6..4f0fe86e5cbb1d53d00cb6f9711c3b4151ad3a94 100644 (file)
@@ -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: