From 32f66922e79da15df6083dae2ae869a3ab054400 Mon Sep 17 00:00:00 2001 From: Sonarr Date: Mon, 2 Dec 2024 00:22:58 +0000 Subject: [PATCH] Automated API Docs update ignore-downstream --- src/Sonarr.Api.V3/openapi.json | 61 +++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 16 deletions(-) diff --git a/src/Sonarr.Api.V3/openapi.json b/src/Sonarr.Api.V3/openapi.json index 95af4db2a..6ac128ffd 100644 --- a/src/Sonarr.Api.V3/openapi.json +++ b/src/Sonarr.Api.V3/openapi.json @@ -7049,7 +7049,33 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SeriesResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SeriesResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SeriesResource" + } + } + } + } } } } @@ -9084,6 +9110,9 @@ "backupRetention": { "type": "integer", "format": "int32" + }, + "trustCgnatIpAddresses": { + "type": "boolean" } }, "additionalProperties": false @@ -9354,6 +9383,19 @@ ], "type": "string" }, + "ImportRejectionResource": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/RejectionType" + } + }, + "additionalProperties": false + }, "IndexerBulkResource": { "type": "object", "properties": { @@ -9810,7 +9852,7 @@ "rejections": { "type": "array", "items": { - "$ref": "#/components/schemas/Rejection" + "$ref": "#/components/schemas/ImportRejectionResource" }, "nullable": true } @@ -9907,7 +9949,7 @@ "rejections": { "type": "array", "items": { - "$ref": "#/components/schemas/Rejection" + "$ref": "#/components/schemas/ImportRejectionResource" }, "nullable": true } @@ -11035,19 +11077,6 @@ }, "additionalProperties": false }, - "Rejection": { - "type": "object", - "properties": { - "reason": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/RejectionType" - } - }, - "additionalProperties": false - }, "RejectionType": { "enum": [ "permanent",