summaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-07-16 08:53:21 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-07-16 08:53:21 +0300
commit6c59fe259d3d8eccc4102baaac64baf2aff301cb (patch)
treeb950bca418d5d12772d1aed1226731f7e23d166c /docs/API
parent4e0e19a7060da9f3eb06ffb0bdb816c7dedb720b (diff)
parent3a2b2cb6f2d6ce39ae0d246649189c021c535992 (diff)
downloadpleroma-6c59fe259d3d8eccc4102baaac64baf2aff301cb.tar.gz
pleroma-6c59fe259d3d8eccc4102baaac64baf2aff301cb.zip
Merge branch 'develop' into issue/1023
Diffstat (limited to 'docs/API')
-rw-r--r--docs/API/pleroma_api.md7
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`