You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.6 KiB
YAML
75 lines
2.6 KiB
YAML
get:
|
|
tags:
|
|
- admin
|
|
summary: Get administrative dashboard
|
|
responses:
|
|
"200":
|
|
description: A JSON object containing dashboard data
|
|
content:
|
|
application/json:
|
|
schema:
|
|
allOf:
|
|
- type: object
|
|
properties:
|
|
version:
|
|
type: string
|
|
lookupFailed:
|
|
type: boolean
|
|
latestVersion:
|
|
type: string
|
|
nullable: true
|
|
upgradeAvailable:
|
|
type: boolean
|
|
nullable: true
|
|
currentPrerelease:
|
|
type: boolean
|
|
notices:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
done:
|
|
type: boolean
|
|
doneText:
|
|
type: string
|
|
notDoneText:
|
|
type: string
|
|
tooltip:
|
|
type: string
|
|
link:
|
|
type: string
|
|
required:
|
|
- done
|
|
canRestart:
|
|
type: boolean
|
|
lastrestart:
|
|
nullable: true
|
|
type: object
|
|
properties:
|
|
uid:
|
|
type: number
|
|
description: A user identifier
|
|
ip:
|
|
type: string
|
|
timestamp:
|
|
type: number
|
|
user:
|
|
$ref: ../../components/schemas/UserObject.yaml#/UserObject
|
|
timestampISO:
|
|
type: string
|
|
description: An ISO 8601 formatted date string (complementing `timestamp`)
|
|
showSystemControls:
|
|
type: boolean
|
|
popularSearches:
|
|
type: array
|
|
items:
|
|
type: object
|
|
properties:
|
|
value:
|
|
type: string
|
|
description: The search term
|
|
score:
|
|
type: number
|
|
description: How many times it has been queried
|
|
- $ref: ../../components/schemas/admin/dashboard.yaml#/Stats
|
|
- $ref: ../../components/schemas/CommonProps.yaml#/CommonProps |