feat: about page initial version

Adding something to the about page for now, including the app version to better know what versions
of the app people are running
This commit is contained in:
sct
2020-12-15 07:27:30 +00:00
parent ff618956b5
commit 3f2a04c881
8 changed files with 178 additions and 0 deletions

View File

@@ -1478,6 +1478,29 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/DiscordSettings'
/settings/about:
get:
summary: Return current about stats
description: Returns current server stats in JSON format
tags:
- settings
responses:
'200':
description: Returned about settings
content:
application/json:
schema:
type: object
properties:
version:
type: string
example: '1.0.0'
totalRequests:
type: number
example: 100
totalMediaItems:
type: number
example: 100
/auth/me:
get:
summary: Returns the currently logged in user