aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-18 17:37:54 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-20 13:18:12 +0300
commit98a60df41f8a053005a2a413b552a582a879ecaa (patch)
tree1ef9b7f87e3ecc0e0469842701164b206743f4b7 /docs
parent952cb589f47972bba8f9b94b2935a60f05e21bd3 (diff)
downloadpleroma-98a60df41f8a053005a2a413b552a582a879ecaa.tar.gz
include_types parameter in /api/v1/notifications
Diffstat (limited to 'docs')
-rw-r--r--docs/API/differences_in_mastoapi_responses.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md
index b12d3092c..dc8f54d2a 100644
--- a/docs/API/differences_in_mastoapi_responses.md
+++ b/docs/API/differences_in_mastoapi_responses.md
@@ -117,6 +117,7 @@ The `type` value is `pleroma:emoji_reaction`. Has these fields:
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`.
+- `include_types`: will include the notifications for activities with the given types. The parameter accepts an array of types (`mention`, `follow`, `reblog`, `favourite`, `move`, `pleroma:emoji_reaction`). Usage example: `GET /api/v1/notifications?include_types[]=mention&include_types[]=reblog`.
## POST `/api/v1/statuses`