From e5ad7407a7eab3b20ab8ec4d75e3ead1b8539a74 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 3 Apr 2023 07:30:35 -0500 Subject: [PATCH] Update API Docs --- azure-pipelines.yml | 54 + docs.sh | 38 + src/Directory.Packages.props | 1 + src/NzbDrone.Host/Readarr.Host.csproj | 1 + src/NzbDrone.Host/Startup.cs | 82 + .../{swagger.json => openapi.json} | 12488 +++++++++------- 6 files changed, 6903 insertions(+), 5761 deletions(-) create mode 100644 docs.sh rename src/Readarr.Api.V1/{swagger.json => openapi.json} (70%) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4aa450f51..94193ed40 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -955,6 +955,60 @@ stages: cliProjectVersion: '$(readarrVersion)' cliSources: './frontend' - task: SonarCloudAnalyze@1 + + - job: Api_Docs + displayName: API Docs + dependsOn: Prepare + condition: | + and + ( + and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop')), + and(succeeded(), eq(dependencies.Prepare.outputs['setVar.backendNotUpdated'], '0')) + ) + + pool: + vmImage: ${{ variables.windowsImage }} + + steps: + - task: UseDotNet@2 + displayName: 'Install .net core' + inputs: + version: $(dotnetVersion) + - checkout: self + submodules: true + persistCredentials: true + fetchDepth: 1 + - bash: ./docs.sh Windows + displayName: Create openapi.json + - bash: | + git config --global user.email "development@lidarr.audio" + git config --global user.name "Servarr" + git checkout -b api-docs + git add . + git status + if git status | grep modified + then + git commit -am 'Automated API Docs update' + git push -f --set-upstream origin api-docs + curl -X POST -H "Authorization: token ${GITHUBTOKEN}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/readarr/readarr/pulls -d '{"head":"api-docs","base":"develop","title":"Update API docs"}' + else + echo "No changes since last run" + fi + displayName: Commit API Doc Change + continueOnError: true + env: + GITHUBTOKEN: $(githubToken) + - task: CopyFiles@2 + displayName: 'Copy openapi.json to: $(Build.ArtifactStagingDirectory)' + inputs: + SourceFolder: '$(Build.SourcesDirectory)' + Contents: | + **/*openapi.json + TargetFolder: '$(Build.ArtifactStagingDirectory)/api_docs' + - publish: $(Build.ArtifactStagingDirectory)/api_docs + artifact: 'APIDocs' + displayName: Publish API Docs Bundle + condition: and(succeeded(), eq(variables['System.JobAttempt'], '1')) - job: Analyze_Backend displayName: Backend diff --git a/docs.sh b/docs.sh new file mode 100644 index 000000000..e9a54b2eb --- /dev/null +++ b/docs.sh @@ -0,0 +1,38 @@ +PLATFORM=$1 + +if [ "$PLATFORM" = "Windows" ]; then + RUNTIME="win-x64" +elif [ "$PLATFORM" = "Linux" ]; then + WHERE="linux-x64" +elif [ "$PLATFORM" = "Mac" ]; then + WHERE="osx-x64" +else + echo "Platform must be provided as first arguement: Windows, Linux or Mac" + exit 1 +fi + +outputFolder='_output' +testPackageFolder='_tests' + +rm -rf $outputFolder +rm -rf $testPackageFolder + +slnFile=src/Readarr.sln + +platform=Posix + +dotnet clean $slnFile -c Debug +dotnet clean $slnFile -c Release + +dotnet msbuild -restore $slnFile -p:Configuration=Debug -p:Platform=$platform -p:RuntimeIdentifiers=$RUNTIME -t:PublishAllRids + +dotnet new tool-manifest +dotnet tool install --version 6.3.0 Swashbuckle.AspNetCore.Cli + +dotnet tool run swagger tofile --output ./src/Readarr.Api.V1/openapi.json "$outputFolder/net6.0/$RUNTIME/Readarr.console.dll" v1 & + +sleep 45 + +kill %1 + +exit 0 \ No newline at end of file diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index ec7637d5c..0393025f9 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -45,6 +45,7 @@ + diff --git a/src/NzbDrone.Host/Readarr.Host.csproj b/src/NzbDrone.Host/Readarr.Host.csproj index 0a34ef2ea..92798ce17 100644 --- a/src/NzbDrone.Host/Readarr.Host.csproj +++ b/src/NzbDrone.Host/Readarr.Host.csproj @@ -6,6 +6,7 @@ + diff --git a/src/NzbDrone.Host/Startup.cs b/src/NzbDrone.Host/Startup.cs index c8a837210..6fb3eef0f 100644 --- a/src/NzbDrone.Host/Startup.cs +++ b/src/NzbDrone.Host/Startup.cs @@ -9,6 +9,7 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; +using Microsoft.OpenApi.Models; using NLog.Extensions.Logging; using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.Instrumentation; @@ -92,6 +93,78 @@ public void ConfigureServices(IServiceCollection services) }) .AddControllersAsServices(); + services.AddSwaggerGen(c => + { + c.SwaggerDoc("v1", new OpenApiInfo + { + Version = "1.0.0", + Title = "Readarr", + Description = "Readarr API docs", + License = new OpenApiLicense + { + Name = "GPL-3.0", + Url = new Uri("https://github.com/Readarr/Readarr/blob/develop/LICENSE") + } + }); + + var apiKeyHeader = new OpenApiSecurityScheme + { + Name = "X-Api-Key", + Type = SecuritySchemeType.ApiKey, + Scheme = "apiKey", + Description = "Apikey passed as header", + In = ParameterLocation.Header, + Reference = new OpenApiReference + { + Type = ReferenceType.SecurityScheme, + Id = "X-Api-Key" + }, + }; + + c.AddSecurityDefinition("X-Api-Key", apiKeyHeader); + + c.AddSecurityRequirement(new OpenApiSecurityRequirement + { + { apiKeyHeader, Array.Empty() } + }); + + var apikeyQuery = new OpenApiSecurityScheme + { + Name = "apikey", + Type = SecuritySchemeType.ApiKey, + Scheme = "apiKey", + Description = "Apikey passed as header", + In = ParameterLocation.Query, + Reference = new OpenApiReference + { + Type = ReferenceType.SecurityScheme, + Id = "apikey" + }, + }; + + c.AddServer(new OpenApiServer + { + Url = "{protocol}://{hostpath}", + Variables = new Dictionary + { + { "protocol", new OpenApiServerVariable { Default = "http", Enum = new List { "http", "https" } } }, + { "hostpath", new OpenApiServerVariable { Default = "localhost:8787" } } + } + }); + + c.AddSecurityDefinition("apikey", apikeyQuery); + + c.AddSecurityRequirement(new OpenApiSecurityRequirement + { + { apikeyQuery, Array.Empty() } + }); + }); + + services.ConfigureSwaggerGen(options => + { + options.CustomSchemaIds(x => x.FullName); + }); + services .AddSignalR() .AddJsonProtocol(options => @@ -188,6 +261,15 @@ public void Configure(IApplicationBuilder app, app.UseWebSockets(); + // Enable middleware to serve generated Swagger as a JSON endpoint. + if (BuildInfo.IsDebug) + { + app.UseSwagger(c => + { + c.RouteTemplate = "docs/{documentName}/openapi.json"; + }); + } + app.UseEndpoints(x => { x.MapHub("/signalr/messages").RequireAuthorization("SignalR"); diff --git a/src/Readarr.Api.V1/swagger.json b/src/Readarr.Api.V1/openapi.json similarity index 70% rename from src/Readarr.Api.V1/swagger.json rename to src/Readarr.Api.V1/openapi.json index 223b78020..c1cd5a66c 100644 --- a/src/Readarr.Api.V1/swagger.json +++ b/src/Readarr.Api.V1/openapi.json @@ -3,9 +3,49 @@ "info": { "title": "Readarr", "description": "Readarr API docs", - "version": "0.1.0" + "license": { + "name": "GPL-3.0", + "url": "https://github.com/Readarr/Readarr/blob/develop/LICENSE" + }, + "version": "1.0.0" }, + "servers": [ + { + "url": "{protocol}://{hostpath}", + "variables": { + "protocol": { + "default": "http", + "enum": [ + "http", + "https" + ] + }, + "hostpath": { + "default": "localhost:8787" + } + } + } + ], "paths": { + "/api": { + "get": { + "tags": [ + "ApiInfo" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Http.ApiInfoResource" + } + } + } + } + } + } + }, "/login": { "post": { "tags": [ @@ -80,45 +120,91 @@ } } }, - "/api/v1/author/{id}": { + "/api/v1/author": { "get": { "tags": [ "Author" ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } } } } } } }, + "post": { + "tags": [ + "Author" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } + } + } + } + } + } + }, + "/api/v1/author/{id}": { "put": { "tags": [ "Author" @@ -137,17 +223,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } } } @@ -158,17 +244,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } } } @@ -195,85 +281,39 @@ "description": "Success" } } - } - }, - "/api/v1/author": { + }, "get": { "tags": [ "Author" ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AuthorResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AuthorResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AuthorResource" - } - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" } } - } - }, - "post": { - "tags": [ - "Author" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AuthorResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/AuthorResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/AuthorResource" - } - } - } - }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuthorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } } } @@ -290,17 +330,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorEditorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorEditorResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuthorEditorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorEditorResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/AuthorEditorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorEditorResource" } } } @@ -319,17 +359,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorEditorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorEditorResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuthorEditorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorEditorResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/AuthorEditorResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorEditorResource" } } } @@ -375,7 +415,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BackupResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Backup.BackupResource" } } }, @@ -383,7 +423,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BackupResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Backup.BackupResource" } } }, @@ -391,7 +431,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BackupResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Backup.BackupResource" } } } @@ -458,10 +498,10 @@ } } }, - "/api/v1/blacklist": { + "/api/v1/blocklist": { "get": { "tags": [ - "Blacklist" + "Blocklist" ], "responses": { "200": { @@ -469,17 +509,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BlacklistResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Blocklist.BlocklistResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BlacklistResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Blocklist.BlocklistResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BlacklistResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Blocklist.BlocklistResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } } } @@ -487,10 +527,10 @@ } } }, - "/api/v1/blacklist/{id}": { + "/api/v1/blocklist/{id}": { "delete": { "tags": [ - "Blacklist" + "Blocklist" ], "parameters": [ { @@ -510,26 +550,26 @@ } } }, - "/api/v1/blacklist/bulk": { + "/api/v1/blocklist/bulk": { "delete": { "tags": [ - "Blacklist" + "Blocklist" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BlacklistBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Blocklist.BlocklistBulkResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BlacklistBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Blocklist.BlocklistBulkResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/BlacklistBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Blocklist.BlocklistBulkResource" } } } @@ -590,7 +630,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } }, @@ -598,7 +638,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } }, @@ -606,7 +646,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -622,17 +662,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -643,17 +683,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -661,6 +701,29 @@ } } }, + "/api/v1/book/{id}/overview": { + "get": { + "tags": [ + "Book" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success" + } + } + } + }, "/api/v1/book/{id}": { "put": { "tags": [ @@ -680,17 +743,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -701,17 +764,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -760,17 +823,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -787,17 +850,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BooksMonitoredResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BooksMonitoredResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BooksMonitoredResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BooksMonitoredResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/BooksMonitoredResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BooksMonitoredResource" } } } @@ -809,116 +872,59 @@ } } }, - "/api/v1/bookfile/{id}": { - "get": { - "tags": [ - "BookFile" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/BookFileResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/BookFileResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/BookFileResource" - } - } - } - } - } - }, + "/api/v1/book/editor": { "put": { "tags": [ - "BookFile" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } + "BookEditor" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BookFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookEditorResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookEditorResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/BookFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookEditorResource" } } } }, "responses": { "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/BookFileResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/BookFileResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/BookFileResource" - } - } - } + "description": "Success" } } }, "delete": { "tags": [ - "BookFile" + "BookEditor" ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookEditorResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookEditorResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookEditorResource" + } } } - ], + }, "responses": { "200": { "description": "Success" @@ -978,7 +984,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" } } }, @@ -986,7 +992,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" } } }, @@ -994,7 +1000,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" } } } @@ -1003,6 +1009,123 @@ } } }, + "/api/v1/bookfile/{id}": { + "put": { + "tags": [ + "BookFile" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "BookFile" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success" + } + } + }, + "get": { + "tags": [ + "BookFile" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileResource" + } + } + } + } + } + } + }, "/api/v1/bookfile/editor": { "put": { "tags": [ @@ -1012,17 +1135,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BookFileListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileListResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookFileListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileListResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/BookFileListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileListResource" } } } @@ -1043,17 +1166,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BookFileListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileListResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookFileListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileListResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/BookFileListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.BookFileListResource" } } } @@ -1095,17 +1218,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/BookshelfResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Bookshelf.BookshelfResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookshelfResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Bookshelf.BookshelfResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/BookshelfResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Bookshelf.BookshelfResource" } } } @@ -1164,7 +1287,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } }, @@ -1172,7 +1295,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } }, @@ -1180,7 +1303,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -1211,17 +1334,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -1229,7 +1352,7 @@ } } }, - "/api/v1/calendar/readarr.ics": { + "/feed/v1/calendar/readarr.ics": { "get": { "tags": [ "CalendarFeed" @@ -1277,21 +1400,56 @@ } } }, - "/api/v1/command/{id}": { - "get": { + "/api/v1/command": { + "post": { "tags": [ "Command" ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } } } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } + } + } + } + } + }, + "get": { + "tags": [ + "Command" ], "responses": { "200": { @@ -1299,23 +1457,34 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/CommandResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } } }, "application/json": { "schema": { - "$ref": "#/components/schemas/CommandResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } } }, "text/json": { "schema": { - "$ref": "#/components/schemas/CommandResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } } } } } } - }, + } + }, + "/api/v1/command/{id}": { "delete": { "tags": [ "Command" @@ -1336,97 +1505,11 @@ "description": "Success" } } - } - }, - "/api/v1/command": { - "post": { - "tags": [ - "Command" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CommandResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/CommandResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CommandResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/CommandResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/CommandResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/CommandResource" - } - } - } - } - } }, "get": { "tags": [ "Command" ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommandResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommandResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CommandResource" - } - } - } - } - } - } - } - }, - "/api/v1/customfilter/{id}": { - "get": { - "tags": [ - "CustomFilter" - ], "parameters": [ { "name": "id", @@ -1444,23 +1527,109 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Commands.CommandResource" + } + } + } + } + } + } + }, + "/api/v1/customfilter": { + "get": { + "tags": [ + "CustomFilter" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } } } } } } }, + "post": { + "tags": [ + "CustomFilter" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" + } + } + } + } + } + } + }, + "/api/v1/customfilter/{id}": { "put": { "tags": [ "CustomFilter" @@ -1479,17 +1648,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } } } @@ -1500,17 +1669,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } } } @@ -1537,64 +1706,56 @@ "description": "Success" } } - } - }, - "/api/v1/customfilter": { + }, "get": { "tags": [ "CustomFilter" ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFilterResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } }, "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFilterResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } }, "text/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFilterResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFilters.CustomFilterResource" } } } } } - }, + } + }, + "/api/v1/customformat": { "post": { "tags": [ - "CustomFilter" + "CustomFormat" ], "requestBody": { "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/CustomFilterResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" } } } @@ -1605,22 +1766,161 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/CustomFilterResource" + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" } } } } } + }, + "get": { + "tags": [ + "CustomFormat" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + } + } + } + } + } + } + } + }, + "/api/v1/customformat/{id}": { + "put": { + "tags": [ + "CustomFormat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "CustomFormat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success" + } + } + }, + "get": { + "tags": [ + "CustomFormat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + } + } + } + } + } + } + }, + "/api/v1/customformat/schema": { + "get": { + "tags": [ + "CustomFormat" + ], + "responses": { + "200": { + "description": "Success" + } + } } }, "/api/v1/wanted/cutoff": { @@ -1644,17 +1944,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BookResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Books.BookResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BookResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Books.BookResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Books.BookResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } } } @@ -1684,17 +1984,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } } } @@ -1711,17 +2011,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } } } @@ -1732,17 +2032,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } } } @@ -1761,7 +2061,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } } }, @@ -1769,7 +2069,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } } }, @@ -1777,7 +2077,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } } } @@ -1826,17 +2126,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } } } @@ -1847,17 +2147,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } } } @@ -1885,17 +2185,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DelayProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Delay.DelayProfileResource" } } } @@ -1934,7 +2234,92 @@ } } }, + "/api/v1/config/development": { + "get": { + "tags": [ + "DevelopmentConfig" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + } + } + } + } + } + }, "/api/v1/config/development/{id}": { + "put": { + "tags": [ + "DevelopmentConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" + } + } + } + } + } + }, "get": { "tags": [ "DevelopmentConfig" @@ -1956,102 +2341,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "DevelopmentConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - } - } - } - } - } - }, - "/api/v1/config/development": { - "get": { - "tags": [ - "DevelopmentConfig" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/DevelopmentConfigResource" + "$ref": "#/components/schemas/Prowlarr.Api.V1.Config.DevelopmentConfigResource" } } } @@ -2072,7 +2372,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DiskSpaceResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DiskSpace.DiskSpaceResource" } } }, @@ -2080,7 +2380,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DiskSpaceResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DiskSpace.DiskSpaceResource" } } }, @@ -2088,7 +2388,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DiskSpaceResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DiskSpace.DiskSpaceResource" } } } @@ -2097,45 +2397,91 @@ } } }, - "/api/v1/downloadclient/{id}": { + "/api/v1/downloadclient": { "get": { "tags": [ "DownloadClient" ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } } } } } } }, + "post": { + "tags": [ + "DownloadClient" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + } + } + } + } + } + } + }, + "/api/v1/downloadclient/{id}": { "put": { "tags": [ "DownloadClient" @@ -2154,17 +2500,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } } } @@ -2175,17 +2521,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } } } @@ -2212,85 +2558,39 @@ "description": "Success" } } - } - }, - "/api/v1/downloadclient": { + }, "get": { "tags": [ "DownloadClient" ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DownloadClientResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DownloadClientResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DownloadClientResource" - } - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" } } - } - }, - "post": { - "tags": [ - "DownloadClient" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientResource" - } - } - } - }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } } } @@ -2311,7 +2611,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } } }, @@ -2319,7 +2619,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } } }, @@ -2327,7 +2627,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } } } @@ -2345,17 +2645,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } } } @@ -2398,17 +2698,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/DownloadClientResource" + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" } } } @@ -2420,7 +2720,92 @@ } } }, + "/api/v1/config/downloadclient": { + "get": { + "tags": [ + "DownloadClientConfig" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + } + } + } + } + } + }, "/api/v1/config/downloadclient/{id}": { + "put": { + "tags": [ + "DownloadClientConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" + } + } + } + } + } + }, "get": { "tags": [ "DownloadClientConfig" @@ -2442,73 +2827,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "DownloadClientConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.DownloadClientConfigResource" } } } @@ -2516,10 +2845,23 @@ } } }, - "/api/v1/config/downloadclient": { + "/api/v1/edition": { "get": { "tags": [ - "DownloadClientConfig" + "Edition" + ], + "parameters": [ + { + "name": "bookId", + "in": "query", + "schema": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + } + } ], "responses": { "200": { @@ -2527,17 +2869,26 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.EditionResource" + } } }, "application/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.EditionResource" + } } }, "text/json": { "schema": { - "$ref": "#/components/schemas/DownloadClientConfigResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.EditionResource" + } } } } @@ -2624,6 +2975,44 @@ } } }, + "/api/v1/health": { + "get": { + "tags": [ + "Health" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Health.HealthResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Health.HealthResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Health.HealthResource" + } + } + } + } + } + } + } + }, "/api/v1/health/{id}": { "get": { "tags": [ @@ -2646,55 +3035,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/HealthResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Health.HealthResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/HealthResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Health.HealthResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/HealthResource" - } - } - } - } - } - } - }, - "/api/v1/health": { - "get": { - "tags": [ - "Health" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HealthResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HealthResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HealthResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.Health.HealthResource" } } } @@ -2731,17 +3082,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/HistoryResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.History.HistoryResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/HistoryResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.History.HistoryResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/HistoryResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.History.HistoryResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } } } @@ -2767,7 +3118,7 @@ "name": "eventType", "in": "query", "schema": { - "$ref": "#/components/schemas/HistoryEventType" + "$ref": "#/components/schemas/NzbDrone.Core.History.EntityHistoryEventType" } }, { @@ -2795,7 +3146,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/HistoryResource" + "$ref": "#/components/schemas/Readarr.Api.V1.History.HistoryResource" } } }, @@ -2803,7 +3154,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/HistoryResource" + "$ref": "#/components/schemas/Readarr.Api.V1.History.HistoryResource" } } }, @@ -2811,7 +3162,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/HistoryResource" + "$ref": "#/components/schemas/Readarr.Api.V1.History.HistoryResource" } } } @@ -2846,7 +3197,7 @@ "name": "eventType", "in": "query", "schema": { - "$ref": "#/components/schemas/HistoryEventType" + "$ref": "#/components/schemas/NzbDrone.Core.History.EntityHistoryEventType" } }, { @@ -2874,7 +3225,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/HistoryResource" + "$ref": "#/components/schemas/Readarr.Api.V1.History.HistoryResource" } } }, @@ -2882,7 +3233,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/HistoryResource" + "$ref": "#/components/schemas/Readarr.Api.V1.History.HistoryResource" } } }, @@ -2890,7 +3241,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/HistoryResource" + "$ref": "#/components/schemas/Readarr.Api.V1.History.HistoryResource" } } } @@ -2899,45 +3250,11 @@ } } }, - "/api/v1/history/failed": { + "/api/v1/history/failed/{id}": { "post": { "tags": [ "History" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "integer", - "format": "int32" - } - }, - "text/json": { - "schema": { - "type": "integer", - "format": "int32" - } - }, - "application/*+json": { - "schema": { - "type": "integer", - "format": "int32" - } - } - } - }, - "responses": { - "200": { - "description": "Success" - } - } - } - }, - "/api/v1/config/host/{id}": { - "get": { - "tags": [ - "HostConfig" - ], "parameters": [ { "name": "id", @@ -2951,80 +3268,7 @@ ], "responses": { "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "HostConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/HostConfigResource" - } - } - } + "description": "Success" } } } @@ -3040,17 +3284,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/HostConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/HostConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/HostConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" } } } @@ -3058,10 +3302,66 @@ } } }, - "/api/v1/importlist/{id}": { + "/api/v1/config/host/{id}": { + "put": { + "tags": [ + "HostConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" + } + } + } + } + } + }, "get": { "tags": [ - "ImportList" + "HostConfig" ], "parameters": [ { @@ -3080,23 +3380,109 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.HostConfigResource" + } + } + } + } + } + } + }, + "/api/v1/importlist": { + "get": { + "tags": [ + "ImportList" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } } } } } } }, + "post": { + "tags": [ + "ImportList" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + } + } + } + } + } + } + }, + "/api/v1/importlist/{id}": { "put": { "tags": [ "ImportList" @@ -3115,17 +3501,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } } } @@ -3136,17 +3522,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } } } @@ -3173,85 +3559,39 @@ "description": "Success" } } - } - }, - "/api/v1/importlist": { + }, "get": { "tags": [ "ImportList" ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImportListResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImportListResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImportListResource" - } - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" } } - } - }, - "post": { - "tags": [ - "ImportList" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImportListResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ImportListResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ImportListResource" - } - } - } - }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } } } @@ -3272,7 +3612,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } } }, @@ -3280,7 +3620,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } } }, @@ -3288,7 +3628,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } } } @@ -3306,17 +3646,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } } } @@ -3359,17 +3699,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/ImportListResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" } } } @@ -3381,123 +3721,6 @@ } } }, - "/api/v1/importlistexclusion/{id}": { - "get": { - "tags": [ - "ImportListExclusion" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "ImportListExclusion" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - } - } - } - } - }, - "delete": { - "tags": [ - "ImportListExclusion" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success" - } - } - } - }, "/api/v1/importlistexclusion": { "get": { "tags": [ @@ -3511,7 +3734,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } } }, @@ -3519,7 +3742,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } } }, @@ -3527,7 +3750,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } } } @@ -3543,17 +3766,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } } } @@ -3564,17 +3787,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } } } @@ -3582,10 +3805,87 @@ } } }, - "/api/v1/indexer/{id}": { + "/api/v1/importlistexclusion/{id}": { + "put": { + "tags": [ + "ImportListExclusion" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" + } + } + } + } + } + }, + "delete": { + "tags": [ + "ImportListExclusion" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success" + } + } + }, "get": { "tags": [ - "Indexer" + "ImportListExclusion" ], "parameters": [ { @@ -3604,23 +3904,109 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListExclusionResource" + } + } + } + } + } + } + }, + "/api/v1/indexer": { + "get": { + "tags": [ + "Indexer" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } } } } } } }, + "post": { + "tags": [ + "Indexer" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + } + } + } + } + } + } + }, + "/api/v1/indexer/{id}": { "put": { "tags": [ "Indexer" @@ -3639,17 +4025,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } } } @@ -3660,17 +4046,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } } } @@ -3697,85 +4083,39 @@ "description": "Success" } } - } - }, - "/api/v1/indexer": { + }, "get": { "tags": [ "Indexer" ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerResource" - } - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" } } - } - }, - "post": { - "tags": [ - "Indexer" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IndexerResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/IndexerResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/IndexerResource" - } - } - } - }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } } } @@ -3796,7 +4136,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } } }, @@ -3804,7 +4144,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } } }, @@ -3812,7 +4152,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } } } @@ -3830,17 +4170,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } } } @@ -3883,17 +4223,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" } } } @@ -3905,7 +4245,92 @@ } } }, + "/api/v1/config/indexer": { + "get": { + "tags": [ + "IndexerConfig" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + } + } + } + } + } + }, "/api/v1/config/indexer/{id}": { + "put": { + "tags": [ + "IndexerConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" + } + } + } + } + } + }, "get": { "tags": [ "IndexerConfig" @@ -3927,102 +4352,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "IndexerConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - } - } - } - } - } - }, - "/api/v1/config/indexer": { - "get": { - "tags": [ - "IndexerConfig" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/IndexerConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.IndexerConfigResource" } } } @@ -4042,6 +4382,44 @@ } } }, + "/api/v1/language": { + "get": { + "tags": [ + "Language" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Languages.LanguageResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Languages.LanguageResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Languages.LanguageResource" + } + } + } + } + } + } + } + }, "/api/v1/language/{id}": { "get": { "tags": [ @@ -4064,55 +4442,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/LanguageResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Languages.LanguageResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/LanguageResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Languages.LanguageResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/LanguageResource" - } - } - } - } - } - } - }, - "/api/v1/language": { - "get": { - "tags": [ - "Language" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LanguageResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LanguageResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LanguageResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.Languages.LanguageResource" } } } @@ -4160,17 +4500,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/LogResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Logs.LogResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/LogResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Logs.LogResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/LogResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Logs.LogResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } } } @@ -4191,7 +4531,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/LogFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Logs.LogFileResource" } } }, @@ -4199,7 +4539,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/LogFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Logs.LogFileResource" } } }, @@ -4207,7 +4547,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/LogFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Logs.LogFileResource" } } } @@ -4227,6 +4567,7 @@ "in": "path", "required": true, "schema": { + "pattern": "[-.a-zA-Z0-9]+?\\.txt", "type": "string" } } @@ -4239,7 +4580,7 @@ } }, "/api/v1/manualimport": { - "put": { + "post": { "tags": [ "ManualImport" ], @@ -4249,7 +4590,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ManualImportResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ManualImport.ManualImportUpdateResource" } } }, @@ -4257,7 +4598,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ManualImportResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ManualImport.ManualImportUpdateResource" } } }, @@ -4265,7 +4606,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ManualImportResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ManualImport.ManualImportUpdateResource" } } } @@ -4329,7 +4670,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ManualImportResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ManualImport.ManualImportResource" } } }, @@ -4337,7 +4678,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ManualImportResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ManualImport.ManualImportResource" } } }, @@ -4345,7 +4686,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ManualImportResource" + "$ref": "#/components/schemas/Readarr.Api.V1.ManualImport.ManualImportResource" } } } @@ -4374,6 +4715,7 @@ "in": "path", "required": true, "schema": { + "pattern": "(.+)\\.(jpg|png|gif)", "type": "string" } } @@ -4405,6 +4747,7 @@ "in": "path", "required": true, "schema": { + "pattern": "(.+)\\.(jpg|png|gif)", "type": "string" } } @@ -4416,102 +4759,6 @@ } } }, - "/api/v1/config/mediamanagement/{id}": { - "get": { - "tags": [ - "MediaManagementConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "MediaManagementConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" - } - } - } - } - } - } - }, "/api/v1/config/mediamanagement": { "get": { "tags": [ @@ -4523,17 +4770,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MediaManagementConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" } } } @@ -4541,10 +4788,66 @@ } } }, - "/api/v1/metadata/{id}": { + "/api/v1/config/mediamanagement/{id}": { + "put": { + "tags": [ + "MediaManagementConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" + } + } + } + } + } + }, "get": { "tags": [ - "Metadata" + "MediaManagementConfig" ], "parameters": [ { @@ -4563,23 +4866,109 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MediaManagementConfigResource" + } + } + } + } + } + } + }, + "/api/v1/metadata": { + "get": { + "tags": [ + "Metadata" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } } } } } } }, + "post": { + "tags": [ + "Metadata" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + } + } + } + } + } + } + }, + "/api/v1/metadata/{id}": { "put": { "tags": [ "Metadata" @@ -4598,17 +4987,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } } } @@ -4619,17 +5008,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } } } @@ -4656,85 +5045,39 @@ "description": "Success" } } - } - }, - "/api/v1/metadata": { + }, "get": { "tags": [ "Metadata" ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetadataResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetadataResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetadataResource" - } - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" } } - } - }, - "post": { - "tags": [ - "Metadata" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MetadataResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MetadataResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/MetadataResource" - } - } - } - }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } } } @@ -4755,7 +5098,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } } }, @@ -4763,7 +5106,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } } }, @@ -4771,7 +5114,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } } } @@ -4789,17 +5132,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } } } @@ -4842,17 +5185,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/MetadataResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" } } } @@ -4873,17 +5216,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } } } @@ -4894,17 +5237,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } } } @@ -4923,7 +5266,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } } }, @@ -4931,7 +5274,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } } }, @@ -4939,7 +5282,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } } } @@ -4988,17 +5331,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } } } @@ -5009,17 +5352,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } } } @@ -5047,17 +5390,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } } } @@ -5076,17 +5419,46 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource" + } + } + } + } + } + } + }, + "/api/v1/config/metadataprovider": { + "get": { + "tags": [ + "MetadataProviderConfig" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" } } } @@ -5095,6 +5467,62 @@ } }, "/api/v1/config/metadataprovider/{id}": { + "put": { + "tags": [ + "MetadataProviderConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" + } + } + } + } + } + }, "get": { "tags": [ "MetadataProviderConfig" @@ -5116,102 +5544,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "MetadataProviderConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - } - } - } - } - } - }, - "/api/v1/config/metadataprovider": { - "get": { - "tags": [ - "MetadataProviderConfig" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MetadataProviderConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.MetadataProviderConfigResource" } } } @@ -5240,17 +5583,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BookResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Books.BookResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BookResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Books.BookResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Books.BookResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } } } @@ -5280,17 +5623,46 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" + } + } + } + } + } + } + }, + "/api/v1/config/naming": { + "get": { + "tags": [ + "NamingConfig" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" } } } @@ -5299,6 +5671,62 @@ } }, "/api/v1/config/naming/{id}": { + "put": { + "tags": [ + "NamingConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" + } + } + } + } + } + }, "get": { "tags": [ "NamingConfig" @@ -5320,102 +5748,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/NamingConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/NamingConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "NamingConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - } - } - } - } - } - }, - "/api/v1/config/naming": { - "get": { - "tags": [ - "NamingConfig" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/NamingConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.NamingConfigResource" } } } @@ -5522,45 +5865,91 @@ } } }, - "/api/v1/notification/{id}": { + "/api/v1/notification": { "get": { "tags": [ "Notification" ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } } }, "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } } }, "text/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } } } } } } }, + "post": { + "tags": [ + "Notification" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + } + } + } + } + } + } + }, + "/api/v1/notification/{id}": { "put": { "tags": [ "Notification" @@ -5579,17 +5968,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } } } @@ -5600,17 +5989,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } } } @@ -5637,85 +6026,39 @@ "description": "Success" } } - } - }, - "/api/v1/notification": { + }, "get": { "tags": [ "Notification" ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationResource" - } - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" } } - } - }, - "post": { - "tags": [ - "Notification" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/NotificationResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/NotificationResource" - } - } - } - }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } } } @@ -5736,7 +6079,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } } }, @@ -5744,7 +6087,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } } }, @@ -5752,7 +6095,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } } } @@ -5770,17 +6113,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } } } @@ -5823,17 +6166,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/NotificationResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" } } } @@ -5865,17 +6208,36 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ParseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Parse.ParseResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ParseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Parse.ParseResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ParseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Parse.ParseResource" + } + } + } + } + } + } + }, + "/ping": { + "get": { + "tags": [ + "Ping" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Http.Ping.PingResource" } } } @@ -5902,17 +6264,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } } @@ -5923,17 +6285,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } } @@ -5961,17 +6323,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } } @@ -5992,7 +6354,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } }, @@ -6000,7 +6362,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } }, @@ -6008,7 +6370,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } } @@ -6028,7 +6390,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } }, @@ -6036,7 +6398,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } }, @@ -6044,7 +6406,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityDefinitionResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Qualities.QualityDefinitionResource" } } } @@ -6066,17 +6428,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } } @@ -6087,17 +6449,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } } @@ -6116,7 +6478,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } }, @@ -6124,7 +6486,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } }, @@ -6132,7 +6494,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } } @@ -6181,17 +6543,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } } @@ -6202,17 +6564,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } } @@ -6240,17 +6602,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } } @@ -6269,17 +6631,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QualityProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileResource" } } } @@ -6288,44 +6650,6 @@ } }, "/api/v1/queue/{id}": { - "get": { - "tags": [ - "Queue" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/QueueResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/QueueResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/QueueResource" - } - } - } - } - } - }, "delete": { "tags": [ "Queue" @@ -6349,7 +6673,7 @@ } }, { - "name": "blacklist", + "name": "blocklist", "in": "query", "schema": { "type": "boolean", @@ -6370,6 +6694,44 @@ "description": "Success" } } + }, + "get": { + "tags": [ + "Queue" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" + } + } + } + } + } } }, "/api/v1/queue/bulk": { @@ -6387,7 +6749,7 @@ } }, { - "name": "blacklist", + "name": "blocklist", "in": "query", "schema": { "type": "boolean", @@ -6407,17 +6769,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/QueueBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueBulkResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QueueBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueBulkResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/QueueBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueBulkResource" } } } @@ -6466,17 +6828,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/QueueResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Queue.QueueResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/QueueResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Queue.QueueResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QueueResourcePagingResource" + "$ref": "#/components/schemas/Readarr.Http.PagingResource`1[[Readarr.Api.V1.Queue.QueueResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]" } } } @@ -6516,17 +6878,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/QueueBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueBulkResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QueueBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueBulkResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/QueueBulkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueBulkResource" } } } @@ -6538,46 +6900,6 @@ } } }, - "/api/v1/queue/details/{id}": { - "get": { - "tags": [ - "QueueDetails" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/QueueResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/QueueResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/QueueResource" - } - } - } - } - } - } - }, "/api/v1/queue/details": { "get": { "tags": [ @@ -6628,7 +6950,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QueueResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" } } }, @@ -6636,7 +6958,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QueueResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" } } }, @@ -6644,7 +6966,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/QueueResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" } } } @@ -6653,6 +6975,75 @@ } } }, + "/api/v1/queue/details/{id}": { + "get": { + "tags": [ + "QueueDetails" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" + } + } + } + } + } + } + }, + "/api/v1/queue/status": { + "get": { + "tags": [ + "QueueStatus" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueStatusResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueStatusResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueStatusResource" + } + } + } + } + } + } + }, "/api/v1/queue/status/{id}": { "get": { "tags": [ @@ -6675,46 +7066,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/QueueStatusResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueStatusResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/QueueStatusResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueStatusResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/QueueStatusResource" - } - } - } - } - } - } - }, - "/api/v1/queue/status": { - "get": { - "tags": [ - "QueueStatus" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/QueueStatusResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/QueueStatusResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/QueueStatusResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueStatusResource" } } } @@ -6731,17 +7093,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } } } @@ -6752,17 +7114,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } } } @@ -6799,7 +7161,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } } }, @@ -6807,7 +7169,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } } }, @@ -6815,7 +7177,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } } } @@ -6846,17 +7208,101 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" + } + } + } + } + } + } + }, + "/api/v1/releaseprofile": { + "get": { + "tags": [ + "ReleaseProfile" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" + } + } + } + } + } + } + }, + "post": { + "tags": [ + "ReleaseProfile" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } } } @@ -6865,44 +7311,6 @@ } }, "/api/v1/releaseprofile/{id}": { - "get": { - "tags": [ - "ReleaseProfile" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - } - } - } - } - }, "put": { "tags": [ "ReleaseProfile" @@ -6921,17 +7329,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } } } @@ -6942,17 +7350,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } } } @@ -6979,85 +7387,39 @@ "description": "Success" } } - } - }, - "/api/v1/releaseprofile": { + }, "get": { "tags": [ "ReleaseProfile" ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - } - } + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" } } - } - }, - "post": { - "tags": [ - "ReleaseProfile" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - } - } - }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Release.ReleaseProfileResource" } } } @@ -7074,17 +7436,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } } } @@ -7095,17 +7457,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } } } @@ -7135,17 +7497,101 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/ReleaseResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.ReleaseResource" + } + } + } + } + } + } + }, + "/api/v1/remotepathmapping": { + "post": { + "tags": [ + "RemotePathMapping" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } + } + } + } + } + }, + "get": { + "tags": [ + "RemotePathMapping" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" + } } } } @@ -7154,44 +7600,6 @@ } }, "/api/v1/remotepathmapping/{id}": { - "get": { - "tags": [ - "RemotePathMapping" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - } - } - } - } - }, "delete": { "tags": [ "RemotePathMapping" @@ -7231,17 +7639,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } } } @@ -7252,65 +7660,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - } - } - } - } - } - }, - "/api/v1/remotepathmapping": { - "post": { - "tags": [ - "RemotePathMapping" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } } } @@ -7321,32 +7681,34 @@ "tags": [ "RemotePathMapping" ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } }, "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } }, "text/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource" } } } @@ -7385,7 +7747,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/RenameBookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.RenameBookResource" } } }, @@ -7393,7 +7755,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/RenameBookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.RenameBookResource" } } }, @@ -7401,7 +7763,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/RenameBookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.RenameBookResource" } } } @@ -7441,7 +7803,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/RetagBookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.RetagBookResource" } } }, @@ -7449,7 +7811,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/RetagBookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.RetagBookResource" } } }, @@ -7457,7 +7819,91 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/RetagBookResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Books.RetagBookResource" + } + } + } + } + } + } + } + }, + "/api/v1/rootfolder": { + "post": { + "tags": [ + "RootFolder" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" + } + } + } + } + } + }, + "get": { + "tags": [ + "RootFolder" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } } } @@ -7467,44 +7913,6 @@ } }, "/api/v1/rootfolder/{id}": { - "get": { - "tags": [ - "RootFolder" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - } - } - } - } - }, "put": { "tags": [ "RootFolder" @@ -7523,17 +7931,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RootFolderResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/RootFolderResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/RootFolderResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } } } @@ -7544,17 +7952,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/RootFolderResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/RootFolderResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/RootFolderResource" + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } } } @@ -7581,85 +7989,39 @@ "description": "Success" } } - } - }, - "/api/v1/rootfolder": { - "post": { - "tags": [ - "RootFolder" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - } - } - } - } }, "get": { "tags": [ "RootFolder" ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RootFolderResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } }, "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RootFolderResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } }, "text/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RootFolderResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.RootFolders.RootFolderResource" } } } @@ -7711,7 +8073,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/SeriesResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Series.SeriesResource" } } }, @@ -7719,7 +8081,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/SeriesResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Series.SeriesResource" } } }, @@ -7727,7 +8089,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/SeriesResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Series.SeriesResource" } } } @@ -7747,6 +8109,7 @@ "in": "path", "required": true, "schema": { + "pattern": "^(?!/*api/).*", "type": "string" } } @@ -7791,6 +8154,7 @@ "in": "path", "required": true, "schema": { + "pattern": "^(?!(api|feed)/).*", "type": "string" } } @@ -7809,7 +8173,24 @@ ], "responses": { "200": { - "description": "Success" + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.System.SystemResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.System.SystemResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.System.SystemResource" + } + } + } } } } @@ -7862,45 +8243,91 @@ } } }, - "/api/v1/tag/{id}": { + "/api/v1/tag": { "get": { "tags": [ "Tag" ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "integer", - "format": "int32" - } - } - ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/TagResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } } }, "application/json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } } }, "text/json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } } } } } } }, + "post": { + "tags": [ + "Tag" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" + } + } + } + } + } + } + }, + "/api/v1/tag/{id}": { "put": { "tags": [ "Tag" @@ -7919,17 +8346,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } }, "application/*+json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } } } @@ -7940,17 +8367,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/TagResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } } } @@ -7977,85 +8404,77 @@ "description": "Success" } } - } - }, - "/api/v1/tag": { + }, "get": { "tags": [ "Tag" ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } }, "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } }, "text/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagResource" } } } } } - }, - "post": { + } + }, + "/api/v1/tag/detail": { + "get": { "tags": [ - "Tag" + "TagDetails" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TagResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/TagResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/TagResource" - } - } - } - }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/TagResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagDetailsResource" + } } }, "application/json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagDetailsResource" + } } }, "text/json": { "schema": { - "$ref": "#/components/schemas/TagResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagDetailsResource" + } } } } @@ -8085,55 +8504,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/TagDetailsResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagDetailsResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/TagDetailsResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagDetailsResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/TagDetailsResource" - } - } - } - } - } - } - }, - "/api/v1/tag/detail": { - "get": { - "tags": [ - "TagDetails" - ], - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagDetailsResource" - } - } - }, - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagDetailsResource" - } - } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagDetailsResource" - } + "$ref": "#/components/schemas/Readarr.Api.V1.Tags.TagDetailsResource" } } } @@ -8154,7 +8535,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TaskResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Tasks.TaskResource" } } }, @@ -8162,7 +8543,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TaskResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Tasks.TaskResource" } } }, @@ -8170,7 +8551,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/TaskResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Tasks.TaskResource" } } } @@ -8201,17 +8582,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/TaskResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Tasks.TaskResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/TaskResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Tasks.TaskResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/TaskResource" + "$ref": "#/components/schemas/Readarr.Api.V1.System.Tasks.TaskResource" } } } @@ -8220,6 +8601,62 @@ } }, "/api/v1/config/ui/{id}": { + "put": { + "tags": [ + "UiConfig" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" + } + } + } + }, + "responses": { + "200": { + "description": "Success", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" + } + } + } + } + } + }, "get": { "tags": [ "UiConfig" @@ -8241,73 +8678,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/UiConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/UiConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - } - } - } - } - }, - "put": { - "tags": [ - "UiConfig" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - } - } - }, - "responses": { - "200": { - "description": "Success", - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - }, - "application/json": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" } } } @@ -8326,17 +8707,17 @@ "content": { "text/plain": { "schema": { - "$ref": "#/components/schemas/UiConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/UiConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/UiConfigResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Config.UiConfigResource" } } } @@ -8357,7 +8738,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UpdateResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Update.UpdateResource" } } }, @@ -8365,7 +8746,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UpdateResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Update.UpdateResource" } } }, @@ -8373,7 +8754,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/UpdateResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Update.UpdateResource" } } } @@ -8395,7 +8776,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/LogFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Logs.LogFileResource" } } }, @@ -8403,7 +8784,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/LogFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Logs.LogFileResource" } } }, @@ -8411,7 +8792,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/LogFileResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Logs.LogFileResource" } } } @@ -8431,6 +8812,7 @@ "in": "path", "required": true, "schema": { + "pattern": "[-.a-zA-Z0-9]+?\\.txt", "type": "string" } } @@ -8445,11 +8827,85 @@ }, "components": { "schemas": { - "AddAuthorOptions": { + "NzbDrone.Common.EnvironmentInfo.RuntimeMode": { + "enum": [ + "console", + "service", + "tray" + ], + "type": "string" + }, + "NzbDrone.Common.Http.HttpUri": { + "type": "object", + "properties": { + "fullUri": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "scheme": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "host": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "port": { + "type": "integer", + "format": "int32", + "nullable": true, + "readOnly": true + }, + "path": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "query": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "fragment": { + "type": "string", + "nullable": true, + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Common.Http.Proxy.ProxyType": { + "enum": [ + "http", + "socks4", + "socks5" + ], + "type": "string" + }, + "NzbDrone.Core.Authentication.AuthenticationType": { + "enum": [ + "none", + "basic", + "forms" + ], + "type": "string" + }, + "NzbDrone.Core.Backup.BackupType": { + "enum": [ + "scheduled", + "manual", + "update" + ], + "type": "string" + }, + "NzbDrone.Core.Books.AddAuthorOptions": { "type": "object", "properties": { "monitor": { - "$ref": "#/components/schemas/MonitorTypes" + "$ref": "#/components/schemas/NzbDrone.Core.Books.MonitorTypes" }, "booksToMonitor": { "type": "array", @@ -8467,11 +8923,11 @@ }, "additionalProperties": false }, - "AddBookOptions": { + "NzbDrone.Core.Books.AddBookOptions": { "type": "object", "properties": { "addType": { - "$ref": "#/components/schemas/BookAddType" + "$ref": "#/components/schemas/NzbDrone.Core.Books.BookAddType" }, "searchForNewBook": { "type": "boolean" @@ -8479,31 +8935,7 @@ }, "additionalProperties": false }, - "AllowFingerprinting": { - "enum": [ - "never", - "newFiles", - "allFiles" - ], - "type": "string" - }, - "ApplyTags": { - "enum": [ - "add", - "remove", - "replace" - ], - "type": "string" - }, - "AuthenticationType": { - "enum": [ - "none", - "basic", - "forms" - ], - "type": "string" - }, - "Author": { + "NzbDrone.Core.Books.Author": { "type": "object", "properties": { "id": { @@ -8521,6 +8953,9 @@ "monitored": { "type": "boolean" }, + "monitorNewItems": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.NewItemMonitorTypes" + }, "lastInfoSync": { "type": "string", "format": "date-time", @@ -8556,22 +8991,22 @@ "nullable": true }, "addOptions": { - "$ref": "#/components/schemas/AddAuthorOptions" + "$ref": "#/components/schemas/NzbDrone.Core.Books.AddAuthorOptions" }, "metadata": { - "$ref": "#/components/schemas/AuthorMetadataLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.AuthorMetadata, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" }, "qualityProfile": { - "$ref": "#/components/schemas/QualityProfileLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Profiles.Qualities.QualityProfile, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" }, "metadataProfile": { - "$ref": "#/components/schemas/MetadataProfileLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Profiles.Metadata.MetadataProfile, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" }, "books": { - "$ref": "#/components/schemas/BookListLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.Book, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" }, "series": { - "$ref": "#/components/schemas/SeriesListLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.Series, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" }, "name": { "type": "string", @@ -8584,69 +9019,7 @@ }, "additionalProperties": false }, - "AuthorEditorResource": { - "type": "object", - "properties": { - "authorIds": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "monitored": { - "type": "boolean", - "nullable": true - }, - "qualityProfileId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "metadataProfileId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "rootFolderPath": { - "type": "string", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "applyTags": { - "$ref": "#/components/schemas/ApplyTags" - }, - "moveFiles": { - "type": "boolean" - }, - "deleteFiles": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "AuthorLazyLoaded": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/Author" - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "AuthorMetadata": { + "NzbDrone.Core.Books.AuthorMetadata": { "type": "object", "properties": { "id": { @@ -8711,19 +9084,19 @@ "nullable": true }, "status": { - "$ref": "#/components/schemas/AuthorStatusType" + "$ref": "#/components/schemas/NzbDrone.Core.Books.AuthorStatusType" }, "images": { "type": "array", "items": { - "$ref": "#/components/schemas/MediaCover" + "$ref": "#/components/schemas/NzbDrone.Core.MediaCover.MediaCover" }, "nullable": true }, "links": { "type": "array", "items": { - "$ref": "#/components/schemas/Links" + "$ref": "#/components/schemas/NzbDrone.Core.Books.Links" }, "nullable": true }, @@ -8735,343 +9108,19 @@ "nullable": true }, "ratings": { - "$ref": "#/components/schemas/Ratings" + "$ref": "#/components/schemas/NzbDrone.Core.Books.Ratings" } }, "additionalProperties": false }, - "AuthorMetadataLazyLoaded": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/AuthorMetadata" - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "AuthorResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "authorMetadataId": { - "type": "integer", - "format": "int32" - }, - "status": { - "$ref": "#/components/schemas/AuthorStatusType" - }, - "ended": { - "type": "boolean", - "readOnly": true - }, - "authorName": { - "type": "string", - "nullable": true - }, - "authorNameLastFirst": { - "type": "string", - "nullable": true - }, - "foreignAuthorId": { - "type": "string", - "nullable": true - }, - "titleSlug": { - "type": "string", - "nullable": true - }, - "overview": { - "type": "string", - "nullable": true - }, - "disambiguation": { - "type": "string", - "nullable": true - }, - "links": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Links" - }, - "nullable": true - }, - "nextBook": { - "$ref": "#/components/schemas/Book" - }, - "lastBook": { - "$ref": "#/components/schemas/Book" - }, - "images": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MediaCover" - }, - "nullable": true - }, - "remotePoster": { - "type": "string", - "nullable": true - }, - "path": { - "type": "string", - "nullable": true - }, - "qualityProfileId": { - "type": "integer", - "format": "int32" - }, - "metadataProfileId": { - "type": "integer", - "format": "int32" - }, - "monitored": { - "type": "boolean" - }, - "rootFolderPath": { - "type": "string", - "nullable": true - }, - "genres": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "cleanName": { - "type": "string", - "nullable": true - }, - "sortName": { - "type": "string", - "nullable": true - }, - "sortNameLastFirst": { - "type": "string", - "nullable": true - }, - "tags": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "added": { - "type": "string", - "format": "date-time" - }, - "addOptions": { - "$ref": "#/components/schemas/AddAuthorOptions" - }, - "ratings": { - "$ref": "#/components/schemas/Ratings" - }, - "statistics": { - "$ref": "#/components/schemas/AuthorStatisticsResource" - } - }, - "additionalProperties": false - }, - "AuthorStatisticsResource": { - "type": "object", - "properties": { - "bookFileCount": { - "type": "integer", - "format": "int32" - }, - "bookCount": { - "type": "integer", - "format": "int32" - }, - "availableBookCount": { - "type": "integer", - "format": "int32" - }, - "totalBookCount": { - "type": "integer", - "format": "int32" - }, - "sizeOnDisk": { - "type": "integer", - "format": "int64" - }, - "percentOfBooks": { - "type": "number", - "format": "double", - "readOnly": true - } - }, - "additionalProperties": false - }, - "AuthorStatusType": { + "NzbDrone.Core.Books.AuthorStatusType": { "enum": [ "continuing", "ended" ], "type": "string" }, - "AuthorTitleInfo": { - "type": "object", - "properties": { - "title": { - "type": "string", - "nullable": true - }, - "titleWithoutYear": { - "type": "string", - "nullable": true - }, - "year": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "BackupResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "path": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/BackupType" - }, - "time": { - "type": "string", - "format": "date-time" - } - }, - "additionalProperties": false - }, - "BackupType": { - "enum": [ - "scheduled", - "manual", - "update" - ], - "type": "string" - }, - "BlacklistBulkResource": { - "type": "object", - "properties": { - "ids": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "BlacklistResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "authorId": { - "type": "integer", - "format": "int32" - }, - "bookIds": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "sourceTitle": { - "type": "string", - "nullable": true - }, - "quality": { - "$ref": "#/components/schemas/QualityModel" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" - }, - "indexer": { - "type": "string", - "nullable": true - }, - "message": { - "type": "string", - "nullable": true - }, - "author": { - "$ref": "#/components/schemas/AuthorResource" - } - }, - "additionalProperties": false - }, - "BlacklistResourcePagingResource": { - "type": "object", - "properties": { - "page": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "sortKey": { - "type": "string", - "nullable": true - }, - "sortDirection": { - "$ref": "#/components/schemas/SortDirection" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PagingResourceFilter" - }, - "nullable": true - }, - "totalRecords": { - "type": "integer", - "format": "int32" - }, - "records": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BlacklistResource" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "Book": { + "NzbDrone.Core.Books.Book": { "type": "object", "properties": { "id": { @@ -9102,7 +9151,7 @@ "links": { "type": "array", "items": { - "$ref": "#/components/schemas/Links" + "$ref": "#/components/schemas/NzbDrone.Core.Books.Links" }, "nullable": true }, @@ -9113,8 +9162,16 @@ }, "nullable": true }, + "relatedBooks": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, "ratings": { - "$ref": "#/components/schemas/Ratings" + "$ref": "#/components/schemas/NzbDrone.Core.Books.Ratings" }, "cleanTitle": { "type": "string", @@ -9136,34 +9193,702 @@ "format": "date-time" }, "addOptions": { - "$ref": "#/components/schemas/AddBookOptions" + "$ref": "#/components/schemas/NzbDrone.Core.Books.AddBookOptions" }, "authorMetadata": { - "$ref": "#/components/schemas/AuthorMetadataLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.AuthorMetadata, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" }, "author": { - "$ref": "#/components/schemas/AuthorLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Author, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" }, "editions": { - "$ref": "#/components/schemas/EditionListLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.Edition, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" }, "bookFiles": { - "$ref": "#/components/schemas/BookFileListLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.MediaFiles.BookFile, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" }, "seriesLinks": { - "$ref": "#/components/schemas/SeriesBookLinkListLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.SeriesBookLink, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "additionalProperties": false }, - "BookAddType": { + "NzbDrone.Core.Books.BookAddType": { "enum": [ "automatic", "manual" ], "type": "string" }, - "BookFile": { + "NzbDrone.Core.Books.Edition": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "bookId": { + "type": "integer", + "format": "int32" + }, + "foreignEditionId": { + "type": "string", + "nullable": true + }, + "titleSlug": { + "type": "string", + "nullable": true + }, + "isbn13": { + "type": "string", + "nullable": true + }, + "asin": { + "type": "string", + "nullable": true + }, + "title": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "overview": { + "type": "string", + "nullable": true + }, + "format": { + "type": "string", + "nullable": true + }, + "isEbook": { + "type": "boolean" + }, + "disambiguation": { + "type": "string", + "nullable": true + }, + "publisher": { + "type": "string", + "nullable": true + }, + "pageCount": { + "type": "integer", + "format": "int32" + }, + "releaseDate": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "images": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.MediaCover.MediaCover" + }, + "nullable": true + }, + "links": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Links" + }, + "nullable": true + }, + "ratings": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Ratings" + }, + "monitored": { + "type": "boolean" + }, + "manualAdd": { + "type": "boolean" + }, + "book": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Book, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" + }, + "bookFiles": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.MediaFiles.BookFile, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Books.Links": { + "type": "object", + "properties": { + "url": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Books.MonitorTypes": { + "enum": [ + "all", + "future", + "missing", + "existing", + "latest", + "first", + "none", + "unknown" + ], + "type": "string" + }, + "NzbDrone.Core.Books.MonitoringOptions": { + "type": "object", + "properties": { + "monitor": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.MonitorTypes" + }, + "booksToMonitor": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "monitored": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Books.NewItemMonitorTypes": { + "enum": [ + "all", + "none", + "new" + ], + "type": "string" + }, + "NzbDrone.Core.Books.Ratings": { + "type": "object", + "properties": { + "votes": { + "type": "integer", + "format": "int32" + }, + "value": { + "type": "number", + "format": "double" + }, + "popularity": { + "type": "number", + "format": "double", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Books.Series": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "foreignSeriesId": { + "type": "string", + "nullable": true + }, + "title": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "numbered": { + "type": "boolean" + }, + "workCount": { + "type": "integer", + "format": "int32" + }, + "primaryWorkCount": { + "type": "integer", + "format": "int32" + }, + "linkItems": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.SeriesBookLink, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" + }, + "books": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.Book, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" + }, + "foreignAuthorId": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Books.SeriesBookLink": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "position": { + "type": "string", + "nullable": true + }, + "seriesPosition": { + "type": "integer", + "format": "int32" + }, + "seriesId": { + "type": "integer", + "format": "int32" + }, + "bookId": { + "type": "integer", + "format": "int32" + }, + "isPrimary": { + "type": "boolean" + }, + "series": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Series, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" + }, + "book": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Book, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Configuration.AllowFingerprinting": { + "enum": [ + "never", + "newFiles", + "allFiles" + ], + "type": "string" + }, + "NzbDrone.Core.Configuration.RescanAfterRefreshType": { + "enum": [ + "always", + "afterManual", + "never" + ], + "type": "string" + }, + "NzbDrone.Core.Configuration.WriteAudioTagsType": { + "enum": [ + "no", + "newFiles", + "allFiles", + "sync" + ], + "type": "string" + }, + "NzbDrone.Core.Configuration.WriteBookTagsType": { + "enum": [ + "newFiles", + "allFiles", + "sync" + ], + "type": "string" + }, + "NzbDrone.Core.CustomFormats.CustomFormat": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "includeCustomFormatWhenRenaming": { + "type": "boolean" + }, + "specifications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.CustomFormats.ICustomFormatSpecification" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.CustomFormats.ICustomFormatSpecification": { + "type": "object", + "properties": { + "order": { + "type": "integer", + "format": "int32", + "readOnly": true + }, + "infoLink": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "implementationName": { + "type": "string", + "nullable": true, + "readOnly": true + }, + "name": { + "type": "string", + "nullable": true + }, + "negate": { + "type": "boolean" + }, + "required": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.DatabaseType": { + "enum": [ + "sqLite", + "postgreSQL" + ], + "type": "string" + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Author, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Author" + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.AuthorMetadata, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.AuthorMetadata" + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Book, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Book" + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Edition, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Edition" + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Series, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Series" + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Profiles.Metadata.MetadataProfile, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/NzbDrone.Core.Profiles.Metadata.MetadataProfile" + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Profiles.Qualities.QualityProfile, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "value": { + "$ref": "#/components/schemas/NzbDrone.Core.Profiles.Qualities.QualityProfile" + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.Book, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Book" + }, + "nullable": true, + "readOnly": true + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.Edition, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Edition" + }, + "nullable": true, + "readOnly": true + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.Series, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Series" + }, + "nullable": true, + "readOnly": true + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.Books.SeriesBookLink, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.SeriesBookLink" + }, + "nullable": true, + "readOnly": true + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.LazyLoaded`1[[System.Collections.Generic.List`1[[NzbDrone.Core.MediaFiles.BookFile, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.MediaFiles.BookFile" + }, + "nullable": true, + "readOnly": true + }, + "isLoaded": { + "type": "boolean", + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Datastore.SortDirection": { + "enum": [ + "default", + "ascending", + "descending" + ], + "type": "string" + }, + "NzbDrone.Core.DecisionEngine.Rejection": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/NzbDrone.Core.DecisionEngine.RejectionType" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.DecisionEngine.RejectionType": { + "enum": [ + "permanent", + "temporary" + ], + "type": "string" + }, + "NzbDrone.Core.Download.TrackedDownloads.TrackedDownloadState": { + "enum": [ + "downloading", + "downloadFailed", + "downloadFailedPending", + "importPending", + "importing", + "importFailed", + "imported", + "ignored" + ], + "type": "string" + }, + "NzbDrone.Core.Download.TrackedDownloads.TrackedDownloadStatus": { + "enum": [ + "ok", + "warning", + "error" + ], + "type": "string" + }, + "NzbDrone.Core.Download.TrackedDownloads.TrackedDownloadStatusMessage": { + "type": "object", + "properties": { + "title": { + "type": "string", + "nullable": true + }, + "messages": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.HealthCheck.HealthCheckResult": { + "enum": [ + "ok", + "notice", + "warning", + "error" + ], + "type": "string" + }, + "NzbDrone.Core.History.EntityHistoryEventType": { + "enum": [ + "unknown", + "grabbed", + "bookFileImported", + "downloadFailed", + "bookFileDeleted", + "bookFileRenamed", + "bookImportIncomplete", + "downloadImported", + "bookFileRetagged", + "downloadIgnored" + ], + "type": "string" + }, + "NzbDrone.Core.ImportLists.ImportListMonitorType": { + "enum": [ + "none", + "specificBook", + "entireAuthor" + ], + "type": "string" + }, + "NzbDrone.Core.ImportLists.ImportListType": { + "enum": [ + "program", + "goodreads", + "other" + ], + "type": "string" + }, + "NzbDrone.Core.Indexers.DownloadProtocol": { + "enum": [ + "unknown", + "usenet", + "torrent" + ], + "type": "string" + }, + "NzbDrone.Core.MediaCover.MediaCover": { + "type": "object", + "properties": { + "url": { + "type": "string", + "nullable": true + }, + "coverType": { + "$ref": "#/components/schemas/NzbDrone.Core.MediaCover.MediaCoverTypes" + }, + "extension": { + "type": "string", + "nullable": true, + "readOnly": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.MediaCover.MediaCoverTypes": { + "enum": [ + "unknown", + "poster", + "banner", + "fanart", + "screenshot", + "headshot", + "cover", + "disc", + "logo" + ], + "type": "string" + }, + "NzbDrone.Core.MediaFiles.BookFile": { "type": "object", "properties": { "id": { @@ -9186,6 +9911,10 @@ "type": "string", "format": "date-time" }, + "originalFilePath": { + "type": "string", + "nullable": true + }, "sceneName": { "type": "string", "nullable": true @@ -9195,10 +9924,10 @@ "nullable": true }, "quality": { - "$ref": "#/components/schemas/QualityModel" + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" }, "mediaInfo": { - "$ref": "#/components/schemas/MediaInfoModel" + "$ref": "#/components/schemas/NzbDrone.Core.Parser.Model.MediaInfoModel" }, "editionId": { "type": "integer", @@ -9213,10 +9942,10 @@ "format": "int32" }, "author": { - "$ref": "#/components/schemas/AuthorLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Author, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" }, "edition": { - "$ref": "#/components/schemas/EditionLazyLoaded" + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.LazyLoaded`1[[NzbDrone.Core.Books.Edition, Readarr.Core, Version=10.0.0.13362, Culture=neutral, PublicKeyToken=null]]" }, "partCount": { "type": "integer", @@ -9225,356 +9954,14 @@ }, "additionalProperties": false }, - "BookFileListLazyLoaded": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookFile" - }, - "nullable": true, - "readOnly": true - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "BookFileListResource": { - "type": "object", - "properties": { - "bookFileIds": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "quality": { - "$ref": "#/components/schemas/QualityModel" - } - }, - "additionalProperties": false - }, - "BookFileResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "authorId": { - "type": "integer", - "format": "int32" - }, - "bookId": { - "type": "integer", - "format": "int32" - }, - "path": { - "type": "string", - "nullable": true - }, - "size": { - "type": "integer", - "format": "int64" - }, - "dateAdded": { - "type": "string", - "format": "date-time" - }, - "quality": { - "$ref": "#/components/schemas/QualityModel" - }, - "qualityWeight": { - "type": "integer", - "format": "int32" - }, - "mediaInfo": { - "$ref": "#/components/schemas/MediaInfoResource" - }, - "qualityCutoffNotMet": { - "type": "boolean" - }, - "audioTags": { - "$ref": "#/components/schemas/ParsedTrackInfo" - } - }, - "additionalProperties": false - }, - "BookLazyLoaded": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/Book" - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "BookListLazyLoaded": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Book" - }, - "nullable": true, - "readOnly": true - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "BookResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "title": { - "type": "string", - "nullable": true - }, - "authorTitle": { - "type": "string", - "nullable": true - }, - "seriesTitle": { - "type": "string", - "nullable": true - }, - "disambiguation": { - "type": "string", - "nullable": true - }, - "overview": { - "type": "string", - "nullable": true - }, - "authorId": { - "type": "integer", - "format": "int32" - }, - "foreignBookId": { - "type": "string", - "nullable": true - }, - "titleSlug": { - "type": "string", - "nullable": true - }, - "monitored": { - "type": "boolean" - }, - "anyEditionOk": { - "type": "boolean" - }, - "ratings": { - "$ref": "#/components/schemas/Ratings" - }, - "releaseDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32" - }, - "genres": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "author": { - "$ref": "#/components/schemas/AuthorResource" - }, - "images": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MediaCover" - }, - "nullable": true - }, - "links": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Links" - }, - "nullable": true - }, - "statistics": { - "$ref": "#/components/schemas/BookStatisticsResource" - }, - "added": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "addOptions": { - "$ref": "#/components/schemas/AddBookOptions" - }, - "remoteCover": { - "type": "string", - "nullable": true - }, - "editions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EditionResource" - }, - "nullable": true - }, - "grabbed": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "BookResourcePagingResource": { - "type": "object", - "properties": { - "page": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "sortKey": { - "type": "string", - "nullable": true - }, - "sortDirection": { - "$ref": "#/components/schemas/SortDirection" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PagingResourceFilter" - }, - "nullable": true - }, - "totalRecords": { - "type": "integer", - "format": "int32" - }, - "records": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookResource" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "BookshelfAuthorResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "monitored": { - "type": "boolean", - "nullable": true - }, - "books": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookResource" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "BookshelfResource": { - "type": "object", - "properties": { - "authors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookshelfAuthorResource" - }, - "nullable": true - }, - "monitoringOptions": { - "$ref": "#/components/schemas/MonitoringOptions" - } - }, - "additionalProperties": false - }, - "BooksMonitoredResource": { - "type": "object", - "properties": { - "bookIds": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "monitored": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "BookStatisticsResource": { - "type": "object", - "properties": { - "bookFileCount": { - "type": "integer", - "format": "int32" - }, - "bookCount": { - "type": "integer", - "format": "int32" - }, - "totalBookCount": { - "type": "integer", - "format": "int32" - }, - "sizeOnDisk": { - "type": "integer", - "format": "int64" - }, - "percentOfBooks": { - "type": "number", - "format": "double", - "readOnly": true - } - }, - "additionalProperties": false - }, - "CertificateValidationType": { + "NzbDrone.Core.MediaFiles.FileDateType": { "enum": [ - "enabled", - "disabledForLocalAddresses", - "disabled" + "none", + "bookReleaseDate" ], "type": "string" }, - "Command": { + "NzbDrone.Core.Messaging.Commands.Command": { "type": "object", "properties": { "sendUpdatesToClient": { @@ -9601,6 +9988,10 @@ "type": "boolean", "readOnly": true }, + "isLongRunning": { + "type": "boolean", + "readOnly": true + }, "name": { "type": "string", "nullable": true, @@ -9617,7 +10008,7 @@ "nullable": true }, "trigger": { - "$ref": "#/components/schemas/CommandTrigger" + "$ref": "#/components/schemas/NzbDrone.Core.Messaging.Commands.CommandTrigger" }, "suppressMessages": { "type": "boolean" @@ -9629,7 +10020,7 @@ }, "additionalProperties": false }, - "CommandPriority": { + "NzbDrone.Core.Messaging.Commands.CommandPriority": { "enum": [ "normal", "high", @@ -9637,82 +10028,7 @@ ], "type": "string" }, - "CommandResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "commandName": { - "type": "string", - "nullable": true - }, - "message": { - "type": "string", - "nullable": true - }, - "body": { - "$ref": "#/components/schemas/Command" - }, - "priority": { - "$ref": "#/components/schemas/CommandPriority" - }, - "status": { - "$ref": "#/components/schemas/CommandStatus" - }, - "queued": { - "type": "string", - "format": "date-time" - }, - "started": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "ended": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "duration": { - "$ref": "#/components/schemas/TimeSpan" - }, - "exception": { - "type": "string", - "nullable": true - }, - "trigger": { - "$ref": "#/components/schemas/CommandTrigger" - }, - "clientUserAgent": { - "type": "string", - "nullable": true - }, - "stateChangeTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "sendUpdatesToClient": { - "type": "boolean" - }, - "updateScheduledTask": { - "type": "boolean" - }, - "lastExecutionTime": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "CommandStatus": { + "NzbDrone.Core.Messaging.Commands.CommandStatus": { "enum": [ "queued", "started", @@ -9724,7 +10040,7 @@ ], "type": "string" }, - "CommandTrigger": { + "NzbDrone.Core.Messaging.Commands.CommandTrigger": { "enum": [ "unspecified", "manual", @@ -9732,1043 +10048,7 @@ ], "type": "string" }, - "CustomFilterResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "type": { - "type": "string", - "nullable": true - }, - "label": { - "type": "string", - "nullable": true - }, - "filters": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { } - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "DelayProfileResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "enableUsenet": { - "type": "boolean" - }, - "enableTorrent": { - "type": "boolean" - }, - "preferredProtocol": { - "$ref": "#/components/schemas/DownloadProtocol" - }, - "usenetDelay": { - "type": "integer", - "format": "int32" - }, - "torrentDelay": { - "type": "integer", - "format": "int32" - }, - "order": { - "type": "integer", - "format": "int32" - }, - "tags": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "DevelopmentConfigResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "metadataSource": { - "type": "string", - "nullable": true - }, - "consoleLogLevel": { - "type": "string", - "nullable": true - }, - "logSql": { - "type": "boolean" - }, - "logRotate": { - "type": "integer", - "format": "int32" - }, - "filterSentryEvents": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "DiskSpaceResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "path": { - "type": "string", - "nullable": true - }, - "label": { - "type": "string", - "nullable": true - }, - "freeSpace": { - "type": "integer", - "format": "int64" - }, - "totalSpace": { - "type": "integer", - "format": "int64" - } - }, - "additionalProperties": false - }, - "DownloadClientConfigResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "downloadClientWorkingFolders": { - "type": "string", - "nullable": true - }, - "enableCompletedDownloadHandling": { - "type": "boolean" - }, - "removeCompletedDownloads": { - "type": "boolean" - }, - "autoRedownloadFailed": { - "type": "boolean" - }, - "removeFailedDownloads": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "DownloadClientResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Field" - }, - "nullable": true - }, - "implementationName": { - "type": "string", - "nullable": true - }, - "implementation": { - "type": "string", - "nullable": true - }, - "configContract": { - "type": "string", - "nullable": true - }, - "infoLink": { - "type": "string", - "nullable": true - }, - "message": { - "$ref": "#/components/schemas/ProviderMessage" - }, - "tags": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "presets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DownloadClientResource" - }, - "nullable": true - }, - "enable": { - "type": "boolean" - }, - "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" - }, - "priority": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "DownloadProtocol": { - "enum": [ - "unknown", - "usenet", - "torrent" - ], - "type": "string" - }, - "Edition": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "bookId": { - "type": "integer", - "format": "int32" - }, - "foreignEditionId": { - "type": "string", - "nullable": true - }, - "titleSlug": { - "type": "string", - "nullable": true - }, - "isbn13": { - "type": "string", - "nullable": true - }, - "asin": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "overview": { - "type": "string", - "nullable": true - }, - "format": { - "type": "string", - "nullable": true - }, - "isEbook": { - "type": "boolean" - }, - "disambiguation": { - "type": "string", - "nullable": true - }, - "publisher": { - "type": "string", - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32" - }, - "releaseDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "images": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MediaCover" - }, - "nullable": true - }, - "links": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Links" - }, - "nullable": true - }, - "ratings": { - "$ref": "#/components/schemas/Ratings" - }, - "monitored": { - "type": "boolean" - }, - "manualAdd": { - "type": "boolean" - }, - "book": { - "$ref": "#/components/schemas/BookLazyLoaded" - }, - "bookFiles": { - "$ref": "#/components/schemas/BookFileListLazyLoaded" - } - }, - "additionalProperties": false - }, - "EditionLazyLoaded": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/Edition" - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "EditionListLazyLoaded": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Edition" - }, - "nullable": true, - "readOnly": true - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "EditionResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "bookId": { - "type": "integer", - "format": "int32" - }, - "foreignEditionId": { - "type": "string", - "nullable": true - }, - "titleSlug": { - "type": "string", - "nullable": true - }, - "isbn13": { - "type": "string", - "nullable": true - }, - "asin": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "language": { - "type": "string", - "nullable": true - }, - "overview": { - "type": "string", - "nullable": true - }, - "format": { - "type": "string", - "nullable": true - }, - "isEbook": { - "type": "boolean" - }, - "disambiguation": { - "type": "string", - "nullable": true - }, - "publisher": { - "type": "string", - "nullable": true - }, - "pageCount": { - "type": "integer", - "format": "int32" - }, - "releaseDate": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "images": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MediaCover" - }, - "nullable": true - }, - "links": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Links" - }, - "nullable": true - }, - "ratings": { - "$ref": "#/components/schemas/Ratings" - }, - "monitored": { - "type": "boolean" - }, - "manualAdd": { - "type": "boolean" - }, - "remoteCover": { - "type": "string", - "nullable": true - }, - "grabbed": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "Field": { - "type": "object", - "properties": { - "order": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "label": { - "type": "string", - "nullable": true - }, - "unit": { - "type": "string", - "nullable": true - }, - "helpText": { - "type": "string", - "nullable": true - }, - "helpLink": { - "type": "string", - "nullable": true - }, - "value": { - "nullable": true - }, - "type": { - "type": "string", - "nullable": true - }, - "advanced": { - "type": "boolean" - }, - "selectOptions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SelectOption" - }, - "nullable": true - }, - "selectOptionsProviderAction": { - "type": "string", - "nullable": true - }, - "section": { - "type": "string", - "nullable": true - }, - "hidden": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "FileDateType": { - "enum": [ - "none", - "bookReleaseDate" - ], - "type": "string" - }, - "HealthCheckResult": { - "enum": [ - "ok", - "notice", - "warning", - "error" - ], - "type": "string" - }, - "HealthResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "source": { - "type": "string", - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/HealthCheckResult" - }, - "message": { - "type": "string", - "nullable": true - }, - "wikiUrl": { - "$ref": "#/components/schemas/HttpUri" - } - }, - "additionalProperties": false - }, - "HistoryEventType": { - "enum": [ - "unknown", - "grabbed", - "authorFolderImported", - "bookFileImported", - "downloadFailed", - "bookFileDeleted", - "bookFileRenamed", - "bookImportIncomplete", - "downloadImported", - "bookFileRetagged", - "downloadIgnored" - ], - "type": "string" - }, - "HistoryResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "bookId": { - "type": "integer", - "format": "int32" - }, - "authorId": { - "type": "integer", - "format": "int32" - }, - "sourceTitle": { - "type": "string", - "nullable": true - }, - "quality": { - "$ref": "#/components/schemas/QualityModel" - }, - "qualityCutoffNotMet": { - "type": "boolean" - }, - "date": { - "type": "string", - "format": "date-time" - }, - "downloadId": { - "type": "string", - "nullable": true - }, - "eventType": { - "$ref": "#/components/schemas/HistoryEventType" - }, - "data": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "nullable": true - }, - "book": { - "$ref": "#/components/schemas/BookResource" - }, - "author": { - "$ref": "#/components/schemas/AuthorResource" - } - }, - "additionalProperties": false - }, - "HistoryResourcePagingResource": { - "type": "object", - "properties": { - "page": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "sortKey": { - "type": "string", - "nullable": true - }, - "sortDirection": { - "$ref": "#/components/schemas/SortDirection" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PagingResourceFilter" - }, - "nullable": true - }, - "totalRecords": { - "type": "integer", - "format": "int32" - }, - "records": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HistoryResource" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "HostConfigResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "bindAddress": { - "type": "string", - "nullable": true - }, - "port": { - "type": "integer", - "format": "int32" - }, - "sslPort": { - "type": "integer", - "format": "int32" - }, - "enableSsl": { - "type": "boolean" - }, - "launchBrowser": { - "type": "boolean" - }, - "authenticationMethod": { - "$ref": "#/components/schemas/AuthenticationType" - }, - "analyticsEnabled": { - "type": "boolean" - }, - "username": { - "type": "string", - "nullable": true - }, - "password": { - "type": "string", - "nullable": true - }, - "logLevel": { - "type": "string", - "nullable": true - }, - "consoleLogLevel": { - "type": "string", - "nullable": true - }, - "branch": { - "type": "string", - "nullable": true - }, - "apiKey": { - "type": "string", - "nullable": true - }, - "sslCertPath": { - "type": "string", - "nullable": true - }, - "sslCertPassword": { - "type": "string", - "nullable": true - }, - "urlBase": { - "type": "string", - "nullable": true - }, - "updateAutomatically": { - "type": "boolean" - }, - "updateMechanism": { - "$ref": "#/components/schemas/UpdateMechanism" - }, - "updateScriptPath": { - "type": "string", - "nullable": true - }, - "proxyEnabled": { - "type": "boolean" - }, - "proxyType": { - "$ref": "#/components/schemas/ProxyType" - }, - "proxyHostname": { - "type": "string", - "nullable": true - }, - "proxyPort": { - "type": "integer", - "format": "int32" - }, - "proxyUsername": { - "type": "string", - "nullable": true - }, - "proxyPassword": { - "type": "string", - "nullable": true - }, - "proxyBypassFilter": { - "type": "string", - "nullable": true - }, - "proxyBypassLocalAddresses": { - "type": "boolean" - }, - "certificateValidation": { - "$ref": "#/components/schemas/CertificateValidationType" - }, - "backupFolder": { - "type": "string", - "nullable": true - }, - "backupInterval": { - "type": "integer", - "format": "int32" - }, - "backupRetention": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "HttpUri": { - "type": "object", - "properties": { - "fullUri": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "scheme": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "host": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "port": { - "type": "integer", - "format": "int32", - "nullable": true, - "readOnly": true - }, - "path": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "query": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "fragment": { - "type": "string", - "nullable": true, - "readOnly": true - } - }, - "additionalProperties": false - }, - "ImportListExclusionResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "foreignId": { - "type": "string", - "nullable": true - }, - "authorName": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "ImportListMonitorType": { - "enum": [ - "none", - "specificBook", - "entireAuthor" - ], - "type": "string" - }, - "ImportListResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Field" - }, - "nullable": true - }, - "implementationName": { - "type": "string", - "nullable": true - }, - "implementation": { - "type": "string", - "nullable": true - }, - "configContract": { - "type": "string", - "nullable": true - }, - "infoLink": { - "type": "string", - "nullable": true - }, - "message": { - "$ref": "#/components/schemas/ProviderMessage" - }, - "tags": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "presets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImportListResource" - }, - "nullable": true - }, - "enableAutomaticAdd": { - "type": "boolean" - }, - "shouldMonitor": { - "$ref": "#/components/schemas/ImportListMonitorType" - }, - "shouldSearch": { - "type": "boolean" - }, - "rootFolderPath": { - "type": "string", - "nullable": true - }, - "qualityProfileId": { - "type": "integer", - "format": "int32" - }, - "metadataProfileId": { - "type": "integer", - "format": "int32" - }, - "listType": { - "$ref": "#/components/schemas/ImportListType" - }, - "listOrder": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "ImportListType": { - "enum": [ - "program", - "goodreads", - "other" - ], - "type": "string" - }, - "IndexerConfigResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "minimumAge": { - "type": "integer", - "format": "int32" - }, - "maximumSize": { - "type": "integer", - "format": "int32" - }, - "retention": { - "type": "integer", - "format": "int32" - }, - "rssSyncInterval": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "IndexerResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Field" - }, - "nullable": true - }, - "implementationName": { - "type": "string", - "nullable": true - }, - "implementation": { - "type": "string", - "nullable": true - }, - "configContract": { - "type": "string", - "nullable": true - }, - "infoLink": { - "type": "string", - "nullable": true - }, - "message": { - "$ref": "#/components/schemas/ProviderMessage" - }, - "tags": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "presets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerResource" - }, - "nullable": true - }, - "enableRss": { - "type": "boolean" - }, - "enableAutomaticSearch": { - "type": "boolean" - }, - "enableInteractiveSearch": { - "type": "boolean" - }, - "supportsRss": { - "type": "boolean" - }, - "supportsSearch": { - "type": "boolean" - }, - "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" - }, - "priority": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "IsoCountry": { + "NzbDrone.Core.Parser.IsoCountry": { "type": "object", "properties": { "twoLetterCode": { @@ -10782,237 +10062,25 @@ }, "additionalProperties": false }, - "LanguageResource": { + "NzbDrone.Core.Parser.Model.AuthorTitleInfo": { "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { + "title": { "type": "string", "nullable": true }, - "nameLower": { + "titleWithoutYear": { "type": "string", - "nullable": true, - "readOnly": true + "nullable": true + }, + "year": { + "type": "integer", + "format": "int32" } }, "additionalProperties": false }, - "Links": { - "type": "object", - "properties": { - "url": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "LogFileResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "filename": { - "type": "string", - "nullable": true - }, - "lastWriteTime": { - "type": "string", - "format": "date-time" - }, - "contentsUrl": { - "type": "string", - "nullable": true - }, - "downloadUrl": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "LogResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "time": { - "type": "string", - "format": "date-time" - }, - "exception": { - "type": "string", - "nullable": true - }, - "exceptionType": { - "type": "string", - "nullable": true - }, - "level": { - "type": "string", - "nullable": true - }, - "logger": { - "type": "string", - "nullable": true - }, - "message": { - "type": "string", - "nullable": true - }, - "method": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "LogResourcePagingResource": { - "type": "object", - "properties": { - "page": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "sortKey": { - "type": "string", - "nullable": true - }, - "sortDirection": { - "$ref": "#/components/schemas/SortDirection" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PagingResourceFilter" - }, - "nullable": true - }, - "totalRecords": { - "type": "integer", - "format": "int32" - }, - "records": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LogResource" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "ManualImportResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "path": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "nullable": true - }, - "size": { - "type": "integer", - "format": "int64" - }, - "author": { - "$ref": "#/components/schemas/AuthorResource" - }, - "book": { - "$ref": "#/components/schemas/BookResource" - }, - "foreignEditionId": { - "type": "string", - "nullable": true - }, - "quality": { - "$ref": "#/components/schemas/QualityModel" - }, - "qualityWeight": { - "type": "integer", - "format": "int32" - }, - "downloadId": { - "type": "string", - "nullable": true - }, - "rejections": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Rejection" - }, - "nullable": true - }, - "audioTags": { - "$ref": "#/components/schemas/ParsedTrackInfo" - }, - "additionalFile": { - "type": "boolean" - }, - "replaceExistingFiles": { - "type": "boolean" - }, - "disableReleaseSwitching": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "MediaCover": { - "type": "object", - "properties": { - "url": { - "type": "string", - "nullable": true - }, - "coverType": { - "$ref": "#/components/schemas/MediaCoverTypes" - }, - "extension": { - "type": "string", - "nullable": true, - "readOnly": true - } - }, - "additionalProperties": false - }, - "MediaCoverTypes": { - "enum": [ - "unknown", - "poster", - "banner", - "fanart", - "screenshot", - "headshot", - "cover", - "disc", - "logo" - ], - "type": "string" - }, - "MediaInfoModel": { + "NzbDrone.Core.Parser.Model.MediaInfoModel": { "type": "object", "properties": { "audioFormat": { @@ -11038,493 +10106,7 @@ }, "additionalProperties": false }, - "MediaInfoResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "audioChannels": { - "type": "number", - "format": "double" - }, - "audioBitRate": { - "type": "string", - "nullable": true - }, - "audioCodec": { - "type": "string", - "nullable": true - }, - "audioBits": { - "type": "string", - "nullable": true - }, - "audioSampleRate": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "MediaManagementConfigResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "autoUnmonitorPreviouslyDownloadedBooks": { - "type": "boolean" - }, - "recycleBin": { - "type": "string", - "nullable": true - }, - "recycleBinCleanupDays": { - "type": "integer", - "format": "int32" - }, - "downloadPropersAndRepacks": { - "$ref": "#/components/schemas/ProperDownloadTypes" - }, - "createEmptyAuthorFolders": { - "type": "boolean" - }, - "deleteEmptyFolders": { - "type": "boolean" - }, - "fileDate": { - "$ref": "#/components/schemas/FileDateType" - }, - "watchLibraryForChanges": { - "type": "boolean" - }, - "rescanAfterRefresh": { - "$ref": "#/components/schemas/RescanAfterRefreshType" - }, - "allowFingerprinting": { - "$ref": "#/components/schemas/AllowFingerprinting" - }, - "setPermissionsLinux": { - "type": "boolean" - }, - "chmodFolder": { - "type": "string", - "nullable": true - }, - "chownGroup": { - "type": "string", - "nullable": true - }, - "skipFreeSpaceCheckWhenImporting": { - "type": "boolean" - }, - "minimumFreeSpaceWhenImporting": { - "type": "integer", - "format": "int32" - }, - "copyUsingHardlinks": { - "type": "boolean" - }, - "importExtraFiles": { - "type": "boolean" - }, - "extraFileExtensions": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "MetadataProfile": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "minPopularity": { - "type": "number", - "format": "double" - }, - "skipMissingDate": { - "type": "boolean" - }, - "skipMissingIsbn": { - "type": "boolean" - }, - "skipPartsAndSets": { - "type": "boolean" - }, - "skipSeriesSecondary": { - "type": "boolean" - }, - "allowedLanguages": { - "type": "string", - "nullable": true - }, - "minPages": { - "type": "integer", - "format": "int32" - }, - "ignored": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "MetadataProfileLazyLoaded": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/MetadataProfile" - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "MetadataProfileResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "minPopularity": { - "type": "number", - "format": "double" - }, - "skipMissingDate": { - "type": "boolean" - }, - "skipMissingIsbn": { - "type": "boolean" - }, - "skipPartsAndSets": { - "type": "boolean" - }, - "skipSeriesSecondary": { - "type": "boolean" - }, - "allowedLanguages": { - "type": "string", - "nullable": true - }, - "minPages": { - "type": "integer", - "format": "int32" - }, - "ignored": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "MetadataProviderConfigResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "writeAudioTags": { - "$ref": "#/components/schemas/WriteAudioTagsType" - }, - "scrubAudioTags": { - "type": "boolean" - }, - "writeBookTags": { - "$ref": "#/components/schemas/WriteBookTagsType" - }, - "updateCovers": { - "type": "boolean" - }, - "embedMetadata": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "MetadataResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Field" - }, - "nullable": true - }, - "implementationName": { - "type": "string", - "nullable": true - }, - "implementation": { - "type": "string", - "nullable": true - }, - "configContract": { - "type": "string", - "nullable": true - }, - "infoLink": { - "type": "string", - "nullable": true - }, - "message": { - "$ref": "#/components/schemas/ProviderMessage" - }, - "tags": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "presets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetadataResource" - }, - "nullable": true - }, - "enable": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "MonitoringOptions": { - "type": "object", - "properties": { - "monitor": { - "$ref": "#/components/schemas/MonitorTypes" - }, - "booksToMonitor": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "monitored": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "MonitorTypes": { - "enum": [ - "all", - "future", - "missing", - "existing", - "latest", - "first", - "none", - "unknown" - ], - "type": "string" - }, - "NamingConfigResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "renameBooks": { - "type": "boolean" - }, - "replaceIllegalCharacters": { - "type": "boolean" - }, - "standardBookFormat": { - "type": "string", - "nullable": true - }, - "authorFolderFormat": { - "type": "string", - "nullable": true - }, - "includeAuthorName": { - "type": "boolean" - }, - "includeBookTitle": { - "type": "boolean" - }, - "includeQuality": { - "type": "boolean" - }, - "replaceSpaces": { - "type": "boolean" - }, - "separator": { - "type": "string", - "nullable": true - }, - "numberStyle": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "NotificationResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "fields": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Field" - }, - "nullable": true - }, - "implementationName": { - "type": "string", - "nullable": true - }, - "implementation": { - "type": "string", - "nullable": true - }, - "configContract": { - "type": "string", - "nullable": true - }, - "infoLink": { - "type": "string", - "nullable": true - }, - "message": { - "$ref": "#/components/schemas/ProviderMessage" - }, - "tags": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "presets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationResource" - }, - "nullable": true - }, - "link": { - "type": "string", - "nullable": true - }, - "onGrab": { - "type": "boolean" - }, - "onReleaseImport": { - "type": "boolean" - }, - "onUpgrade": { - "type": "boolean" - }, - "onRename": { - "type": "boolean" - }, - "onHealthIssue": { - "type": "boolean" - }, - "onDownloadFailure": { - "type": "boolean" - }, - "onImportFailure": { - "type": "boolean" - }, - "onBookRetag": { - "type": "boolean" - }, - "supportsOnGrab": { - "type": "boolean" - }, - "supportsOnReleaseImport": { - "type": "boolean" - }, - "supportsOnUpgrade": { - "type": "boolean" - }, - "supportsOnRename": { - "type": "boolean" - }, - "supportsOnHealthIssue": { - "type": "boolean" - }, - "includeHealthWarnings": { - "type": "boolean" - }, - "supportsOnDownloadFailure": { - "type": "boolean" - }, - "supportsOnImportFailure": { - "type": "boolean" - }, - "supportsOnBookRetag": { - "type": "boolean" - }, - "testCommand": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "PagingResourceFilter": { - "type": "object", - "properties": { - "key": { - "type": "string", - "nullable": true - }, - "value": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "ParsedBookInfo": { + "NzbDrone.Core.Parser.Model.ParsedBookInfo": { "type": "object", "properties": { "bookTitle": { @@ -11536,10 +10118,10 @@ "nullable": true }, "authorTitleInfo": { - "$ref": "#/components/schemas/AuthorTitleInfo" + "$ref": "#/components/schemas/NzbDrone.Core.Parser.Model.AuthorTitleInfo" }, "quality": { - "$ref": "#/components/schemas/QualityModel" + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" }, "releaseDate": { "type": "string", @@ -11567,11 +10149,15 @@ "releaseVersion": { "type": "string", "nullable": true + }, + "releaseTitle": { + "type": "string", + "nullable": true } }, "additionalProperties": false }, - "ParsedTrackInfo": { + "NzbDrone.Core.Parser.Model.ParsedTrackInfo": { "type": "object", "properties": { "title": { @@ -11647,7 +10233,7 @@ "format": "int32" }, "country": { - "$ref": "#/components/schemas/IsoCountry" + "$ref": "#/components/schemas/NzbDrone.Core.Parser.IsoCountry" }, "year": { "type": "integer", @@ -11674,13 +10260,13 @@ "nullable": true }, "duration": { - "$ref": "#/components/schemas/TimeSpan" + "$ref": "#/components/schemas/System.TimeSpan" }, "quality": { - "$ref": "#/components/schemas/QualityModel" + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" }, "mediaInfo": { - "$ref": "#/components/schemas/MediaInfoModel" + "$ref": "#/components/schemas/NzbDrone.Core.Parser.Model.MediaInfoModel" }, "trackNumbers": { "type": "array", @@ -11705,34 +10291,132 @@ }, "additionalProperties": false }, - "ParseResource": { + "NzbDrone.Core.Profiles.Metadata.MetadataProfile": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, - "title": { + "name": { "type": "string", "nullable": true }, - "parsedBookInfo": { - "$ref": "#/components/schemas/ParsedBookInfo" + "minPopularity": { + "type": "number", + "format": "double" }, - "author": { - "$ref": "#/components/schemas/AuthorResource" + "skipMissingDate": { + "type": "boolean" }, - "books": { + "skipMissingIsbn": { + "type": "boolean" + }, + "skipPartsAndSets": { + "type": "boolean" + }, + "skipSeriesSecondary": { + "type": "boolean" + }, + "allowedLanguages": { + "type": "string", + "nullable": true + }, + "minPages": { + "type": "integer", + "format": "int32" + }, + "ignored": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Profiles.ProfileFormatItem": { + "type": "object", + "properties": { + "format": { + "$ref": "#/components/schemas/NzbDrone.Core.CustomFormats.CustomFormat" + }, + "score": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Profiles.Qualities.QualityProfile": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "upgradeAllowed": { + "type": "boolean" + }, + "cutoff": { + "type": "integer", + "format": "int32" + }, + "minFormatScore": { + "type": "integer", + "format": "int32" + }, + "cutoffFormatScore": { + "type": "integer", + "format": "int32" + }, + "formatItems": { "type": "array", "items": { - "$ref": "#/components/schemas/BookResource" + "$ref": "#/components/schemas/NzbDrone.Core.Profiles.ProfileFormatItem" + }, + "nullable": true + }, + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Profiles.Qualities.QualityProfileQualityItem" }, "nullable": true } }, "additionalProperties": false }, - "ProperDownloadTypes": { + "NzbDrone.Core.Profiles.Qualities.QualityProfileQualityItem": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.Quality" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Profiles.Qualities.QualityProfileQualityItem" + }, + "nullable": true + }, + "allowed": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Qualities.ProperDownloadTypes": { "enum": [ "preferAndUpgrade", "doNotUpgrade", @@ -11740,7 +10424,58 @@ ], "type": "string" }, - "ProviderMessage": { + "NzbDrone.Core.Qualities.Quality": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Qualities.QualityModel": { + "type": "object", + "properties": { + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.Quality" + }, + "revision": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.Revision" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Qualities.Revision": { + "type": "object", + "properties": { + "version": { + "type": "integer", + "format": "int32" + }, + "real": { + "type": "integer", + "format": "int32" + }, + "isRepack": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "NzbDrone.Core.Security.CertificateValidationType": { + "enum": [ + "enabled", + "disabledForLocalAddresses", + "disabled" + ], + "type": "string" + }, + "NzbDrone.Core.ThingiProvider.ProviderMessage": { "type": "object", "properties": { "message": { @@ -11748,12 +10483,12 @@ "nullable": true }, "type": { - "$ref": "#/components/schemas/ProviderMessageType" + "$ref": "#/components/schemas/NzbDrone.Core.ThingiProvider.ProviderMessageType" } }, "additionalProperties": false }, - "ProviderMessageType": { + "NzbDrone.Core.ThingiProvider.ProviderMessageType": { "enum": [ "info", "warning", @@ -11761,195 +10496,288 @@ ], "type": "string" }, - "ProxyType": { - "enum": [ - "http", - "socks4", - "socks5" - ], - "type": "string" - }, - "Quality": { + "NzbDrone.Core.Update.UpdateChanges": { "type": "object", "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "QualityDefinitionResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "quality": { - "$ref": "#/components/schemas/Quality" - }, - "title": { - "type": "string", - "nullable": true - }, - "weight": { - "type": "integer", - "format": "int32" - }, - "minSize": { - "type": "number", - "format": "double", - "nullable": true - }, - "maxSize": { - "type": "number", - "format": "double", - "nullable": true - } - }, - "additionalProperties": false - }, - "QualityModel": { - "type": "object", - "properties": { - "quality": { - "$ref": "#/components/schemas/Quality" - }, - "revision": { - "$ref": "#/components/schemas/Revision" - } - }, - "additionalProperties": false - }, - "QualityProfile": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "upgradeAllowed": { - "type": "boolean" - }, - "cutoff": { - "type": "integer", - "format": "int32" - }, - "items": { + "new": { "type": "array", "items": { - "$ref": "#/components/schemas/QualityProfileQualityItem" + "type": "string" + }, + "nullable": true + }, + "fixed": { + "type": "array", + "items": { + "type": "string" }, "nullable": true } }, "additionalProperties": false }, - "QualityProfileLazyLoaded": { + "NzbDrone.Core.Update.UpdateMechanism": { + "enum": [ + "builtIn", + "script", + "external", + "apt", + "docker" + ], + "type": "string" + }, + "Prowlarr.Api.V1.Config.DevelopmentConfigResource": { "type": "object", "properties": { - "value": { - "$ref": "#/components/schemas/QualityProfile" + "id": { + "type": "integer", + "format": "int32" }, - "isLoaded": { + "metadataSource": { + "type": "string", + "nullable": true + }, + "consoleLogLevel": { + "type": "string", + "nullable": true + }, + "logSql": { + "type": "boolean" + }, + "logRotate": { + "type": "integer", + "format": "int32" + }, + "filterSentryEvents": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Author.ApplyTags": { + "enum": [ + "add", + "remove", + "replace" + ], + "type": "string" + }, + "Readarr.Api.V1.Author.AuthorEditorResource": { + "type": "object", + "properties": { + "authorIds": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "monitored": { "type": "boolean", + "nullable": true + }, + "monitorNewItems": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.NewItemMonitorTypes" + }, + "qualityProfileId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "metadataProfileId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "rootFolderPath": { + "type": "string", + "nullable": true + }, + "tags": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "applyTags": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.ApplyTags" + }, + "moveFiles": { + "type": "boolean" + }, + "deleteFiles": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Author.AuthorResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "authorMetadataId": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.AuthorStatusType" + }, + "ended": { + "type": "boolean", + "readOnly": true + }, + "authorName": { + "type": "string", + "nullable": true + }, + "authorNameLastFirst": { + "type": "string", + "nullable": true + }, + "foreignAuthorId": { + "type": "string", + "nullable": true + }, + "titleSlug": { + "type": "string", + "nullable": true + }, + "overview": { + "type": "string", + "nullable": true + }, + "disambiguation": { + "type": "string", + "nullable": true + }, + "links": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Links" + }, + "nullable": true + }, + "nextBook": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Book" + }, + "lastBook": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Book" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.MediaCover.MediaCover" + }, + "nullable": true + }, + "remotePoster": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "qualityProfileId": { + "type": "integer", + "format": "int32" + }, + "metadataProfileId": { + "type": "integer", + "format": "int32" + }, + "monitored": { + "type": "boolean" + }, + "monitorNewItems": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.NewItemMonitorTypes" + }, + "rootFolderPath": { + "type": "string", + "nullable": true + }, + "genres": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "cleanName": { + "type": "string", + "nullable": true + }, + "sortName": { + "type": "string", + "nullable": true + }, + "sortNameLastFirst": { + "type": "string", + "nullable": true + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "added": { + "type": "string", + "format": "date-time" + }, + "addOptions": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.AddAuthorOptions" + }, + "ratings": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Ratings" + }, + "statistics": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorStatisticsResource" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Author.AuthorStatisticsResource": { + "type": "object", + "properties": { + "bookFileCount": { + "type": "integer", + "format": "int32" + }, + "bookCount": { + "type": "integer", + "format": "int32" + }, + "availableBookCount": { + "type": "integer", + "format": "int32" + }, + "totalBookCount": { + "type": "integer", + "format": "int32" + }, + "sizeOnDisk": { + "type": "integer", + "format": "int64" + }, + "percentOfBooks": { + "type": "number", + "format": "double", "readOnly": true } }, "additionalProperties": false }, - "QualityProfileQualityItem": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "quality": { - "$ref": "#/components/schemas/Quality" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/QualityProfileQualityItem" - }, - "nullable": true - }, - "allowed": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "QualityProfileQualityItemResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "quality": { - "$ref": "#/components/schemas/Quality" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/QualityProfileQualityItemResource" - }, - "nullable": true - }, - "allowed": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "QualityProfileResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "upgradeAllowed": { - "type": "boolean" - }, - "cutoff": { - "type": "integer", - "format": "int32" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/QualityProfileQualityItemResource" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "QueueBulkResource": { + "Readarr.Api.V1.Blocklist.BlocklistBulkResource": { "type": "object", "properties": { "ids": { @@ -11963,7 +10791,7 @@ }, "additionalProperties": false }, - "QueueResource": { + "Readarr.Api.V1.Blocklist.BlocklistResource": { "type": "object", "properties": { "id": { @@ -11972,174 +10800,299 @@ }, "authorId": { "type": "integer", - "format": "int32", - "nullable": true + "format": "int32" }, - "bookId": { - "type": "integer", - "format": "int32", - "nullable": true - }, - "author": { - "$ref": "#/components/schemas/AuthorResource" - }, - "book": { - "$ref": "#/components/schemas/BookResource" - }, - "quality": { - "$ref": "#/components/schemas/QualityModel" - }, - "size": { - "type": "number", - "format": "double" - }, - "title": { - "type": "string", - "nullable": true - }, - "sizeleft": { - "type": "number", - "format": "double" - }, - "timeleft": { - "$ref": "#/components/schemas/TimeSpan" - }, - "estimatedCompletionTime": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "status": { - "type": "string", - "nullable": true - }, - "trackedDownloadStatus": { - "$ref": "#/components/schemas/TrackedDownloadStatus" - }, - "trackedDownloadState": { - "$ref": "#/components/schemas/TrackedDownloadState" - }, - "statusMessages": { + "bookIds": { "type": "array", "items": { - "$ref": "#/components/schemas/TrackedDownloadStatusMessage" + "type": "integer", + "format": "int32" }, "nullable": true }, - "errorMessage": { + "sourceTitle": { "type": "string", "nullable": true }, - "downloadId": { - "type": "string", + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" + }, + "customFormats": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + }, "nullable": true }, + "date": { + "type": "string", + "format": "date-time" + }, "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" - }, - "downloadClient": { - "type": "string", - "nullable": true + "$ref": "#/components/schemas/NzbDrone.Core.Indexers.DownloadProtocol" }, "indexer": { "type": "string", "nullable": true }, - "outputPath": { + "message": { "type": "string", "nullable": true }, - "downloadForced": { - "type": "boolean" + "author": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" } }, "additionalProperties": false }, - "QueueResourcePagingResource": { + "Readarr.Api.V1.BookFiles.BookFileListResource": { "type": "object", "properties": { - "page": { - "type": "integer", - "format": "int32" - }, - "pageSize": { - "type": "integer", - "format": "int32" - }, - "sortKey": { - "type": "string", - "nullable": true - }, - "sortDirection": { - "$ref": "#/components/schemas/SortDirection" - }, - "filters": { + "bookFileIds": { "type": "array", "items": { - "$ref": "#/components/schemas/PagingResourceFilter" + "type": "integer", + "format": "int32" }, "nullable": true }, - "totalRecords": { - "type": "integer", - "format": "int32" - }, - "records": { - "type": "array", - "items": { - "$ref": "#/components/schemas/QueueResource" - }, - "nullable": true + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" } }, "additionalProperties": false }, - "QueueStatusResource": { + "Readarr.Api.V1.BookFiles.BookFileResource": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, - "totalCount": { + "authorId": { "type": "integer", "format": "int32" }, - "count": { + "bookId": { "type": "integer", "format": "int32" }, - "unknownCount": { + "path": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64" + }, + "dateAdded": { + "type": "string", + "format": "date-time" + }, + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" + }, + "qualityWeight": { "type": "integer", "format": "int32" }, - "errors": { + "mediaInfo": { + "$ref": "#/components/schemas/Readarr.Api.V1.BookFiles.MediaInfoResource" + }, + "qualityCutoffNotMet": { "type": "boolean" }, - "warnings": { + "audioTags": { + "$ref": "#/components/schemas/NzbDrone.Core.Parser.Model.ParsedTrackInfo" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.BookFiles.MediaInfoResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "audioChannels": { + "type": "number", + "format": "double" + }, + "audioBitRate": { + "type": "string", + "nullable": true + }, + "audioCodec": { + "type": "string", + "nullable": true + }, + "audioBits": { + "type": "string", + "nullable": true + }, + "audioSampleRate": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Books.BookEditorResource": { + "type": "object", + "properties": { + "bookIds": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "monitored": { + "type": "boolean", + "nullable": true + }, + "deleteFiles": { + "type": "boolean", + "nullable": true + }, + "addImportListExclusion": { + "type": "boolean", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Books.BookResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "title": { + "type": "string", + "nullable": true + }, + "authorTitle": { + "type": "string", + "nullable": true + }, + "seriesTitle": { + "type": "string", + "nullable": true + }, + "disambiguation": { + "type": "string", + "nullable": true + }, + "overview": { + "type": "string", + "nullable": true + }, + "authorId": { + "type": "integer", + "format": "int32" + }, + "foreignBookId": { + "type": "string", + "nullable": true + }, + "titleSlug": { + "type": "string", + "nullable": true + }, + "monitored": { "type": "boolean" }, - "unknownErrors": { + "anyEditionOk": { "type": "boolean" }, - "unknownWarnings": { + "ratings": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Ratings" + }, + "releaseDate": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "pageCount": { + "type": "integer", + "format": "int32" + }, + "genres": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "author": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.MediaCover.MediaCover" + }, + "nullable": true + }, + "links": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Links" + }, + "nullable": true + }, + "statistics": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookStatisticsResource" + }, + "added": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "addOptions": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.AddBookOptions" + }, + "remoteCover": { + "type": "string", + "nullable": true + }, + "editions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.EditionResource" + }, + "nullable": true + }, + "grabbed": { "type": "boolean" } }, "additionalProperties": false }, - "Ratings": { + "Readarr.Api.V1.Books.BookStatisticsResource": { "type": "object", "properties": { - "votes": { + "bookFileCount": { "type": "integer", "format": "int32" }, - "value": { - "type": "number", - "format": "double" + "bookCount": { + "type": "integer", + "format": "int32" }, - "popularity": { + "totalBookCount": { + "type": "integer", + "format": "int32" + }, + "sizeOnDisk": { + "type": "integer", + "format": "int64" + }, + "percentOfBooks": { "type": "number", "format": "double", "readOnly": true @@ -12147,58 +11100,850 @@ }, "additionalProperties": false }, - "Rejection": { + "Readarr.Api.V1.Books.BooksMonitoredResource": { "type": "object", "properties": { - "reason": { - "type": "string", + "bookIds": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, "nullable": true }, - "type": { - "$ref": "#/components/schemas/RejectionType" + "monitored": { + "type": "boolean" } }, "additionalProperties": false }, - "RejectionType": { - "enum": [ - "permanent", - "temporary" - ], - "type": "string" - }, - "ReleaseProfileResource": { + "Readarr.Api.V1.Books.EditionResource": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, - "enabled": { + "bookId": { + "type": "integer", + "format": "int32" + }, + "foreignEditionId": { + "type": "string", + "nullable": true + }, + "titleSlug": { + "type": "string", + "nullable": true + }, + "isbn13": { + "type": "string", + "nullable": true + }, + "asin": { + "type": "string", + "nullable": true + }, + "title": { + "type": "string", + "nullable": true + }, + "language": { + "type": "string", + "nullable": true + }, + "overview": { + "type": "string", + "nullable": true + }, + "format": { + "type": "string", + "nullable": true + }, + "isEbook": { "type": "boolean" }, - "required": { + "disambiguation": { "type": "string", "nullable": true }, - "ignored": { + "publisher": { "type": "string", "nullable": true }, - "preferred": { + "pageCount": { + "type": "integer", + "format": "int32" + }, + "releaseDate": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "images": { "type": "array", "items": { - "$ref": "#/components/schemas/StringInt32KeyValuePair" + "$ref": "#/components/schemas/NzbDrone.Core.MediaCover.MediaCover" }, "nullable": true }, - "includePreferredWhenRenaming": { + "links": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Links" + }, + "nullable": true + }, + "ratings": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.Ratings" + }, + "monitored": { "type": "boolean" }, - "indexerId": { + "manualAdd": { + "type": "boolean" + }, + "remoteCover": { + "type": "string", + "nullable": true + }, + "grabbed": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Books.RenameBookResource": { + "type": "object", + "properties": { + "id": { "type": "integer", "format": "int32" }, + "authorId": { + "type": "integer", + "format": "int32" + }, + "bookId": { + "type": "integer", + "format": "int32" + }, + "bookFileId": { + "type": "integer", + "format": "int32" + }, + "existingPath": { + "type": "string", + "nullable": true + }, + "newPath": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Books.RetagBookResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "authorId": { + "type": "integer", + "format": "int32" + }, + "bookId": { + "type": "integer", + "format": "int32" + }, + "trackNumbers": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "bookFileId": { + "type": "integer", + "format": "int32" + }, + "path": { + "type": "string", + "nullable": true + }, + "changes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.TagDifference" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Books.TagDifference": { + "type": "object", + "properties": { + "field": { + "type": "string", + "nullable": true + }, + "oldValue": { + "type": "string", + "nullable": true + }, + "newValue": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Bookshelf.BookshelfAuthorResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "monitored": { + "type": "boolean", + "nullable": true + }, + "books": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Bookshelf.BookshelfResource": { + "type": "object", + "properties": { + "authors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Bookshelf.BookshelfAuthorResource" + }, + "nullable": true + }, + "monitoringOptions": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.MonitoringOptions" + }, + "monitorNewItems": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.NewItemMonitorTypes" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Commands.CommandResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "commandName": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "body": { + "$ref": "#/components/schemas/NzbDrone.Core.Messaging.Commands.Command" + }, + "priority": { + "$ref": "#/components/schemas/NzbDrone.Core.Messaging.Commands.CommandPriority" + }, + "status": { + "$ref": "#/components/schemas/NzbDrone.Core.Messaging.Commands.CommandStatus" + }, + "queued": { + "type": "string", + "format": "date-time" + }, + "started": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "ended": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "duration": { + "$ref": "#/components/schemas/System.TimeSpan" + }, + "exception": { + "type": "string", + "nullable": true + }, + "trigger": { + "$ref": "#/components/schemas/NzbDrone.Core.Messaging.Commands.CommandTrigger" + }, + "clientUserAgent": { + "type": "string", + "nullable": true + }, + "stateChangeTime": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "sendUpdatesToClient": { + "type": "boolean" + }, + "updateScheduledTask": { + "type": "boolean" + }, + "lastExecutionTime": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Config.DownloadClientConfigResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "downloadClientWorkingFolders": { + "type": "string", + "nullable": true + }, + "enableCompletedDownloadHandling": { + "type": "boolean" + }, + "removeCompletedDownloads": { + "type": "boolean" + }, + "autoRedownloadFailed": { + "type": "boolean" + }, + "removeFailedDownloads": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Config.HostConfigResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "bindAddress": { + "type": "string", + "nullable": true + }, + "port": { + "type": "integer", + "format": "int32" + }, + "sslPort": { + "type": "integer", + "format": "int32" + }, + "enableSsl": { + "type": "boolean" + }, + "launchBrowser": { + "type": "boolean" + }, + "authenticationMethod": { + "$ref": "#/components/schemas/NzbDrone.Core.Authentication.AuthenticationType" + }, + "analyticsEnabled": { + "type": "boolean" + }, + "username": { + "type": "string", + "nullable": true + }, + "password": { + "type": "string", + "nullable": true + }, + "logLevel": { + "type": "string", + "nullable": true + }, + "consoleLogLevel": { + "type": "string", + "nullable": true + }, + "branch": { + "type": "string", + "nullable": true + }, + "apiKey": { + "type": "string", + "nullable": true + }, + "sslCertPath": { + "type": "string", + "nullable": true + }, + "sslCertPassword": { + "type": "string", + "nullable": true + }, + "urlBase": { + "type": "string", + "nullable": true + }, + "instanceName": { + "type": "string", + "nullable": true + }, + "applicationUrl": { + "type": "string", + "nullable": true + }, + "updateAutomatically": { + "type": "boolean" + }, + "updateMechanism": { + "$ref": "#/components/schemas/NzbDrone.Core.Update.UpdateMechanism" + }, + "updateScriptPath": { + "type": "string", + "nullable": true + }, + "proxyEnabled": { + "type": "boolean" + }, + "proxyType": { + "$ref": "#/components/schemas/NzbDrone.Common.Http.Proxy.ProxyType" + }, + "proxyHostname": { + "type": "string", + "nullable": true + }, + "proxyPort": { + "type": "integer", + "format": "int32" + }, + "proxyUsername": { + "type": "string", + "nullable": true + }, + "proxyPassword": { + "type": "string", + "nullable": true + }, + "proxyBypassFilter": { + "type": "string", + "nullable": true + }, + "proxyBypassLocalAddresses": { + "type": "boolean" + }, + "certificateValidation": { + "$ref": "#/components/schemas/NzbDrone.Core.Security.CertificateValidationType" + }, + "backupFolder": { + "type": "string", + "nullable": true + }, + "backupInterval": { + "type": "integer", + "format": "int32" + }, + "backupRetention": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Config.IndexerConfigResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "minimumAge": { + "type": "integer", + "format": "int32" + }, + "maximumSize": { + "type": "integer", + "format": "int32" + }, + "retention": { + "type": "integer", + "format": "int32" + }, + "rssSyncInterval": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Config.MediaManagementConfigResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "autoUnmonitorPreviouslyDownloadedBooks": { + "type": "boolean" + }, + "recycleBin": { + "type": "string", + "nullable": true + }, + "recycleBinCleanupDays": { + "type": "integer", + "format": "int32" + }, + "downloadPropersAndRepacks": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.ProperDownloadTypes" + }, + "createEmptyAuthorFolders": { + "type": "boolean" + }, + "deleteEmptyFolders": { + "type": "boolean" + }, + "fileDate": { + "$ref": "#/components/schemas/NzbDrone.Core.MediaFiles.FileDateType" + }, + "watchLibraryForChanges": { + "type": "boolean" + }, + "rescanAfterRefresh": { + "$ref": "#/components/schemas/NzbDrone.Core.Configuration.RescanAfterRefreshType" + }, + "allowFingerprinting": { + "$ref": "#/components/schemas/NzbDrone.Core.Configuration.AllowFingerprinting" + }, + "setPermissionsLinux": { + "type": "boolean" + }, + "chmodFolder": { + "type": "string", + "nullable": true + }, + "chownGroup": { + "type": "string", + "nullable": true + }, + "skipFreeSpaceCheckWhenImporting": { + "type": "boolean" + }, + "minimumFreeSpaceWhenImporting": { + "type": "integer", + "format": "int32" + }, + "copyUsingHardlinks": { + "type": "boolean" + }, + "importExtraFiles": { + "type": "boolean" + }, + "extraFileExtensions": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Config.MetadataProviderConfigResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "writeAudioTags": { + "$ref": "#/components/schemas/NzbDrone.Core.Configuration.WriteAudioTagsType" + }, + "scrubAudioTags": { + "type": "boolean" + }, + "writeBookTags": { + "$ref": "#/components/schemas/NzbDrone.Core.Configuration.WriteBookTagsType" + }, + "updateCovers": { + "type": "boolean" + }, + "embedMetadata": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Config.NamingConfigResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "renameBooks": { + "type": "boolean" + }, + "replaceIllegalCharacters": { + "type": "boolean" + }, + "standardBookFormat": { + "type": "string", + "nullable": true + }, + "authorFolderFormat": { + "type": "string", + "nullable": true + }, + "includeAuthorName": { + "type": "boolean" + }, + "includeBookTitle": { + "type": "boolean" + }, + "includeQuality": { + "type": "boolean" + }, + "replaceSpaces": { + "type": "boolean" + }, + "separator": { + "type": "string", + "nullable": true + }, + "numberStyle": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Config.UiConfigResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "firstDayOfWeek": { + "type": "integer", + "format": "int32" + }, + "calendarWeekColumnHeader": { + "type": "string", + "nullable": true + }, + "shortDateFormat": { + "type": "string", + "nullable": true + }, + "longDateFormat": { + "type": "string", + "nullable": true + }, + "timeFormat": { + "type": "string", + "nullable": true + }, + "showRelativeDates": { + "type": "boolean" + }, + "enableColorImpairedMode": { + "type": "boolean" + }, + "uiLanguage": { + "type": "integer", + "format": "int32" + }, + "theme": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.CustomFilters.CustomFilterResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "type": { + "type": "string", + "nullable": true + }, + "label": { + "type": "string", + "nullable": true + }, + "filters": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { } + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.CustomFormats.CustomFormatResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "includeCustomFormatWhenRenaming": { + "type": "boolean", + "nullable": true + }, + "specifications": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatSpecificationSchema" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.CustomFormats.CustomFormatSpecificationSchema": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "implementation": { + "type": "string", + "nullable": true + }, + "implementationName": { + "type": "string", + "nullable": true + }, + "infoLink": { + "type": "string", + "nullable": true + }, + "negate": { + "type": "boolean" + }, + "required": { + "type": "boolean" + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.ClientSchema.Field" + }, + "nullable": true + }, + "presets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatSpecificationSchema" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.DiskSpace.DiskSpaceResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "path": { + "type": "string", + "nullable": true + }, + "label": { + "type": "string", + "nullable": true + }, + "freeSpace": { + "type": "integer", + "format": "int64" + }, + "totalSpace": { + "type": "integer", + "format": "int64" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.DownloadClient.DownloadClientResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.ClientSchema.Field" + }, + "nullable": true + }, + "implementationName": { + "type": "string", + "nullable": true + }, + "implementation": { + "type": "string", + "nullable": true + }, + "configContract": { + "type": "string", + "nullable": true + }, + "infoLink": { + "type": "string", + "nullable": true + }, + "message": { + "$ref": "#/components/schemas/NzbDrone.Core.ThingiProvider.ProviderMessage" + }, "tags": { "uniqueItems": true, "type": "array", @@ -12207,11 +11952,298 @@ "format": "int32" }, "nullable": true + }, + "presets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.DownloadClient.DownloadClientResource" + }, + "nullable": true + }, + "enable": { + "type": "boolean" + }, + "protocol": { + "$ref": "#/components/schemas/NzbDrone.Core.Indexers.DownloadProtocol" + }, + "priority": { + "type": "integer", + "format": "int32" } }, "additionalProperties": false }, - "ReleaseResource": { + "Readarr.Api.V1.Health.HealthResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "source": { + "type": "string", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/NzbDrone.Core.HealthCheck.HealthCheckResult" + }, + "message": { + "type": "string", + "nullable": true + }, + "wikiUrl": { + "$ref": "#/components/schemas/NzbDrone.Common.Http.HttpUri" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.History.HistoryResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "bookId": { + "type": "integer", + "format": "int32" + }, + "authorId": { + "type": "integer", + "format": "int32" + }, + "sourceTitle": { + "type": "string", + "nullable": true + }, + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" + }, + "customFormats": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + }, + "nullable": true + }, + "qualityCutoffNotMet": { + "type": "boolean" + }, + "date": { + "type": "string", + "format": "date-time" + }, + "downloadId": { + "type": "string", + "nullable": true + }, + "eventType": { + "$ref": "#/components/schemas/NzbDrone.Core.History.EntityHistoryEventType" + }, + "data": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + }, + "book": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" + }, + "author": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.ImportLists.ImportListExclusionResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "foreignId": { + "type": "string", + "nullable": true + }, + "authorName": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.ImportLists.ImportListResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.ClientSchema.Field" + }, + "nullable": true + }, + "implementationName": { + "type": "string", + "nullable": true + }, + "implementation": { + "type": "string", + "nullable": true + }, + "configContract": { + "type": "string", + "nullable": true + }, + "infoLink": { + "type": "string", + "nullable": true + }, + "message": { + "$ref": "#/components/schemas/NzbDrone.Core.ThingiProvider.ProviderMessage" + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "presets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.ImportLists.ImportListResource" + }, + "nullable": true + }, + "enableAutomaticAdd": { + "type": "boolean" + }, + "shouldMonitor": { + "$ref": "#/components/schemas/NzbDrone.Core.ImportLists.ImportListMonitorType" + }, + "shouldMonitorExisting": { + "type": "boolean" + }, + "shouldSearch": { + "type": "boolean" + }, + "rootFolderPath": { + "type": "string", + "nullable": true + }, + "monitorNewItems": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.NewItemMonitorTypes" + }, + "qualityProfileId": { + "type": "integer", + "format": "int32" + }, + "metadataProfileId": { + "type": "integer", + "format": "int32" + }, + "listType": { + "$ref": "#/components/schemas/NzbDrone.Core.ImportLists.ImportListType" + }, + "listOrder": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Indexers.IndexerResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.ClientSchema.Field" + }, + "nullable": true + }, + "implementationName": { + "type": "string", + "nullable": true + }, + "implementation": { + "type": "string", + "nullable": true + }, + "configContract": { + "type": "string", + "nullable": true + }, + "infoLink": { + "type": "string", + "nullable": true + }, + "message": { + "$ref": "#/components/schemas/NzbDrone.Core.ThingiProvider.ProviderMessage" + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "presets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Indexers.IndexerResource" + }, + "nullable": true + }, + "enableRss": { + "type": "boolean" + }, + "enableAutomaticSearch": { + "type": "boolean" + }, + "enableInteractiveSearch": { + "type": "boolean" + }, + "supportsRss": { + "type": "boolean" + }, + "supportsSearch": { + "type": "boolean" + }, + "protocol": { + "$ref": "#/components/schemas/NzbDrone.Core.Indexers.DownloadProtocol" + }, + "priority": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Indexers.ReleaseResource": { "type": "object", "properties": { "id": { @@ -12223,7 +12255,7 @@ "nullable": true }, "quality": { - "$ref": "#/components/schemas/QualityModel" + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" }, "qualityWeight": { "type": "integer", @@ -12326,7 +12358,14 @@ "type": "integer", "format": "int32" }, - "preferredWordScore": { + "customFormats": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + }, + "nullable": true + }, + "customFormatScore": { "type": "integer", "format": "int32" }, @@ -12349,7 +12388,7 @@ "nullable": true }, "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" + "$ref": "#/components/schemas/NzbDrone.Core.Indexers.DownloadProtocol" }, "authorId": { "type": "integer", @@ -12364,7 +12403,848 @@ }, "additionalProperties": false }, - "RemotePathMappingResource": { + "Readarr.Api.V1.Languages.LanguageResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "nameLower": { + "type": "string", + "nullable": true, + "readOnly": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Logs.LogFileResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "filename": { + "type": "string", + "nullable": true + }, + "lastWriteTime": { + "type": "string", + "format": "date-time" + }, + "contentsUrl": { + "type": "string", + "nullable": true + }, + "downloadUrl": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Logs.LogResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "exception": { + "type": "string", + "nullable": true + }, + "exceptionType": { + "type": "string", + "nullable": true + }, + "level": { + "type": "string", + "nullable": true + }, + "logger": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "method": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.ManualImport.ManualImportResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "path": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64" + }, + "author": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + }, + "book": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" + }, + "foreignEditionId": { + "type": "string", + "nullable": true + }, + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" + }, + "releaseGroup": { + "type": "string", + "nullable": true + }, + "qualityWeight": { + "type": "integer", + "format": "int32" + }, + "downloadId": { + "type": "string", + "nullable": true + }, + "rejections": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.DecisionEngine.Rejection" + }, + "nullable": true + }, + "audioTags": { + "$ref": "#/components/schemas/NzbDrone.Core.Parser.Model.ParsedTrackInfo" + }, + "additionalFile": { + "type": "boolean" + }, + "replaceExistingFiles": { + "type": "boolean" + }, + "disableReleaseSwitching": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.ManualImport.ManualImportUpdateResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "path": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "authorId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "bookId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "foreignEditionId": { + "type": "string", + "nullable": true + }, + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" + }, + "releaseGroup": { + "type": "string", + "nullable": true + }, + "downloadId": { + "type": "string", + "nullable": true + }, + "additionalFile": { + "type": "boolean" + }, + "replaceExistingFiles": { + "type": "boolean" + }, + "disableReleaseSwitching": { + "type": "boolean" + }, + "rejections": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.DecisionEngine.Rejection" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Metadata.MetadataResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.ClientSchema.Field" + }, + "nullable": true + }, + "implementationName": { + "type": "string", + "nullable": true + }, + "implementation": { + "type": "string", + "nullable": true + }, + "configContract": { + "type": "string", + "nullable": true + }, + "infoLink": { + "type": "string", + "nullable": true + }, + "message": { + "$ref": "#/components/schemas/NzbDrone.Core.ThingiProvider.ProviderMessage" + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "presets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Metadata.MetadataResource" + }, + "nullable": true + }, + "enable": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Notifications.NotificationResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "fields": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.ClientSchema.Field" + }, + "nullable": true + }, + "implementationName": { + "type": "string", + "nullable": true + }, + "implementation": { + "type": "string", + "nullable": true + }, + "configContract": { + "type": "string", + "nullable": true + }, + "infoLink": { + "type": "string", + "nullable": true + }, + "message": { + "$ref": "#/components/schemas/NzbDrone.Core.ThingiProvider.ProviderMessage" + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "presets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Notifications.NotificationResource" + }, + "nullable": true + }, + "link": { + "type": "string", + "nullable": true + }, + "onGrab": { + "type": "boolean" + }, + "onReleaseImport": { + "type": "boolean" + }, + "onUpgrade": { + "type": "boolean" + }, + "onRename": { + "type": "boolean" + }, + "onAuthorDelete": { + "type": "boolean" + }, + "onBookDelete": { + "type": "boolean" + }, + "onBookFileDelete": { + "type": "boolean" + }, + "onBookFileDeleteForUpgrade": { + "type": "boolean" + }, + "onHealthIssue": { + "type": "boolean" + }, + "onDownloadFailure": { + "type": "boolean" + }, + "onImportFailure": { + "type": "boolean" + }, + "onBookRetag": { + "type": "boolean" + }, + "onApplicationUpdate": { + "type": "boolean" + }, + "supportsOnGrab": { + "type": "boolean" + }, + "supportsOnReleaseImport": { + "type": "boolean" + }, + "supportsOnUpgrade": { + "type": "boolean" + }, + "supportsOnRename": { + "type": "boolean" + }, + "supportsOnAuthorDelete": { + "type": "boolean" + }, + "supportsOnBookDelete": { + "type": "boolean" + }, + "supportsOnBookFileDelete": { + "type": "boolean" + }, + "supportsOnBookFileDeleteForUpgrade": { + "type": "boolean" + }, + "supportsOnHealthIssue": { + "type": "boolean" + }, + "includeHealthWarnings": { + "type": "boolean" + }, + "supportsOnDownloadFailure": { + "type": "boolean" + }, + "supportsOnImportFailure": { + "type": "boolean" + }, + "supportsOnBookRetag": { + "type": "boolean" + }, + "supportsOnApplicationUpdate": { + "type": "boolean" + }, + "testCommand": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Parse.ParseResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "title": { + "type": "string", + "nullable": true + }, + "parsedBookInfo": { + "$ref": "#/components/schemas/NzbDrone.Core.Parser.Model.ParsedBookInfo" + }, + "author": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + }, + "books": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Profiles.Delay.DelayProfileResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "enableUsenet": { + "type": "boolean" + }, + "enableTorrent": { + "type": "boolean" + }, + "preferredProtocol": { + "$ref": "#/components/schemas/NzbDrone.Core.Indexers.DownloadProtocol" + }, + "usenetDelay": { + "type": "integer", + "format": "int32" + }, + "torrentDelay": { + "type": "integer", + "format": "int32" + }, + "bypassIfHighestQuality": { + "type": "boolean" + }, + "bypassIfAboveCustomFormatScore": { + "type": "boolean" + }, + "minimumCustomFormatScore": { + "type": "integer", + "format": "int32" + }, + "order": { + "type": "integer", + "format": "int32" + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Profiles.Metadata.MetadataProfileResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "minPopularity": { + "type": "number", + "format": "double" + }, + "skipMissingDate": { + "type": "boolean" + }, + "skipMissingIsbn": { + "type": "boolean" + }, + "skipPartsAndSets": { + "type": "boolean" + }, + "skipSeriesSecondary": { + "type": "boolean" + }, + "allowedLanguages": { + "type": "string", + "nullable": true + }, + "minPages": { + "type": "integer", + "format": "int32" + }, + "ignored": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Profiles.Quality.ProfileFormatItemResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "format": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "score": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Profiles.Quality.QualityProfileQualityItemResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.Quality" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileQualityItemResource" + }, + "nullable": true + }, + "allowed": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Profiles.Quality.QualityProfileResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "upgradeAllowed": { + "type": "boolean" + }, + "cutoff": { + "type": "integer", + "format": "int32" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.QualityProfileQualityItemResource" + }, + "nullable": true + }, + "minFormatScore": { + "type": "integer", + "format": "int32" + }, + "cutoffFormatScore": { + "type": "integer", + "format": "int32" + }, + "formatItems": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Profiles.Quality.ProfileFormatItemResource" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Profiles.Release.ReleaseProfileResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "enabled": { + "type": "boolean" + }, + "required": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "ignored": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "indexerId": { + "type": "integer", + "format": "int32" + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Qualities.QualityDefinitionResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.Quality" + }, + "title": { + "type": "string", + "nullable": true + }, + "weight": { + "type": "integer", + "format": "int32" + }, + "minSize": { + "type": "number", + "format": "double", + "nullable": true + }, + "maxSize": { + "type": "number", + "format": "double", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Queue.QueueBulkResource": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Queue.QueueResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "authorId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "bookId": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "author": { + "$ref": "#/components/schemas/Readarr.Api.V1.Author.AuthorResource" + }, + "book": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" + }, + "quality": { + "$ref": "#/components/schemas/NzbDrone.Core.Qualities.QualityModel" + }, + "customFormats": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.CustomFormats.CustomFormatResource" + }, + "nullable": true + }, + "size": { + "type": "number", + "format": "double" + }, + "title": { + "type": "string", + "nullable": true + }, + "sizeleft": { + "type": "number", + "format": "double" + }, + "timeleft": { + "$ref": "#/components/schemas/System.TimeSpan" + }, + "estimatedCompletionTime": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "status": { + "type": "string", + "nullable": true + }, + "trackedDownloadStatus": { + "$ref": "#/components/schemas/NzbDrone.Core.Download.TrackedDownloads.TrackedDownloadStatus" + }, + "trackedDownloadState": { + "$ref": "#/components/schemas/NzbDrone.Core.Download.TrackedDownloads.TrackedDownloadState" + }, + "statusMessages": { + "type": "array", + "items": { + "$ref": "#/components/schemas/NzbDrone.Core.Download.TrackedDownloads.TrackedDownloadStatusMessage" + }, + "nullable": true + }, + "errorMessage": { + "type": "string", + "nullable": true + }, + "downloadId": { + "type": "string", + "nullable": true + }, + "protocol": { + "$ref": "#/components/schemas/NzbDrone.Core.Indexers.DownloadProtocol" + }, + "downloadClient": { + "type": "string", + "nullable": true + }, + "indexer": { + "type": "string", + "nullable": true + }, + "outputPath": { + "type": "string", + "nullable": true + }, + "downloadForced": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Queue.QueueStatusResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "totalCount": { + "type": "integer", + "format": "int32" + }, + "count": { + "type": "integer", + "format": "int32" + }, + "unknownCount": { + "type": "integer", + "format": "int32" + }, + "errors": { + "type": "boolean" + }, + "warnings": { + "type": "boolean" + }, + "unknownErrors": { + "type": "boolean" + }, + "unknownWarnings": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.RemotePathMappings.RemotePathMappingResource": { "type": "object", "properties": { "id": { @@ -12386,103 +13266,7 @@ }, "additionalProperties": false }, - "RenameBookResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "authorId": { - "type": "integer", - "format": "int32" - }, - "bookId": { - "type": "integer", - "format": "int32" - }, - "bookFileId": { - "type": "integer", - "format": "int32" - }, - "existingPath": { - "type": "string", - "nullable": true - }, - "newPath": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "RescanAfterRefreshType": { - "enum": [ - "always", - "afterManual", - "never" - ], - "type": "string" - }, - "RetagBookResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "authorId": { - "type": "integer", - "format": "int32" - }, - "bookId": { - "type": "integer", - "format": "int32" - }, - "trackNumbers": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "nullable": true - }, - "bookFileId": { - "type": "integer", - "format": "int32" - }, - "path": { - "type": "string", - "nullable": true - }, - "changes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagDifference" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "Revision": { - "type": "object", - "properties": { - "version": { - "type": "integer", - "format": "int32" - }, - "real": { - "type": "integer", - "format": "int32" - }, - "isRepack": { - "type": "boolean" - } - }, - "additionalProperties": false - }, - "RootFolderResource": { + "Readarr.Api.V1.RootFolders.RootFolderResource": { "type": "object", "properties": { "id": { @@ -12506,7 +13290,10 @@ "format": "int32" }, "defaultMonitorOption": { - "$ref": "#/components/schemas/MonitorTypes" + "$ref": "#/components/schemas/NzbDrone.Core.Books.MonitorTypes" + }, + "defaultNewItemMonitorOption": { + "$ref": "#/components/schemas/NzbDrone.Core.Books.NewItemMonitorTypes" }, "defaultTags": { "uniqueItems": true, @@ -12571,72 +13358,7 @@ }, "additionalProperties": false }, - "SelectOption": { - "type": "object", - "properties": { - "value": { - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "nullable": true - }, - "order": { - "type": "integer", - "format": "int32" - }, - "hint": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "Series": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "foreignSeriesId": { - "type": "string", - "nullable": true - }, - "title": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "numbered": { - "type": "boolean" - }, - "workCount": { - "type": "integer", - "format": "int32" - }, - "primaryWorkCount": { - "type": "integer", - "format": "int32" - }, - "linkItems": { - "$ref": "#/components/schemas/SeriesBookLinkListLazyLoaded" - }, - "books": { - "$ref": "#/components/schemas/BookListLazyLoaded" - }, - "foreignAuthorId": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "SeriesBookLink": { + "Readarr.Api.V1.Series.SeriesBookLinkResource": { "type": "object", "properties": { "id": { @@ -12647,55 +13369,10 @@ "type": "string", "nullable": true }, - "seriesId": { + "seriesPosition": { "type": "integer", "format": "int32" }, - "bookId": { - "type": "integer", - "format": "int32" - }, - "isPrimary": { - "type": "boolean" - }, - "series": { - "$ref": "#/components/schemas/SeriesLazyLoaded" - }, - "book": { - "$ref": "#/components/schemas/BookLazyLoaded" - } - }, - "additionalProperties": false - }, - "SeriesBookLinkListLazyLoaded": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SeriesBookLink" - }, - "nullable": true, - "readOnly": true - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "SeriesBookLinkResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "position": { - "type": "string", - "nullable": true - }, "seriesId": { "type": "integer", "format": "int32" @@ -12707,38 +13384,7 @@ }, "additionalProperties": false }, - "SeriesLazyLoaded": { - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/Series" - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "SeriesListLazyLoaded": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Series" - }, - "nullable": true, - "readOnly": true - }, - "isLoaded": { - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": false - }, - "SeriesResource": { + "Readarr.Api.V1.Series.SeriesResource": { "type": "object", "properties": { "id": { @@ -12756,38 +13402,195 @@ "links": { "type": "array", "items": { - "$ref": "#/components/schemas/SeriesBookLinkResource" + "$ref": "#/components/schemas/Readarr.Api.V1.Series.SeriesBookLinkResource" }, "nullable": true } }, "additionalProperties": false }, - "SortDirection": { - "enum": [ - "default", - "ascending", - "descending" - ], - "type": "string" - }, - "StringInt32KeyValuePair": { + "Readarr.Api.V1.System.Backup.BackupResource": { "type": "object", "properties": { - "key": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "value": { + "id": { "type": "integer", - "format": "int32", - "readOnly": true + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/NzbDrone.Core.Backup.BackupType" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" } }, "additionalProperties": false }, - "TagDetailsResource": { + "Readarr.Api.V1.System.SystemResource": { + "type": "object", + "properties": { + "appName": { + "type": "string", + "nullable": true + }, + "instanceName": { + "type": "string", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "buildTime": { + "type": "string", + "format": "date-time" + }, + "isDebug": { + "type": "boolean" + }, + "isProduction": { + "type": "boolean" + }, + "isAdmin": { + "type": "boolean" + }, + "isUserInteractive": { + "type": "boolean" + }, + "startupPath": { + "type": "string", + "nullable": true + }, + "appData": { + "type": "string", + "nullable": true + }, + "osName": { + "type": "string", + "nullable": true + }, + "osVersion": { + "type": "string", + "nullable": true + }, + "isNetCore": { + "type": "boolean" + }, + "isLinux": { + "type": "boolean" + }, + "isOsx": { + "type": "boolean" + }, + "isWindows": { + "type": "boolean" + }, + "isDocker": { + "type": "boolean" + }, + "mode": { + "$ref": "#/components/schemas/NzbDrone.Common.EnvironmentInfo.RuntimeMode" + }, + "branch": { + "type": "string", + "nullable": true + }, + "databaseType": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.DatabaseType" + }, + "databaseVersion": { + "$ref": "#/components/schemas/System.Version" + }, + "authentication": { + "$ref": "#/components/schemas/NzbDrone.Core.Authentication.AuthenticationType" + }, + "migrationVersion": { + "type": "integer", + "format": "int32" + }, + "urlBase": { + "type": "string", + "nullable": true + }, + "runtimeVersion": { + "$ref": "#/components/schemas/System.Version" + }, + "runtimeName": { + "type": "string", + "nullable": true + }, + "startTime": { + "type": "string", + "format": "date-time" + }, + "packageVersion": { + "type": "string", + "nullable": true + }, + "packageAuthor": { + "type": "string", + "nullable": true + }, + "packageUpdateMechanism": { + "$ref": "#/components/schemas/NzbDrone.Core.Update.UpdateMechanism" + }, + "packageUpdateMechanismMessage": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.System.Tasks.TaskResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "taskName": { + "type": "string", + "nullable": true + }, + "interval": { + "type": "integer", + "format": "int32" + }, + "lastExecution": { + "type": "string", + "format": "date-time" + }, + "lastStartTime": { + "type": "string", + "format": "date-time" + }, + "nextExecution": { + "type": "string", + "format": "date-time" + }, + "lastDuration": { + "$ref": "#/components/schemas/System.TimeSpan" + } + }, + "additionalProperties": false + }, + "Readarr.Api.V1.Tags.TagDetailsResource": { "type": "object", "properties": { "id": { @@ -12841,25 +13644,7 @@ }, "additionalProperties": false }, - "TagDifference": { - "type": "object", - "properties": { - "field": { - "type": "string", - "nullable": true - }, - "oldValue": { - "type": "string", - "nullable": true - }, - "newValue": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "TagResource": { + "Readarr.Api.V1.Tags.TagResource": { "type": "object", "properties": { "id": { @@ -12873,50 +13658,379 @@ }, "additionalProperties": false }, - "TaskResource": { + "Readarr.Api.V1.Update.UpdateResource": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, + "version": { + "$ref": "#/components/schemas/System.Version" + }, + "branch": { + "type": "string", + "nullable": true + }, + "releaseDate": { + "type": "string", + "format": "date-time" + }, + "fileName": { + "type": "string", + "nullable": true + }, + "url": { + "type": "string", + "nullable": true + }, + "installed": { + "type": "boolean" + }, + "installedOn": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "installable": { + "type": "boolean" + }, + "latest": { + "type": "boolean" + }, + "changes": { + "$ref": "#/components/schemas/NzbDrone.Core.Update.UpdateChanges" + }, + "hash": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.ApiInfoResource": { + "type": "object", + "properties": { + "current": { + "type": "string", + "nullable": true + }, + "deprecated": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.ClientSchema.Field": { + "type": "object", + "properties": { + "order": { + "type": "integer", + "format": "int32" + }, "name": { "type": "string", "nullable": true }, - "taskName": { + "label": { "type": "string", "nullable": true }, - "interval": { - "type": "integer", - "format": "int32" - }, - "lastExecution": { + "unit": { "type": "string", - "format": "date-time" + "nullable": true }, - "lastStartTime": { + "helpText": { "type": "string", - "format": "date-time" + "nullable": true }, - "nextExecution": { + "helpLink": { "type": "string", - "format": "date-time" + "nullable": true }, - "lastDuration": { - "$ref": "#/components/schemas/TimeSpan" + "value": { + "nullable": true + }, + "type": { + "type": "string", + "nullable": true + }, + "advanced": { + "type": "boolean" + }, + "selectOptions": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.ClientSchema.SelectOption" + }, + "nullable": true + }, + "selectOptionsProviderAction": { + "type": "string", + "nullable": true + }, + "section": { + "type": "string", + "nullable": true + }, + "hidden": { + "type": "string", + "nullable": true } }, "additionalProperties": false }, - "TimeSpan": { + "Readarr.Http.ClientSchema.SelectOption": { + "type": "object", + "properties": { + "value": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "order": { + "type": "integer", + "format": "int32" + }, + "hint": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.PagingResourceFilter": { + "type": "object", + "properties": { + "key": { + "type": "string", + "nullable": true + }, + "value": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.PagingResource`1[[Readarr.Api.V1.Blocklist.BlocklistResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "pageSize": { + "type": "integer", + "format": "int32" + }, + "sortKey": { + "type": "string", + "nullable": true + }, + "sortDirection": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.SortDirection" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.PagingResourceFilter" + }, + "nullable": true + }, + "totalRecords": { + "type": "integer", + "format": "int32" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Blocklist.BlocklistResource" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.PagingResource`1[[Readarr.Api.V1.Books.BookResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "pageSize": { + "type": "integer", + "format": "int32" + }, + "sortKey": { + "type": "string", + "nullable": true + }, + "sortDirection": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.SortDirection" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.PagingResourceFilter" + }, + "nullable": true + }, + "totalRecords": { + "type": "integer", + "format": "int32" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Books.BookResource" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.PagingResource`1[[Readarr.Api.V1.History.HistoryResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "pageSize": { + "type": "integer", + "format": "int32" + }, + "sortKey": { + "type": "string", + "nullable": true + }, + "sortDirection": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.SortDirection" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.PagingResourceFilter" + }, + "nullable": true + }, + "totalRecords": { + "type": "integer", + "format": "int32" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.History.HistoryResource" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.PagingResource`1[[Readarr.Api.V1.Logs.LogResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "pageSize": { + "type": "integer", + "format": "int32" + }, + "sortKey": { + "type": "string", + "nullable": true + }, + "sortDirection": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.SortDirection" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.PagingResourceFilter" + }, + "nullable": true + }, + "totalRecords": { + "type": "integer", + "format": "int32" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Logs.LogResource" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.PagingResource`1[[Readarr.Api.V1.Queue.QueueResource, Readarr.Api.V1, Version=10.0.0.13370, Culture=neutral, PublicKeyToken=null]]": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "pageSize": { + "type": "integer", + "format": "int32" + }, + "sortKey": { + "type": "string", + "nullable": true + }, + "sortDirection": { + "$ref": "#/components/schemas/NzbDrone.Core.Datastore.SortDirection" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Http.PagingResourceFilter" + }, + "nullable": true + }, + "totalRecords": { + "type": "integer", + "format": "int32" + }, + "records": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Readarr.Api.V1.Queue.QueueResource" + }, + "nullable": true + } + }, + "additionalProperties": false + }, + "Readarr.Http.Ping.PingResource": { + "type": "object", + "properties": { + "status": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, + "System.TimeSpan": { "type": "object", "properties": { "ticks": { "type": "integer", - "format": "int64", - "readOnly": true + "format": "int64" }, "days": { "type": "integer", @@ -12971,160 +14085,7 @@ }, "additionalProperties": false }, - "TrackedDownloadState": { - "enum": [ - "downloading", - "downloadFailed", - "downloadFailedPending", - "importPending", - "importing", - "importFailed", - "imported", - "ignored" - ], - "type": "string" - }, - "TrackedDownloadStatus": { - "enum": [ - "ok", - "warning", - "error" - ], - "type": "string" - }, - "TrackedDownloadStatusMessage": { - "type": "object", - "properties": { - "title": { - "type": "string", - "nullable": true - }, - "messages": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "UiConfigResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "firstDayOfWeek": { - "type": "integer", - "format": "int32" - }, - "calendarWeekColumnHeader": { - "type": "string", - "nullable": true - }, - "shortDateFormat": { - "type": "string", - "nullable": true - }, - "longDateFormat": { - "type": "string", - "nullable": true - }, - "timeFormat": { - "type": "string", - "nullable": true - }, - "showRelativeDates": { - "type": "boolean" - }, - "enableColorImpairedMode": { - "type": "boolean" - }, - "uiLanguage": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "UpdateChanges": { - "type": "object", - "properties": { - "new": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "fixed": { - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - } - }, - "additionalProperties": false - }, - "UpdateMechanism": { - "enum": [ - "builtIn", - "script", - "external", - "apt", - "docker" - ], - "type": "string" - }, - "UpdateResource": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int32" - }, - "version": { - "$ref": "#/components/schemas/Version" - }, - "branch": { - "type": "string", - "nullable": true - }, - "releaseDate": { - "type": "string", - "format": "date-time" - }, - "fileName": { - "type": "string", - "nullable": true - }, - "url": { - "type": "string", - "nullable": true - }, - "installed": { - "type": "boolean" - }, - "installable": { - "type": "boolean" - }, - "latest": { - "type": "boolean" - }, - "changes": { - "$ref": "#/components/schemas/UpdateChanges" - }, - "hash": { - "type": "string", - "nullable": true - } - }, - "additionalProperties": false - }, - "Version": { + "System.Version": { "type": "object", "properties": { "major": { @@ -13159,24 +14120,29 @@ } }, "additionalProperties": false + } + }, + "securitySchemes": { + "X-Api-Key": { + "type": "apiKey", + "description": "Apikey passed as header", + "name": "X-Api-Key", + "in": "header" }, - "WriteAudioTagsType": { - "enum": [ - "no", - "newFiles", - "allFiles", - "sync" - ], - "type": "string" - }, - "WriteBookTagsType": { - "enum": [ - "newFiles", - "allFiles", - "sync" - ], - "type": "string" + "apikey": { + "type": "apiKey", + "description": "Apikey passed as header", + "name": "apikey", + "in": "query" } } - } + }, + "security": [ + { + "X-Api-Key": [ ] + }, + { + "apikey": [ ] + } + ] } \ No newline at end of file