From 7738ee78c81ad68cb8d5ed8b34945e065269fc61 Mon Sep 17 00:00:00 2001 From: Servarr Date: Mon, 26 Aug 2024 04:14:01 +0000 Subject: [PATCH] Automated API Docs update --- src/Lidarr.Api.V1/openapi.json | 102 ++++++++++++++++++++++++--------- 1 file changed, 76 insertions(+), 26 deletions(-) diff --git a/src/Lidarr.Api.V1/openapi.json b/src/Lidarr.Api.V1/openapi.json index b48424105..512e014e2 100644 --- a/src/Lidarr.Api.V1/openapi.json +++ b/src/Lidarr.Api.V1/openapi.json @@ -439,20 +439,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ArtistResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/ArtistResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ArtistResource" - } } } } @@ -544,20 +534,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ArtistResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/ArtistResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ArtistResource" - } } } } @@ -1633,6 +1613,26 @@ } }, "/api/v1/customformat": { + "get": { + "tags": [ + "CustomFormat" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomFormatResource" + } + } + } + } + } + } + }, "post": { "tags": [ "CustomFormat" @@ -1668,26 +1668,53 @@ } } } - }, - "get": { + } + }, + "/api/v1/customformat/bulk": { + "put": { "tags": [ "CustomFormat" ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomFormatBulkResource" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFormatResource" - } + "$ref": "#/components/schemas/CustomFormatResource" } } } } } + }, + "delete": { + "tags": [ + "CustomFormat" + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomFormatBulkResource" + } + } + } + }, + "responses": { + "200": { + "description": "OK" + } + } } }, "/api/v1/customformat/schema": { @@ -9296,6 +9323,25 @@ }, "additionalProperties": false }, + "CustomFormatBulkResource": { + "type": "object", + "properties": { + "ids": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "nullable": true + }, + "includeCustomFormatWhenRenaming": { + "type": "boolean", + "nullable": true + } + }, + "additionalProperties": false + }, "CustomFormatResource": { "type": "object", "properties": { @@ -9877,6 +9923,10 @@ "type": "string", "nullable": true }, + "logSizeLimit": { + "type": "integer", + "format": "int32" + }, "consoleLogLevel": { "type": "string", "nullable": true