diff options
author | Alex Gleason <alex@alexgleason.me> | 2020-07-26 15:46:14 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2020-07-26 15:46:14 -0500 |
commit | 6931dbfa582f0e5360e74dffdceee1b9ed564b17 (patch) | |
tree | 1504bbc09a53d5c117ffc671b9816ddf30e075cf /docs/API | |
parent | 15f8921b111bc38d0d9eb9ccd1fd09e41cdbc85e (diff) | |
parent | a7616dec8c43309975cbdfcdd6a1808b56aa66e6 (diff) | |
download | pleroma-6931dbfa582f0e5360e74dffdceee1b9ed564b17.tar.gz |
Merge remote-tracking branch 'upstream/develop' into by-approval
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 1 | ||||
-rw-r--r-- | docs/API/pleroma_api.md | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md index c4a9c6dad..38865dc68 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -236,6 +236,7 @@ Has theses additional parameters (which are the same as in Pleroma-API): - `pleroma.metadata.features`: A list of supported features - `pleroma.metadata.federation`: The federation restrictions of this instance - `pleroma.metadata.fields_limits`: A list of values detailing the length and count limitation for various instance-configurable fields. +- `pleroma.metadata.post_formats`: A list of the allowed post format types - `vapid_public_key`: The public key needed for push messages ## Markers 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` |