mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 21:24: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
feb42b6d63
commit
b0b9b75e65
1 changed files with 7 additions and 0 deletions
|
@ -471,6 +471,13 @@ paths:
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: The image was uploaded successfully.
|
description: The image was uploaded successfully.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
link:
|
||||||
|
type: string
|
||||||
'401':
|
'401':
|
||||||
"$ref": "#/components/responses/UnauthorizedError"
|
"$ref": "#/components/responses/UnauthorizedError"
|
||||||
'403':
|
'403':
|
||||||
|
|
Loading…
Reference in a new issue