From f98fffa88803da12ec3623631cbc436c6a5490c7 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sat, 6 Jun 2020 22:51:39 +0200 Subject: [PATCH] /config is now tagged as server to Signed-off-by: Philip Molares --- docs/dev/openapi.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/dev/openapi.yml b/docs/dev/openapi.yml index 606c88bf6..263764b6a 100644 --- a/docs/dev/openapi.yml +++ b/docs/dev/openapi.yml @@ -531,7 +531,7 @@ paths: /config: get: tags: - - config + - server summary: The config of the backend operationId: getConfig responses: @@ -541,6 +541,20 @@ paths: application/json: schema: "$ref": "#/components/schemas/Config" + /status: + get: + tags: + - server + summary: Returns the current status of the CodiMD instance. + operationId: getStatus + description: The data is returned as a JSON object containing the number of notes stored on the server, (distinct) online users and more. + responses: + '200': + description: The server info + content: + application/json: + schema: + "$ref": "#/components/schemas/ServerStatus" components: schemas: UserInfo: