From 8fb1aff68aa28a50b93fdd7db1012de2891c78a3 Mon Sep 17 00:00:00 2001 From: Servarr Date: Thu, 14 Mar 2024 05:20:24 +0000 Subject: [PATCH] Automated API Docs update --- src/Readarr.Api.V1/openapi.json | 89 +++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/src/Readarr.Api.V1/openapi.json b/src/Readarr.Api.V1/openapi.json index 7e8ba255f..096729c09 100644 --- a/src/Readarr.Api.V1/openapi.json +++ b/src/Readarr.Api.V1/openapi.json @@ -4229,6 +4229,44 @@ } } }, + "/api/v1/indexerflag": { + "get": { + "tags": [ + "IndexerFlag" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IndexerFlagResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IndexerFlagResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/IndexerFlagResource" + } + } + } + } + } + } + } + }, "/api/v1/language": { "get": { "tags": [ @@ -9084,6 +9122,9 @@ "quality": { "$ref": "#/components/schemas/QualityModel" }, + "indexerFlags": { + "$ref": "#/components/schemas/IndexerFlags" + }, "mediaInfo": { "$ref": "#/components/schemas/MediaInfoModel" }, @@ -9181,6 +9222,11 @@ "type": "integer", "format": "int32" }, + "indexerFlags": { + "type": "integer", + "format": "int32", + "nullable": true + }, "mediaInfo": { "$ref": "#/components/schemas/MediaInfoResource" }, @@ -10897,6 +10943,37 @@ }, "additionalProperties": false }, + "IndexerFlagResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "nameLower": { + "type": "string", + "nullable": true, + "readOnly": true + } + }, + "additionalProperties": false + }, + "IndexerFlags": { + "enum": [ + "freeleech", + "halfleech", + "doubleUpload", + "internal", + "scene", + "freeleech75", + "freeleech25" + ], + "type": "string" + }, "IndexerResource": { "type": "object", "properties": { @@ -11166,6 +11243,10 @@ "type": "string", "nullable": true }, + "indexerFlags": { + "type": "integer", + "format": "int32" + }, "rejections": { "type": "array", "items": { @@ -11224,6 +11305,10 @@ "type": "string", "nullable": true }, + "indexerFlags": { + "type": "integer", + "format": "int32" + }, "downloadId": { "type": "string", "nullable": true @@ -12748,6 +12833,10 @@ "protocol": { "$ref": "#/components/schemas/DownloadProtocol" }, + "indexerFlags": { + "type": "integer", + "format": "int32" + }, "authorId": { "type": "integer", "format": "int32",