Refactor notification settings
This commit is contained in:
parent
089d72d2e6
commit
9eea800026
8 changed files with 41 additions and 66 deletions
|
|
@ -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"}`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue