From 70807a9dcf0fbbd39768779ec8b416c78e6804f8 Mon Sep 17 00:00:00 2001 From: Sonarr Date: Sat, 27 Jan 2024 05:58:00 +0000 Subject: [PATCH] Automated API Docs update ignore-downstream --- src/Sonarr.Api.V3/openapi.json | 121 +++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) diff --git a/src/Sonarr.Api.V3/openapi.json b/src/Sonarr.Api.V3/openapi.json index 51fbfb3b2..ee63aefa5 100644 --- a/src/Sonarr.Api.V3/openapi.json +++ b/src/Sonarr.Api.V3/openapi.json @@ -2956,6 +2956,101 @@ } } }, + "/api/v3/config/importlist": { + "get": { + "tags": [ + "ImportListConfig" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListConfigResource" + } + } + } + } + } + } + }, + "/api/v3/config/importlist/{id}": { + "put": { + "tags": [ + "ImportListConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ImportListConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ImportListConfigResource" + } + } + } + } + } + }, + "get": { + "tags": [ + "ImportListConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListConfigResource" + } + } + } + } + } + } + }, "/api/v3/importlistexclusion": { "get": { "tags": [ @@ -8753,6 +8848,23 @@ }, "additionalProperties": false }, + "ImportListConfigResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "listSyncLevel": { + "$ref": "#/components/schemas/ListSyncLevelType" + }, + "listSyncTag": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, "ImportListExclusionResource": { "type": "object", "properties": { @@ -9104,6 +9216,15 @@ }, "additionalProperties": false }, + "ListSyncLevelType": { + "enum": [ + "disabled", + "logOnly", + "keepAndUnmonitor", + "keepAndTag" + ], + "type": "string" + }, "LocalizationLanguageResource": { "type": "object", "properties": {