From 683d261a9106526077392ae1dd751ab01fe33247 Mon Sep 17 00:00:00 2001 From: Servarr Date: Sun, 28 May 2023 17:49:42 +0000 Subject: [PATCH] Automated API Docs update --- src/Radarr.Api.V3/openapi.json | 457 +++++++++++++++++++++++++++++++++ 1 file changed, 457 insertions(+) diff --git a/src/Radarr.Api.V3/openapi.json b/src/Radarr.Api.V3/openapi.json index 368f6a445..7ad886822 100644 --- a/src/Radarr.Api.V3/openapi.json +++ b/src/Radarr.Api.V3/openapi.json @@ -1825,6 +1825,63 @@ } } }, + "/api/v3/downloadclient/bulk": { + "put": { + "tags": [ + "DownloadClient" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DownloadClientBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/DownloadClientResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/DownloadClientResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/DownloadClientResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "DownloadClient" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DownloadClientBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v3/downloadclient/schema": { "get": { "tags": [ @@ -3019,6 +3076,63 @@ } } }, + "/api/v3/importlist/bulk": { + "put": { + "tags": [ + "ImportList" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/ImportListResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/ImportListResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "ImportList" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ImportListBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v3/importlist/schema": { "get": { "tags": [ @@ -3515,6 +3629,63 @@ } } }, + "/api/v3/indexer/bulk": { + "put": { + "tags": [ + "Indexer" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IndexerBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/IndexerResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/IndexerResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/IndexerResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Indexer" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IndexerBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v3/indexer/schema": { "get": { "tags": [ @@ -4443,6 +4614,63 @@ } } }, + "/api/v3/metadata/bulk": { + "put": { + "tags": [ + "Metadata" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MetadataBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/MetadataResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/MetadataResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/MetadataResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Metadata" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MetadataBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v3/metadata/schema": { "get": { "tags": [ @@ -5813,6 +6041,63 @@ } } }, + "/api/v3/notification/bulk": { + "put": { + "tags": [ + "Notification" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotificationBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/NotificationResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotificationResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/NotificationResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "Notification" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotificationBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v3/notification/schema": { "get": { "tags": [ @@ -9163,6 +9448,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": { @@ -9754,6 +10081,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" + }, + "enableAuto": { + "type": "boolean", + "nullable": true + }, + "rootFolderPath": { + "type": "string", + "nullable": true + }, + "profileId": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "additionalProperties": false + }, "ImportListConfigResource": { "type": "object", "properties": { @@ -9873,6 +10238,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": { @@ -10433,6 +10840,31 @@ }, "additionalProperties": false }, + "MetadataBulkResource": { + "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" + } + }, + "additionalProperties": false + }, "MetadataConfigResource": { "type": "object", "properties": { @@ -11201,6 +11633,31 @@ }, "additionalProperties": false }, + "NotificationBulkResource": { + "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" + } + }, + "additionalProperties": false + }, "NotificationResource": { "type": "object", "properties": {