mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
Public API: /media/upload returns the URL of the uploaded file
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
139e1156da
commit
3ccfc9bbb7
1 changed files with 7 additions and 0 deletions
|
@ -471,6 +471,13 @@ paths:
|
|||
responses:
|
||||
'200':
|
||||
description: The image was uploaded successfully.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
link:
|
||||
type: string
|
||||
'401':
|
||||
"$ref": "#/components/responses/UnauthorizedError"
|
||||
'403':
|
||||
|
|
Loading…
Reference in a new issue