support for with_relationships parameter

in /api/v1/mutes and /api/v1/accounts/:id endpoints
This commit is contained in:
Alexander Strizhakov 2021-01-29 08:41:21 +03:00
commit c369d2b930
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
5 changed files with 155 additions and 11 deletions

View file

@ -48,7 +48,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Mastodon API: User and conversation mutes can now auto-expire if `expires_in` parameter was given while adding the mute.
- Admin API: An endpoint to manage frontends.
- Streaming API: Add follow relationships updates.
- WebPush: Introduce `pleroma:chat_mention` and `pleroma:emoji_reaction` notification types
- WebPush: Introduce `pleroma:chat_mention` and `pleroma:emoji_reaction` notification types.
- Mastodon API: `/api/v1/accounts/:id` & `/api/v1/mutes` endpoints accept `with_relationships` parameter and return filled `pleroma.relationship` field.
</details>
### Fixed