Mastodon API: Add the recipients parameter to GET /api/v1/conversations

This commit is contained in:
eugenijm 2019-11-07 03:00:21 +03:00
commit 7888803ffe
4 changed files with 88 additions and 0 deletions

View file

@ -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: