diff --git a/src/Radarr.Api.V3/openapi.json b/src/Radarr.Api.V3/openapi.json index 09af40e89..692e9d52d 100644 --- a/src/Radarr.Api.V3/openapi.json +++ b/src/Radarr.Api.V3/openapi.json @@ -216,6 +216,183 @@ } } }, + "/api/v3/autotagging": { + "post": { + "tags": [ + "AutoTagging" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + } + } + } + } + }, + "get": { + "tags": [ + "AutoTagging" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + } + } + } + } + } + } + }, + "/api/v3/autotagging/{id}": { + "put": { + "tags": [ + "AutoTagging" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "AutoTagging" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success" + } + } + }, + "get": { + "tags": [ + "AutoTagging" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/AutoTaggingResource" + } + } + } + } + } + } + }, + "/api/v3/autotagging/schema": { + "get": { + "tags": [ + "AutoTagging" + ], + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v3/system/backup": { "get": { "tags": [ @@ -8393,6 +8570,74 @@ ], "type": "string" }, + "AutoTaggingResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "removeTagsAutomatically": { + "type": "boolean" + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "specifications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AutoTaggingSpecificationSchema" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "AutoTaggingSpecificationSchema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "implementation": { + "type": "string", + "nullable": true + }, + "implementationName": { + "type": "string", + "nullable": true + }, + "negate": { + "type": "boolean" + }, + "required": { + "type": "boolean" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Field" + }, + "nullable": true + } + }, + "additionalProperties": false + }, "BackupResource": { "type": "object", "properties": { @@ -12563,6 +12808,14 @@ }, "nullable": true }, + "importListIds": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, "notificationIds": { "type": "array", "items": { @@ -12579,22 +12832,6 @@ }, "nullable": true }, - "importListIds": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "movieIds": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, "indexerIds": { "type": "array", "items": { @@ -12610,6 +12847,22 @@ "format": "int32" }, "nullable": true + }, + "autoTagIds": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "movieIds": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true } }, "additionalProperties": false