diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/development/API/differences_in_mastoapi_responses.md | 6 | ||||
-rw-r--r-- | docs/development/API/pleroma_api.md | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/docs/development/API/differences_in_mastoapi_responses.md b/docs/development/API/differences_in_mastoapi_responses.md index a14fcb416..75382bb3c 100644 --- a/docs/development/API/differences_in_mastoapi_responses.md +++ b/docs/development/API/differences_in_mastoapi_responses.md @@ -334,6 +334,12 @@ The message payload consist of: Both user muting and thread muting can be done for only a certain time by adding an `expires_in` parameter to the API calls and giving the expiration time in seconds. +## Subscriptions + +Has additional field in parameters: + +- `pleroma:emoji_reaction`: Receive emoji reaction notifications? + ## Not implemented Pleroma is generally compatible with the Mastodon 2.7.2 API, but some newer features and non-essential features are omitted. These features usually return an HTTP 200 status code, but with an empty response. While they may be added in the future, they are considered low priority. diff --git a/docs/development/API/pleroma_api.md b/docs/development/API/pleroma_api.md index d896f0ce7..9f93494ec 100644 --- a/docs/development/API/pleroma_api.md +++ b/docs/development/API/pleroma_api.md @@ -301,12 +301,20 @@ See [Admin-API](admin_api.md) Can only accept images - any attempt to upload non-image files will be met with `HTTP 415 Unsupported Media Type`. ## `/api/v1/pleroma/notification_settings` + ### Updates user notification settings + * Method `PUT` * Authentication: required * Params: - * `block_from_strangers`: BOOLEAN field, blocks notifications from accounts you do not follow - * `hide_notification_contents`: BOOLEAN field. When set to true, it removes the contents of a message from the push notification. + * `block_from_strangers`: BOOLEAN field, blocks notifications from accounts you do not follow + * `hide_notification_contents`: BOOLEAN field. When set to true, it removes the contents of a message from the push notification. + * `followers`: BOOLEAN field, receives notifications from followers + * `follows`: BOOLEAN field, receives notifications from people the user follows + * `remote`: BOOLEAN field, receives notifications from people on remote instances + * `local`: BOOLEAN field, receives notifications from people on the local instance + * `privacy_option`: BOOLEAN field. When set to true, it removes the contents of a message from the push notification. + * `exclude_types`: ARRAY field. What notification types to exclude. * Response: JSON. Returns `{"status": "success"}` if the update was successful, otherwise returns `{"error": "error_msg"}` ## `/api/v1/pleroma/healthcheck` |