diff --git a/src/Lidarr.Api.V1/openapi.json b/src/Lidarr.Api.V1/openapi.json index aa80dde85..dee572a44 100644 --- a/src/Lidarr.Api.V1/openapi.json +++ b/src/Lidarr.Api.V1/openapi.json @@ -2031,6 +2031,53 @@ } } }, + "/api/v1/downloadclient/bulk": { + "put": { + "tags": [ + "DownloadClient" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DownloadClientBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DownloadClientResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "DownloadClient" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DownloadClientBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v1/downloadclient/schema": { "get": { "tags": [ @@ -2855,6 +2902,53 @@ } } }, + "/api/v1/importlist/bulk": { + "put": { + "tags": [ + "ImportList" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "ImportList" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v1/importlist/schema": { "get": { "tags": [ @@ -3305,6 +3399,53 @@ } } }, + "/api/v1/indexer/bulk": { + "put": { + "tags": [ + "Indexer" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IndexerBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IndexerResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Indexer" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IndexerBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v1/indexer/schema": { "get": { "tags": [ @@ -5578,7 +5719,7 @@ } }, { - "name": "skipReDownload", + "name": "skipRedownload", "in": "query", "schema": { "type": "boolean", @@ -5616,7 +5757,7 @@ } }, { - "name": "skipReDownload", + "name": "skipRedownload", "in": "query", "schema": { "type": "boolean", @@ -9242,6 +9383,48 @@ }, "additionalProperties": false }, + "DownloadClientBulkResource": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "tags": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "applyTags": { + "$ref": "#/components/schemas/ApplyTags" + }, + "enable": { + "type": "boolean", + "nullable": true + }, + "priority": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "removeCompletedDownloads": { + "type": "boolean", + "nullable": true + }, + "removeFailedDownloads": { + "type": "boolean", + "nullable": true + } + }, + "additionalProperties": false + }, "DownloadClientConfigResource": { "type": "object", "properties": { @@ -9498,6 +9681,10 @@ }, "nullable": true }, + "customFormatScore": { + "type": "integer", + "format": "int32" + }, "qualityCutoffNotMet": { "type": "boolean" }, @@ -9776,6 +9963,44 @@ }, "additionalProperties": false }, + "ImportListBulkResource": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "tags": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "applyTags": { + "$ref": "#/components/schemas/ApplyTags" + }, + "enableAutomaticAdd": { + "type": "boolean", + "nullable": true + }, + "rootFolderPath": { + "type": "string", + "nullable": true + }, + "qualityProfileId": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false + }, "ImportListExclusionResource": { "type": "object", "properties": { @@ -9905,6 +10130,48 @@ ], "type": "string" }, + "IndexerBulkResource": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "tags": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "applyTags": { + "$ref": "#/components/schemas/ApplyTags" + }, + "enableRss": { + "type": "boolean", + "nullable": true + }, + "enableAutomaticSearch": { + "type": "boolean", + "nullable": true + }, + "enableInteractiveSearch": { + "type": "boolean", + "nullable": true + }, + "priority": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false + }, "IndexerConfigResource": { "type": "object", "properties": { @@ -12349,6 +12616,14 @@ }, "nullable": true }, + "artistIds": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, "indexerIds": { "type": "array", "items": { @@ -12357,7 +12632,7 @@ }, "nullable": true }, - "artistIds": { + "downloadClientIds": { "type": "array", "items": { "type": "integer",