Extend MastoAPI to provide attachment mimetypes

This commit is contained in:
rinpatch 2019-03-15 11:58:12 +03:00
commit d7a34b604b
3 changed files with 10 additions and 2 deletions

View file

@ -20,6 +20,12 @@ Has these additional fields under the `pleroma` object:
- `local`: true if the post was made on the local instance.
## Attachments
Has these additional fields under the `pleroma` object:
- `mime_type`: mime type of the attachment.
## Accounts
- `/api/v1/accounts/:id`: The `id` parameter can also be the `nickname` of the user. This only works in this endpoint, not the deeper nested ones for following etc.