OAPI: add lifecycle events

Add events for manager-startup and manager-shutdown.
This commit is contained in:
Sybren A. Stüvel 2024-02-21 22:12:43 +01:00
parent e7bd8dff8a
commit a137ecd3cd

View File

@ -2375,6 +2375,18 @@ components:
description: When a tag was just deleted, this is set to `true`. description: When a tag was just deleted, this is set to `true`.
required: [tag] 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: SocketIOSubscription:
type: object type: object
description: > description: >