WIP: 103268-job-task-progress #104185
@ -2153,6 +2153,24 @@ components:
|
|||||||
"activity": { type: string }
|
"activity": { type: string }
|
||||||
required: [id, job_id, name, updated, status, activity]
|
required: [id, job_id, name, updated, status, activity]
|
||||||
|
|
||||||
|
SocketIOTaskProgressUpdate:
|
||||||
|
type: object
|
||||||
|
description: >
|
||||||
|
Task progress, sent to a SocketIO room when progress of a task changes.
|
||||||
|
properties:
|
||||||
|
"id":
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
description: UUID of the Task
|
||||||
|
"job_id": { type: string, format: uuid }
|
||||||
|
"progress":
|
||||||
|
type: integer
|
||||||
|
minimum: 0
|
||||||
|
maximum: 100
|
||||||
|
description: >
|
||||||
|
Indicates the percentage of the task that's been completed.
|
||||||
|
required: [id, job_id, progress]
|
||||||
|
|
||||||
SocketIOTaskLogUpdate:
|
SocketIOTaskLogUpdate:
|
||||||
type: object
|
type: object
|
||||||
description: >
|
description: >
|
||||||
|
Loading…
Reference in New Issue
Block a user