aboutsummaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2019-11-07 03:00:21 +0300
committereugenijm <eugenijm@protonmail.com>2019-11-07 08:26:24 +0300
commit7888803ffed428438ed107d35a856647a46b347d (patch)
tree31a82ba5fcdbde2e3f045b295764916e7c90ae5d /docs/API
parent9f9c3c4fbe4a2f95227bc4b32ea8961c4f699ecf (diff)
downloadpleroma-7888803ffed428438ed107d35a856647a46b347d.tar.gz
Mastodon API: Add the `recipients` parameter to `GET /api/v1/conversations`
Diffstat (limited to 'docs/API')
-rw-r--r--docs/API/differences_in_mastoapi_responses.md6
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: