mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -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:
|
||||
'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