projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ec2f1
)
Document the API extensions for push subscriptions
author
Mark Felder
<feld@FreeBSD.org>
Tue, 17 Nov 2020 19:05:36 +0000
(19:05 +0000)
committer
Mark Felder
<feld@FreeBSD.org>
Tue, 17 Nov 2020 20:20:00 +0000
(20:20 +0000)
docs/API/differences_in_mastoapi_responses.md
patch
|
blob
|
history
diff --git
a/docs/API/differences_in_mastoapi_responses.md
b/docs/API/differences_in_mastoapi_responses.md
index 17999da551cf281c798a8bb76ae4d2a4e9eebbe6..4f0fe86e5cbb1d53d00cb6f9711c3b4151ad3a94 100644
(file)
--- 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: