From 3a64a2bc16fac661bbeed6a6eb1f4c9260d9e41e Mon Sep 17 00:00:00 2001 From: sct Date: Wed, 17 Mar 2021 10:29:19 +0000 Subject: [PATCH] deploy: 54429bbc1d765d0e50486a42749f9bbd4e5b3386 --- overseerr-api.yml | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/overseerr-api.yml b/overseerr-api.yml index e436aa628..5d5bc035d 100644 --- a/overseerr-api.yml +++ b/overseerr-api.yml @@ -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