From a137ecd3cdf226efad3c803737b9849d5e04234e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 21 Feb 2024 22:12:43 +0100 Subject: [PATCH] OAPI: add lifecycle events Add events for manager-startup and manager-shutdown. --- pkg/api/flamenco-openapi.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg/api/flamenco-openapi.yaml b/pkg/api/flamenco-openapi.yaml index eaa52277..a3f73671 100644 --- a/pkg/api/flamenco-openapi.yaml +++ b/pkg/api/flamenco-openapi.yaml @@ -2375,6 +2375,18 @@ components: description: When a tag was just deleted, this is set to `true`. required: [tag] + EventLifeCycle: + type: object + description: > + Flamenco life-cycle event, for things like shutting down, starting up, etc. + properties: + "type": { $ref: "#/components/schemas/LifeCycleEventType" } + required: [type] + + LifeCycleEventType: + type: string + enum: [manager-startup, manager-shutdown] + SocketIOSubscription: type: object description: >