Fix API documentation

This commit is contained in:
Egor Kislitsyn 2020-05-18 22:01:38 +04:00
parent fe5d423b43
commit d4a7577cde
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805

View file

@ -265,7 +265,7 @@ See [Admin-API](admin_api.md)
* Method `PUT`
* Authentication: required
* Params:
* `image`: Multipart image
* `file`: Multipart image
* Response: JSON. Returns a mastodon media attachment entity
when successful, otherwise returns HTTP 415 `{"error": "error_msg"}`
* Example response: