From f020582bf74c5945e09e8687dbbfc354066cb844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 9 Jun 2022 11:59:01 +0200 Subject: [PATCH] OpenAPI: include `last_touched` in `Task` schema Include the timestamp of when a Worker last touched the task in the OpenAPI `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 31e05473..cfb36a6c 100644 --- a/pkg/api/flamenco-openapi.yaml +++ b/pkg/api/flamenco-openapi.yaml @@ -1107,6 +1107,10 @@ components: type: array items: { $ref: "#/components/schemas/Command" } "worker": { $ref: "#/components/schemas/TaskWorker" } + "last_touched": + type: string + format: date-time + description: Timestamp of when any worker worked on this task. required: - id - created