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
1 changed files with 1 additions and 1 deletions

View File

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