diff options
author | feld <feld@feld.me> | 2020-07-15 15:22:39 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2020-07-15 15:22:39 +0000 |
commit | 00f9b53f07346d052adab105bde3428c98fc4660 (patch) | |
tree | 67e501144cffd4c3e70f8dc094793c6b2d2fb7b5 /docs/API | |
parent | 0fe36b311c010f9a4bd3c1600ce874c5403a7368 (diff) | |
parent | 34d1d3e93e8642f2b784b5b957551af068c0f7ba (diff) | |
download | pleroma-00f9b53f07346d052adab105bde3428c98fc4660.tar.gz pleroma-00f9b53f07346d052adab105bde3428c98fc4660.zip |
Merge branch 'refactor/notification_settings' into 'develop'
Refactor notification settings
See merge request pleroma/pleroma!2602
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/pleroma_api.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md index b7eee5192..5bd38ad36 100644 --- a/docs/API/pleroma_api.md +++ b/docs/API/pleroma_api.md @@ -287,11 +287,8 @@ See [Admin-API](admin_api.md) * Method `PUT` * Authentication: required * Params: - * `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. + * `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. * Response: JSON. Returns `{"status": "success"}` if the update was successful, otherwise returns `{"error": "error_msg"}` ## `/api/pleroma/healthcheck` |