From 3acf31f8c346099612b5350092584c11799db99a Mon Sep 17 00:00:00 2001 From: Mr_B <@r0nin__> Date: Thu, 2 Sep 2021 23:47:00 +0200 Subject: [PATCH] :::: openapi - minor changes - related to logs routes --- doc/admin.openapi.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/doc/admin.openapi.yml b/doc/admin.openapi.yml index bada8ff..1062a52 100644 --- a/doc/admin.openapi.yml +++ b/doc/admin.openapi.yml @@ -735,6 +735,35 @@ paths: error: type: string + /endpoints/{endpoint_UUID}/logs: + get: + summary: List available endpoint logs + tags: + - Endpoints logs + description: > + Use to retrieve logs of an endpoint. Those logs includes filtered in events as well as alerts. + parameters: + - in: path + name: endpoint_UUID + required: true + schema: + type: string + format: uuid + - in: query + name: limit + schema: + type: number + description: Define limit + + responses: + "403": + description: Not Authorized + "200": + description: OK + + + + /endpoints/reports: get: summary: List all endpoints reports