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.
This commit is contained in:
Sybren A. Stüvel 2022-06-30 19:18:52 +02:00
parent 84d598c813
commit cca8155894

@ -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.