diff --git a/pkg/api/flamenco-openapi.yaml b/pkg/api/flamenco-openapi.yaml index f5fee0c0..542fce90 100644 --- a/pkg/api/flamenco-openapi.yaml +++ b/pkg/api/flamenco-openapi.yaml @@ -1987,6 +1987,7 @@ components: "supported_task_types": type: array items: { type: string } + "task": { $ref: "#/components/schemas/WorkerTask" } required: - id - name @@ -1996,6 +1997,14 @@ components: - version - supported_task_types + WorkerTask: + description: Task assigned to a Worker. + allOf: + - $ref: "#/components/schemas/TaskSummary" + - properties: + "job_id": { type: string, format: uuid } + required: [job_id] + WorkerStatusChangeRequest: type: object description: Request for a Worker to change its status to `status`.