From 018e019d91738607e64f6429b33679fffed21c82 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Tue, 23 Jul 2019 15:05:23 +0200 Subject: [PATCH] Update Docs --- public/docs/api.yml | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/public/docs/api.yml b/public/docs/api.yml index 2df79b2..0bccf4a 100644 --- a/public/docs/api.yml +++ b/public/docs/api.yml @@ -457,6 +457,46 @@ paths: type: integer itemsPerPage: type: integer + post: + tags: + - "apps" + summary: "Create a new APP" + description: "" + produces: + - "application/json" + consumes: + - "multipart/form-data" + - "application/json" + parameters: + - in: formData + name: name + description: "Name of the app" + required: true + type: string + - in: formData + name: description + description: "Description of the App" + required: true + type: string + - in: formData + name: url + description: "App Webpage URL" + required: true + type: string + responses: + 200: + description: "List of Apps" + schema: + type: "object" + properties: + data: + $ref: '#/definitions/AppForOwner' + success: + type: "boolean" + example: true + msg: + type: "string" + example: "" /app/find: get: tags: @@ -711,7 +751,7 @@ paths: type: string description: "Refresh tolen to create a new Access Token" /server/settings: - post: + get: tags: - "server" summary: "Get the Server-Settings"