diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-05-28 10:16:09 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-05-28 10:16:09 -0500 |
commit | 9eea80002673eb1359a2d4369c65a89c42c2f707 (patch) | |
tree | 9be8d8041606909c9374e8fb323cf089d918f282 /docs | |
parent | 089d72d2e6bb1f3c3674162c5c9a7c4988241358 (diff) | |
download | pleroma-9eea80002673eb1359a2d4369c65a89c42c2f707.tar.gz |
Refactor notification settings
Diffstat (limited to 'docs')
-rw-r--r-- | docs/API/pleroma_api.md | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md index 70d4755b7..2cb0792db 100644 --- a/docs/API/pleroma_api.md +++ b/docs/API/pleroma_api.md @@ -287,10 +287,9 @@ 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 + * `from_followers`: BOOLEAN field, receives notifications from followers + * `from_following`: BOOLEAN field, receives notifications from people the user follows + * `from_strangers`: BOOLEAN field, receives notifications from people without an established relationship * `privacy_option`: 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"}` |