OAPI: Allow explicit SocketIO subscription to "all jobs"
When the web interface is showing the Workers list, it should no longer get updates about jobs. A new subscription type `allJobs` is added, and the `uuid` field of the subscription is no longer mandatory.
This commit is contained in:
parent
cd35e3a5cb
commit
221ed17fa2
@ -1385,7 +1385,7 @@ components:
|
||||
type: string
|
||||
format: uuid
|
||||
description: UUID of the thing to subscribe to / unsubscribe from.
|
||||
required: [op, type, uuid]
|
||||
required: [op, type]
|
||||
|
||||
SocketIOSubscriptionOperation:
|
||||
type: string
|
||||
@ -1393,7 +1393,7 @@ components:
|
||||
|
||||
SocketIOSubscriptionType:
|
||||
type: string
|
||||
enum: [job, tasklog]
|
||||
enum: [allJobs, job, tasklog]
|
||||
description: What kind of thing to subscribe to / unsubscribe from.
|
||||
|
||||
# Worker Management
|
||||
|
Loading…
x
Reference in New Issue
Block a user