From 6b406d4a1d664a5f46a22f3ce2d5f5f2b567e111 Mon Sep 17 00:00:00 2001 From: Servarr Date: Sun, 18 Jan 2026 19:26:08 +0000 Subject: [PATCH] Automated API Docs update --- src/Lidarr.Api.V1/openapi.json | 160 +++++++++++++++++++++++++++------ 1 file changed, 131 insertions(+), 29 deletions(-) diff --git a/src/Lidarr.Api.V1/openapi.json b/src/Lidarr.Api.V1/openapi.json index bd42875a7..59a4039ec 100644 --- a/src/Lidarr.Api.V1/openapi.json +++ b/src/Lidarr.Api.V1/openapi.json @@ -2090,6 +2090,25 @@ } } }, + "/api/v1/delayprofile/schema": { + "get": { + "tags": [ + "DelayProfileSchema" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DelayProfileResource" + } + } + } + } + } + } + }, "/api/v1/diskspace": { "get": { "tags": [ @@ -5741,6 +5760,44 @@ } } }, + "/api/v1/system/plugins": { + "get": { + "tags": [ + "Plugin" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "text/plain": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginResource" + } + } + }, + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginResource" + } + } + }, + "text/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginResource" + } + } + } + } + } + } + } + }, "/api/v1/qualitydefinition/{id}": { "put": { "tags": [ @@ -6342,7 +6399,7 @@ "name": "protocol", "in": "query", "schema": { - "$ref": "#/components/schemas/DownloadProtocol" + "type": "string" } }, { @@ -9110,7 +9167,8 @@ "format": "date-time" }, "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" + "type": "string", + "nullable": true }, "indexer": { "type": "string", @@ -9464,6 +9522,27 @@ ], "type": "string" }, + "DelayProfileProtocolItemResource": { + "type": "object", + "properties": { + "name": { + "type": "string", + "nullable": true + }, + "protocol": { + "type": "string", + "nullable": true + }, + "allowed": { + "type": "boolean" + }, + "delay": { + "type": "integer", + "format": "int32" + } + }, + "additionalProperties": false + }, "DelayProfileResource": { "type": "object", "properties": { @@ -9471,22 +9550,16 @@ "type": "integer", "format": "int32" }, - "enableUsenet": { - "type": "boolean" + "name": { + "type": "string", + "nullable": true }, - "enableTorrent": { - "type": "boolean" - }, - "preferredProtocol": { - "$ref": "#/components/schemas/DownloadProtocol" - }, - "usenetDelay": { - "type": "integer", - "format": "int32" - }, - "torrentDelay": { - "type": "integer", - "format": "int32" + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DelayProfileProtocolItemResource" + }, + "nullable": true }, "bypassIfHighestQuality": { "type": "boolean" @@ -9662,7 +9735,8 @@ "type": "boolean" }, "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" + "type": "string", + "nullable": true }, "priority": { "type": "integer", @@ -9677,14 +9751,6 @@ }, "additionalProperties": false }, - "DownloadProtocol": { - "enum": [ - "unknown", - "usenet", - "torrent" - ], - "type": "string" - }, "EntityHistoryEventType": { "enum": [ "unknown", @@ -10388,7 +10454,8 @@ "type": "boolean" }, "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" + "type": "string", + "nullable": true }, "priority": { "type": "integer", @@ -11485,6 +11552,39 @@ }, "additionalProperties": false }, + "PluginResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string", + "nullable": true + }, + "owner": { + "type": "string", + "nullable": true + }, + "githubUrl": { + "type": "string", + "nullable": true + }, + "installedVersion": { + "type": "string", + "nullable": true + }, + "availableVersion": { + "type": "string", + "nullable": true + }, + "updateAvailable": { + "type": "boolean" + } + }, + "additionalProperties": false + }, "PrimaryAlbumType": { "type": "object", "properties": { @@ -11851,7 +11951,8 @@ "nullable": true }, "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" + "type": "string", + "nullable": true }, "downloadClient": { "type": "string", @@ -12167,7 +12268,8 @@ "nullable": true }, "protocol": { - "$ref": "#/components/schemas/DownloadProtocol" + "type": "string", + "nullable": true }, "indexerFlags": { "type": "integer",