|
|
|
@ -2252,6 +2252,54 @@ paths:
|
|
|
|
|
responses:
|
|
|
|
|
'204':
|
|
|
|
|
description: 'Flushed cache'
|
|
|
|
|
/settings/logs:
|
|
|
|
|
get:
|
|
|
|
|
summary: Returns logs
|
|
|
|
|
description: Returns list of all log items and details
|
|
|
|
|
tags:
|
|
|
|
|
- settings
|
|
|
|
|
parameters:
|
|
|
|
|
- in: query
|
|
|
|
|
name: take
|
|
|
|
|
schema:
|
|
|
|
|
type: number
|
|
|
|
|
nullable: true
|
|
|
|
|
example: 25
|
|
|
|
|
- in: query
|
|
|
|
|
name: skip
|
|
|
|
|
schema:
|
|
|
|
|
type: number
|
|
|
|
|
nullable: true
|
|
|
|
|
example: 0
|
|
|
|
|
- in: query
|
|
|
|
|
name: filter
|
|
|
|
|
schema:
|
|
|
|
|
type: string
|
|
|
|
|
nullable: true
|
|
|
|
|
enum: [debug, info, warn, error]
|
|
|
|
|
default: debug
|
|
|
|
|
responses:
|
|
|
|
|
'200':
|
|
|
|
|
description: Server log returned
|
|
|
|
|
content:
|
|
|
|
|
application/json:
|
|
|
|
|
schema:
|
|
|
|
|
type: array
|
|
|
|
|
items:
|
|
|
|
|
type: object
|
|
|
|
|
properties:
|
|
|
|
|
label:
|
|
|
|
|
type: string
|
|
|
|
|
example: server
|
|
|
|
|
level:
|
|
|
|
|
type: string
|
|
|
|
|
example: info
|
|
|
|
|
message:
|
|
|
|
|
type: string
|
|
|
|
|
example: Server ready on port 5055
|
|
|
|
|
timestamp:
|
|
|
|
|
type: string
|
|
|
|
|
example: 2020-12-15T16:20:00.069Z
|
|
|
|
|
/settings/notifications:
|
|
|
|
|
get:
|
|
|
|
|
summary: Return notification settings
|
|
|
|
|