From 3ccfc9bbb7c1e1df141b544af3b04e4e67e6f113 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Mon, 12 Oct 2020 21:51:09 +0200 Subject: [PATCH] Public API: /media/upload returns the URL of the uploaded file Signed-off-by: David Mehren --- docs/dev/public_api.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/dev/public_api.yml b/docs/dev/public_api.yml index c6312844d..181b80a10 100644 --- a/docs/dev/public_api.yml +++ b/docs/dev/public_api.yml @@ -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':