From aaed1e0589818febb4ceeb2fd558d9cffe043dc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 17 Jun 2022 11:33:00 +0200 Subject: [PATCH] OAPI: include task failure list in Task schema Include the list of workers who failed this task in the `Task` schema. --- pkg/api/flamenco-openapi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/api/flamenco-openapi.yaml b/pkg/api/flamenco-openapi.yaml index 886c0fcd..ad2212af 100644 --- a/pkg/api/flamenco-openapi.yaml +++ b/pkg/api/flamenco-openapi.yaml @@ -1111,6 +1111,9 @@ components: type: string format: date-time description: Timestamp of when any worker worked on this task. + "failed_by_workers": + type: array + items: { $ref: "#/components/schemas/TaskWorker" } required: - id - created @@ -1125,6 +1128,7 @@ components: TaskWorker: type: object + description: Worker reference, as used in Task objects. properties: "id": { type: string, format: uuid } "name": { type: string }