mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 11:43:59 -05:00
/config is now tagged as server to
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
3cb60fbc11
commit
3561da0457
1 changed files with 15 additions and 1 deletions
|
@ -531,7 +531,7 @@ paths:
|
||||||
/config:
|
/config:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- config
|
- server
|
||||||
summary: The config of the backend
|
summary: The config of the backend
|
||||||
operationId: getConfig
|
operationId: getConfig
|
||||||
responses:
|
responses:
|
||||||
|
@ -541,6 +541,20 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
"$ref": "#/components/schemas/Config"
|
"$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:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
UserInfo:
|
UserInfo:
|
||||||
|
|
Loading…
Reference in a new issue