OAPI: add SocketIOLastRenderedUpdate
for broadcasting last-rendered imgs
`SocketIOLastRenderedUpdate` objects are meant to be broadcast to SocketIO clients (i.e. the web interface). They are sent to the job-specific room, just like task updates.
This commit is contained in:
parent
73e1c1930f
commit
c9500b85c2
@ -1529,6 +1529,14 @@ components:
|
||||
description: Chunk of the task log. May contain multiple lines of text.
|
||||
required: [task_id, log]
|
||||
|
||||
SocketIOLastRenderedUpdate:
|
||||
type: object
|
||||
description: Indicator that the last-rendered image of this job was updated.
|
||||
properties:
|
||||
"job_id": { type: string, format: uuid }
|
||||
"thumbnail": { $ref: "#/components/schemas/JobLastRenderedImageInfo" }
|
||||
required: [job_id, task_id, thumbnail]
|
||||
|
||||
SocketIOWorkerUpdate:
|
||||
type: object
|
||||
description: >
|
||||
|
Loading…
x
Reference in New Issue
Block a user