summaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2019-12-09 19:41:43 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2019-12-09 19:41:43 +0300
commit2b821036c4bd84cee51c9fcace5a4b3764c3bba1 (patch)
tree811d75ef4b0442f3f2102d873fab4e10c777e7f1 /docs/API
parent5876a9cb79e53f932d63e457610852031669a222 (diff)
parent0d2c13a119302d0d217a7cb61c28a01c620b1b61 (diff)
downloadpleroma-2b821036c4bd84cee51c9fcace5a4b3764c3bba1.tar.gz
pleroma-2b821036c4bd84cee51c9fcace5a4b3764c3bba1.zip
Merge branch 'develop' into issue/1383
Diffstat (limited to 'docs/API')
-rw-r--r--docs/API/differences_in_mastoapi_responses.md1
-rw-r--r--docs/API/pleroma_api.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md
index 006d17c1b..566789ec7 100644
--- a/docs/API/differences_in_mastoapi_responses.md
+++ b/docs/API/differences_in_mastoapi_responses.md
@@ -103,6 +103,7 @@ The `type` value is `move`. Has an additional field:
Accepts additional parameters:
- `exclude_visibilities`: will exclude the notifications for activities with the given visibilities. The parameter accepts an array of visibility types (`public`, `unlisted`, `private`, `direct`). Usage example: `GET /api/v1/notifications?exclude_visibilities[]=direct&exclude_visibilities[]=private`.
+- `with_move`: boolean, when set to `true` will include Move notifications. `false` by default.
## POST `/api/v1/statuses`
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md
index ad16d027e..7228d805b 100644
--- a/docs/API/pleroma_api.md
+++ b/docs/API/pleroma_api.md
@@ -302,6 +302,7 @@ See [Admin-API](admin_api.md)
* `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.
* Response: JSON. Returns `{"status": "success"}` if the update was successful, otherwise returns `{"error": "error_msg"}`
## `/api/pleroma/healthcheck`