From b1df9b2401e0e2d593dc681b5292b7a3b8adca85 Mon Sep 17 00:00:00 2001 From: Servarr Date: Mon, 4 Nov 2024 13:16:19 +0000 Subject: [PATCH] Automated API Docs update --- src/Radarr.Api.V3/openapi.json | 35 ++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/src/Radarr.Api.V3/openapi.json b/src/Radarr.Api.V3/openapi.json index 80b72ce54..163432767 100644 --- a/src/Radarr.Api.V3/openapi.json +++ b/src/Radarr.Api.V3/openapi.json @@ -6569,8 +6569,21 @@ "name": "quality", "in": "query", "schema": { - "type": "integer", - "format": "int32" + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + } + }, + { + "name": "status", + "in": "query", + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/QueueStatus" + } } } ], @@ -11676,8 +11689,7 @@ "nullable": true }, "status": { - "type": "string", - "nullable": true + "$ref": "#/components/schemas/QueueStatus" }, "trackedDownloadStatus": { "$ref": "#/components/schemas/TrackedDownloadStatus" @@ -11753,6 +11765,21 @@ }, "additionalProperties": false }, + "QueueStatus": { + "enum": [ + "unknown", + "queued", + "paused", + "downloading", + "completed", + "failed", + "warning", + "delay", + "downloadClientUnavailable", + "fallback" + ], + "type": "string" + }, "QueueStatusResource": { "type": "object", "properties": {