diff options
author | kaniini <ariadne@dereferenced.org> | 2019-11-07 15:13:20 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-11-07 15:13:20 +0000 |
commit | 5bf59f8e66f0c341ee0e667c2d5d78f709f46af8 (patch) | |
tree | 31a82ba5fcdbde2e3f045b295764916e7c90ae5d /docs | |
parent | 9f9c3c4fbe4a2f95227bc4b32ea8961c4f699ecf (diff) | |
parent | 7888803ffed428438ed107d35a856647a46b347d (diff) | |
download | pleroma-5bf59f8e66f0c341ee0e667c2d5d78f709f46af8.tar.gz |
Merge branch 'recipients-filter' into 'develop'
Mastodon API: Add the `recipients` parameter to `GET /api/v1/conversations`
See merge request pleroma/pleroma!1948
Diffstat (limited to 'docs')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md index aca0f5e0e..7fbe17130 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -72,6 +72,12 @@ Has an additional field under the `pleroma` object: - `recipients`: The list of the recipients of this Conversation. These will be addressed when replying to this conversation. +## GET `/api/v1/conversations` + +Accepts additional parameters: + +- `recipients`: Only return conversations with the given recipients (a list of user ids). Usage example: `GET /api/v1/conversations?recipients[]=1&recipients[]=2` + ## Account Search Behavior has changed: |