From 3977d8766cfa322f1c9cdbe8aaa87d33bc90df50 Mon Sep 17 00:00:00 2001 From: Sonarr Date: Mon, 29 Dec 2025 21:07:39 +0000 Subject: [PATCH] Automated API Docs update ignore-downstream --- src/Sonarr.Api.V5/openapi.json | 389 ++++++++++++++++++++++++++++++++- 1 file changed, 388 insertions(+), 1 deletion(-) diff --git a/src/Sonarr.Api.V5/openapi.json b/src/Sonarr.Api.V5/openapi.json index b6837d123..0e29e9f54 100644 --- a/src/Sonarr.Api.V5/openapi.json +++ b/src/Sonarr.Api.V5/openapi.json @@ -2321,7 +2321,7 @@ "in": "query", "schema": { "type": "boolean", - "default": false + "default": true } }, { @@ -2650,6 +2650,171 @@ } } }, + "/api/v5/remotepathmapping": { + "post": { + "tags": [ + "RemotePathMapping" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + } + } + } + } + }, + "get": { + "tags": [ + "RemotePathMapping" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + } + } + } + } + } + } + }, + "/api/v5/remotepathmapping/{id}": { + "delete": { + "tags": [ + "RemotePathMapping" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "OK" + } + } + }, + "put": { + "tags": [ + "RemotePathMapping" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "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": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + } + } + } + } + }, + "get": { + "tags": [ + "RemotePathMapping" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RemotePathMappingResource" + } + } + } + } + } + } + }, "/api/v5/rename": { "get": { "tags": [ @@ -3166,6 +3331,46 @@ } } }, + "/api/v5/series/import": { + "post": { + "tags": [ + "SeriesImport" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SeriesResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SeriesResource" + } + } + }, + "application/*+json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SeriesResource" + } + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } + } + }, "/api/v5/series/lookup": { "get": { "tags": [ @@ -3607,6 +3812,101 @@ } } }, + "/api/v5/settings/ui/{id}": { + "put": { + "tags": [ + "UiSettings" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UiSettingsResource" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "$ref": "#/components/schemas/UiSettingsResource" + } + }, + "application/json": { + "schema": { + "$ref": "#/components/schemas/UiSettingsResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UiSettingsResource" + } + } + } + } + } + }, + "get": { + "tags": [ + "UiSettings" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int32" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UiSettingsResource" + } + } + } + } + } + } + }, + "/api/v5/settings/ui": { + "get": { + "tags": [ + "UiSettings" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UiSettingsResource" + } + } + } + } + } + } + }, "/api/v5/update": { "get": { "tags": [ @@ -6506,6 +6806,28 @@ ], "type": "string" }, + "RemotePathMappingResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "host": { + "type": "string", + "nullable": true + }, + "remotePath": { + "type": "string", + "nullable": true + }, + "localPath": { + "type": "string", + "nullable": true + } + }, + "additionalProperties": false + }, "RenameEpisodeResource": { "type": "object", "properties": { @@ -6712,6 +7034,10 @@ "type": "integer", "format": "int32" }, + "monitoredEpisodeCount": { + "type": "integer", + "format": "int32" + }, "sizeOnDisk": { "type": "integer", "format": "int64" @@ -7040,6 +7366,10 @@ "type": "integer", "format": "int32" }, + "monitoredEpisodeCount": { + "type": "integer", + "format": "int32" + }, "sizeOnDisk": { "type": "integer", "format": "int64" @@ -7425,6 +7755,54 @@ }, "additionalProperties": false }, + "UiSettingsResource": { + "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 + }, + "timeZone": { + "type": "string", + "nullable": true + }, + "showRelativeDates": { + "type": "boolean" + }, + "enableColorImpairedMode": { + "type": "boolean" + }, + "theme": { + "type": "string", + "nullable": true + }, + "uiLanguage": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, "UnmappedFolder": { "type": "object", "properties": { @@ -7668,6 +8046,9 @@ { "name": "ReleasePush" }, + { + "name": "RemotePathMapping" + }, { "name": "RenameEpisode" }, @@ -7686,6 +8067,9 @@ { "name": "SeriesFolder" }, + { + "name": "SeriesImport" + }, { "name": "SeriesLookup" }, @@ -7701,6 +8085,9 @@ { "name": "Task" }, + { + "name": "UiSettings" + }, { "name": "Update" },