From bb6c068d918859933fb711e46cccf0f639dc3f4e Mon Sep 17 00:00:00 2001 From: Servarr Date: Thu, 14 Apr 2022 00:58:41 +0000 Subject: [PATCH] Automated API Docs update --- src/Prowlarr.Api.V1/openapi.json | 89 ++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/src/Prowlarr.Api.V1/openapi.json b/src/Prowlarr.Api.V1/openapi.json index 0995a4529..35a0c0207 100644 --- a/src/Prowlarr.Api.V1/openapi.json +++ b/src/Prowlarr.Api.V1/openapi.json @@ -4559,6 +4559,14 @@ ], "type": "string" }, + "BookSearchParam": { + "enum": [ + "q", + "title", + "author" + ], + "type": "string" + }, "CertificateValidationType": { "enum": [ "enabled", @@ -5259,6 +5267,44 @@ "$ref": "#/components/schemas/IndexerCategory" }, "nullable": true + }, + "supportsRawSearch": { + "type": "boolean" + }, + "searchParams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SearchParam" + }, + "nullable": true + }, + "tvSearchParams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TvSearchParam" + }, + "nullable": true + }, + "movieSearchParams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MovieSearchParam" + }, + "nullable": true + }, + "musicSearchParams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MusicSearchParam" + }, + "nullable": true + }, + "bookSearchParams": { + "type": "array", + "items": { + "$ref": "#/components/schemas/BookSearchParam" + }, + "nullable": true } }, "additionalProperties": false @@ -5748,6 +5794,29 @@ }, "additionalProperties": false }, + "MovieSearchParam": { + "enum": [ + "q", + "imdbId", + "tmdbId", + "imdbTitle", + "imdbYear", + "traktId", + "genre" + ], + "type": "string" + }, + "MusicSearchParam": { + "enum": [ + "q", + "album", + "artist", + "label", + "year", + "genre" + ], + "type": "string" + }, "NotificationResource": { "type": "object", "properties": { @@ -5992,6 +6061,12 @@ }, "additionalProperties": false }, + "SearchParam": { + "enum": [ + "q" + ], + "type": "string" + }, "SelectOption": { "type": "object", "properties": { @@ -6176,6 +6251,20 @@ }, "additionalProperties": false }, + "TvSearchParam": { + "enum": [ + "q", + "season", + "ep", + "imdbId", + "tvdbId", + "rId", + "tvMazeId", + "traktId", + "tmdbId" + ], + "type": "string" + }, "UiConfigResource": { "type": "object", "properties": {