OAPI: SocketIO broadcasting for worker tags CUD operations
This commit is contained in:
parent
86cf30e44e
commit
56081e5572
@ -2320,6 +2320,17 @@ components:
|
||||
description: Whether this Worker can auto-restart.
|
||||
required: [id, name, updated, status, version, can_restart]
|
||||
|
||||
SocketIOWorkerTagUpdate:
|
||||
type: object
|
||||
description: >
|
||||
Worker Tag, sent over SocketIO when it changes.
|
||||
properties:
|
||||
"tag": { $ref: "#/components/schemas/WorkerTag" }
|
||||
"was_deleted":
|
||||
type: boolean
|
||||
description: When a tag was just deleted, this is set to `true`.
|
||||
required: [tag]
|
||||
|
||||
SocketIOSubscription:
|
||||
type: object
|
||||
description: >
|
||||
@ -2343,7 +2354,7 @@ components:
|
||||
|
||||
SocketIOSubscriptionType:
|
||||
type: string
|
||||
enum: [allJobs, allWorkers, job, tasklog, allLastRendered]
|
||||
enum: [allJobs, allWorkers, job, tasklog, allLastRendered, allWorkerTags]
|
||||
description: What kind of thing to subscribe to / unsubscribe from.
|
||||
|
||||
# Worker Management
|
||||
|
Loading…
x
Reference in New Issue
Block a user