From cca8155894551f6077f45cce421d1ee6417461f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 30 Jun 2022 19:18:52 +0200 Subject: [PATCH] OAPI: add 204 as "nothing rendered" response to `fetchJobLastRenderedInfo` Add a "204 No Content" response to the `fetchJobLastRenderedInfo` operation, indicating that there is no rendered output yet. --- pkg/api/flamenco-openapi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/api/flamenco-openapi.yaml b/pkg/api/flamenco-openapi.yaml index 85b136c4..f9f96d23 100644 --- a/pkg/api/flamenco-openapi.yaml +++ b/pkg/api/flamenco-openapi.yaml @@ -481,6 +481,8 @@ paths: content: application/json: schema: { $ref: "#/components/schemas/JobLastRenderedImageInfo" } + "204": + description: This job doesn't have any last-rendered image. /api/jobs/{job_id}/setstatus: summary: Request a status change for the given job.