Merge branch 'openapi/pleroma-api/mascot' into 'develop'
Add OpenAPI spec for MascotController See merge request pleroma/pleroma!2553
This commit is contained in:
commit
58ccd2bbfd
4 changed files with 101 additions and 10 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue