mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-31 15:18:38 -04:00
Added serverVersion to status by using SemVer
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
71158f93dc
commit
0ec8d61669
1 changed files with 14 additions and 0 deletions
|
@ -755,6 +755,20 @@ components:
|
||||||
ServerStatus:
|
ServerStatus:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
serverVersion:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
major:
|
||||||
|
type: integer
|
||||||
|
minor:
|
||||||
|
type: integer
|
||||||
|
patch:
|
||||||
|
type: integer
|
||||||
|
preRelease:
|
||||||
|
type: string
|
||||||
|
commit:
|
||||||
|
type: string
|
||||||
|
description: Version of the server specified according to SemVer specification
|
||||||
onlineNotes:
|
onlineNotes:
|
||||||
type: integer
|
type: integer
|
||||||
description: How many notes are edited at the moment.
|
description: How many notes are edited at the moment.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue