diff --git a/src/Sonarr.Api.V5/openapi.json b/src/Sonarr.Api.V5/openapi.json index ed7a967ae..9b70f7f80 100644 --- a/src/Sonarr.Api.V5/openapi.json +++ b/src/Sonarr.Api.V5/openapi.json @@ -152,8 +152,11 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" } } } @@ -176,7 +179,15 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { } + } + } + }, + "404": { + "description": "Not Found" } } } @@ -188,7 +199,20 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { } + } + } } } } @@ -284,8 +308,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -315,8 +339,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -421,6 +445,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -512,8 +539,8 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { "application/json": { "schema": { @@ -521,6 +548,9 @@ } } } + }, + "404": { + "description": "Not Found" } } }, @@ -562,8 +592,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -592,6 +622,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -648,8 +681,8 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { "application/json": { "schema": { @@ -657,6 +690,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -702,8 +738,8 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { @@ -711,6 +747,9 @@ } } } + }, + "404": { + "description": "Not Found" } } }, @@ -730,8 +769,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -760,6 +799,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -810,8 +852,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -823,7 +865,30 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProviderTestAllResult" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProviderTestAllResult" + } + } + } + } } } } @@ -853,8 +918,8 @@ } }, "responses": { - "200": { - "description": "OK" + "400": { + "description": "Bad Request" } } } @@ -894,25 +959,18 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/CustomFilterResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/CustomFilterResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/CustomFilterResource" - } } } + }, + "404": { + "description": "Not Found" } } } @@ -942,25 +1000,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/CustomFilterResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/CustomFilterResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/CustomFilterResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -980,8 +1031,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -1010,6 +1061,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -1111,6 +1165,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -1202,6 +1259,9 @@ } } } + }, + "400": { + "description": "Bad Request" } } } @@ -1235,20 +1295,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/EpisodeResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/EpisodeResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/EpisodeResource" - } } } } @@ -1279,6 +1329,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -1311,7 +1364,17 @@ }, "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EpisodeResource" + } + } + } + } } } } @@ -1355,6 +1418,9 @@ } } } + }, + "400": { + "description": "Bad Request" } } } @@ -1384,25 +1450,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/EpisodeFileResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/EpisodeFileResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/EpisodeFileResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -1422,8 +1481,11 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" } } }, @@ -1452,6 +1514,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -1471,8 +1536,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -1494,7 +1559,17 @@ }, "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EpisodeFileResource" + } + } + } + } } } } @@ -1531,7 +1606,14 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FileSystemResult" + } + } + } } } } @@ -1552,7 +1634,12 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { } + } + } } } } @@ -1573,7 +1660,15 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { } + } + } + } } } } @@ -1603,25 +1698,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/GeneralSettingsResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/GeneralSettingsResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/GeneralSettingsResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -1650,6 +1738,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -2038,8 +2129,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -2110,25 +2201,18 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/ImportListExclusionResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } } } + }, + "404": { + "description": "Not Found" } } } @@ -2158,25 +2242,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/ImportListExclusionResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ImportListExclusionResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -2196,8 +2273,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -2226,6 +2303,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -2245,8 +2325,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -2303,8 +2383,8 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { "application/json": { "schema": { @@ -2312,6 +2392,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -2357,8 +2440,8 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { @@ -2366,6 +2449,9 @@ } } } + }, + "404": { + "description": "Not Found" } } }, @@ -2385,8 +2471,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -2415,6 +2501,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -2439,10 +2528,16 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/IndexerResource" + "type": "array", + "items": { + "$ref": "#/components/schemas/IndexerResource" + } } } } + }, + "400": { + "description": "Bad Request" } } }, @@ -2460,8 +2555,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -2512,8 +2607,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -2525,7 +2620,30 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProviderTestAllResult" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProviderTestAllResult" + } + } + } + } } } } @@ -2555,8 +2673,8 @@ } }, "responses": { - "200": { - "description": "OK" + "400": { + "description": "Bad Request" } } } @@ -2570,14 +2688,6 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerFlagResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -2585,14 +2695,6 @@ "$ref": "#/components/schemas/IndexerFlagResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerFlagResource" - } - } } } } @@ -2643,25 +2745,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/IndexerSettingsResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/IndexerSettingsResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/IndexerSettingsResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -2690,6 +2785,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -2703,14 +2801,6 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LanguageResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -2718,14 +2808,6 @@ "$ref": "#/components/schemas/LanguageResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LanguageResource" - } - } } } } @@ -2758,6 +2840,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -2826,6 +2911,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -2929,8 +3017,8 @@ } ], "responses": { - "200": { - "description": "OK" + "404": { + "description": "Not Found" } } } @@ -3019,14 +3107,6 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ManualImportResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -3034,16 +3114,11 @@ "$ref": "#/components/schemas/ManualImportResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ManualImportResource" - } - } } } + }, + "400": { + "description": "Bad Request" } } } @@ -3092,25 +3167,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/MediaManagementSettingsResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/MediaManagementSettingsResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MediaManagementSettingsResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -3139,6 +3207,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -3195,8 +3266,8 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { "application/json": { "schema": { @@ -3204,6 +3275,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -3249,8 +3323,8 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { @@ -3258,6 +3332,9 @@ } } } + }, + "404": { + "description": "Not Found" } } }, @@ -3277,8 +3354,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -3307,6 +3384,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -3357,8 +3437,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -3370,7 +3450,30 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProviderTestAllResult" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProviderTestAllResult" + } + } + } + } } } } @@ -3400,8 +3503,8 @@ } }, "responses": { - "200": { - "description": "OK" + "400": { + "description": "Bad Request" } } } @@ -3452,6 +3555,14 @@ "default": true } }, + { + "name": "includeSpecials", + "in": "query", + "schema": { + "type": "boolean", + "default": true + } + }, { "name": "includeSubresources", "in": "query", @@ -3503,6 +3614,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -3516,20 +3630,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/NamingSettingsResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/NamingSettingsResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/NamingSettingsResource" - } } } } @@ -3571,25 +3675,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/NamingSettingsResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/NamingSettingsResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/NamingSettingsResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -3618,6 +3715,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -3836,25 +3936,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/QualityDefinitionResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/QualityDefinitionResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -3883,6 +3976,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -3896,14 +3992,6 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/QualityDefinitionResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -3911,14 +3999,6 @@ "$ref": "#/components/schemas/QualityDefinitionResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/QualityDefinitionResource" - } - } } } } @@ -3958,7 +4038,17 @@ }, "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/QualityDefinitionResource" + } + } + } + } } } } @@ -3978,25 +4068,18 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/QualityProfileResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/QualityProfileResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/QualityProfileResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -4038,8 +4121,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -4067,25 +4150,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/QualityProfileResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/QualityProfileResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/QualityProfileResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -4114,6 +4190,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -4127,20 +4206,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/QualityProfileResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/QualityProfileResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/QualityProfileResource" - } } } } @@ -4203,8 +4272,11 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" + }, + "404": { + "description": "Not Found" } } } @@ -4275,8 +4347,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -4419,8 +4491,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -4440,8 +4512,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -4534,7 +4606,17 @@ }, "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReleaseGrabResource" + } + } + } + }, + "404": { + "description": "Not Found" } } }, @@ -4581,6 +4663,9 @@ } } } + }, + "400": { + "description": "Bad Request" } } } @@ -4610,25 +4695,18 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/ReleaseProfileResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -4640,14 +4718,6 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -4655,14 +4725,6 @@ "$ref": "#/components/schemas/ReleaseProfileResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - } } } } @@ -4686,8 +4748,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -4725,25 +4787,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/ReleaseProfileResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ReleaseProfileResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -4772,6 +4827,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -4794,22 +4852,15 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ReleaseResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/ReleaseResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ReleaseResource" - } } } + }, + "400": { + "description": "Bad Request" } } } @@ -4840,6 +4891,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -4859,25 +4913,18 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/RemotePathMappingResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/RemotePathMappingResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -4919,8 +4966,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -4961,22 +5008,15 @@ "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" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -5005,6 +5045,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -5080,6 +5123,9 @@ } } } + }, + "400": { + "description": "Bad Request" } } } @@ -5099,25 +5145,18 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/RootFolderResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/RootFolderResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -5159,8 +5198,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -5189,6 +5228,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -5208,8 +5250,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -5269,8 +5311,8 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { "application/json": { "schema": { @@ -5278,6 +5320,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -5318,6 +5363,9 @@ } } } + }, + "404": { + "description": "Not Found" } } }, @@ -5353,8 +5401,8 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { "application/json": { "schema": { @@ -5362,6 +5410,9 @@ } } } + }, + "404": { + "description": "Not Found" } } }, @@ -5397,8 +5448,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -5438,6 +5489,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -5468,7 +5522,20 @@ }, "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SeriesResource" + } + } + } + } + }, + "400": { + "description": "Bad Request" } } }, @@ -5496,8 +5563,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } } @@ -5520,7 +5587,12 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { } + } + } } } } @@ -5560,7 +5632,17 @@ }, "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SeriesResource" + } + } + } + } } } } @@ -5583,14 +5665,6 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SeriesResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -5598,14 +5672,6 @@ "$ref": "#/components/schemas/SeriesResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SeriesResource" - } - } } } } @@ -5718,7 +5784,20 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } } } } @@ -5730,7 +5809,12 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { } + } + } } } } @@ -5742,7 +5826,12 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { } + } + } } } } @@ -5782,25 +5871,18 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/TagResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/TagResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/TagResource" - } } } + }, + "404": { + "description": "Not Found" } } } @@ -5830,25 +5912,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/TagResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/TagResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/TagResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -5868,8 +5943,8 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" } } }, @@ -5898,6 +5973,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -5950,6 +6028,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -6002,6 +6083,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -6050,25 +6134,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/UiSettingsResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/UiSettingsResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/UiSettingsResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -6097,6 +6174,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -6162,8 +6242,8 @@ } ], "responses": { - "200": { - "description": "OK" + "404": { + "description": "Not Found" } } } @@ -6212,25 +6292,18 @@ } }, "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/UpdateSettingsResource" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/UpdateSettingsResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/UpdateSettingsResource" - } } } + }, + "404": { + "description": "Not Found" } } }, @@ -6259,6 +6332,9 @@ } } } + }, + "404": { + "description": "Not Found" } } } @@ -7456,6 +7532,69 @@ ], "type": "string" }, + "FileSystemEntityType": { + "enum": [ + "parent", + "drive", + "folder", + "file" + ], + "type": "string" + }, + "FileSystemModel": { + "type": "object", + "properties": { + "type": { + "$ref": "#/components/schemas/FileSystemEntityType" + }, + "name": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "extension": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64" + }, + "lastModified": { + "type": "string", + "format": "date-time", + "nullable": true + } + }, + "additionalProperties": false + }, + "FileSystemResult": { + "type": "object", + "properties": { + "parent": { + "type": "string", + "nullable": true + }, + "directories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileSystemModel" + }, + "nullable": true + }, + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/FileSystemModel" + }, + "nullable": true + } + }, + "additionalProperties": false + }, "GeneralSettingsResource": { "type": "object", "properties": { @@ -9194,6 +9333,27 @@ ], "type": "string" }, + "ProviderTestAllResult": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "isValid": { + "type": "boolean", + "readOnly": true + }, + "validationFailures": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ValidationFailure" + }, + "nullable": true + } + }, + "additionalProperties": false + }, "ProxyType": { "enum": [ "http", @@ -10330,6 +10490,20 @@ }, "nullable": true }, + "releaseTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ReleaseType" + }, + "nullable": true + }, + "episodeFileQualities": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Quality" + }, + "nullable": true + }, "percentOfEpisodes": { "type": "number", "format": "double", @@ -10666,6 +10840,20 @@ }, "nullable": true }, + "releaseTypes": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ReleaseType" + }, + "nullable": true + }, + "episodeFileQualities": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Quality" + }, + "nullable": true + }, "percentOfEpisodes": { "type": "number", "format": "double", @@ -10722,6 +10910,14 @@ ], "type": "string" }, + "Severity": { + "enum": [ + "error", + "warning", + "info" + ], + "type": "string" + }, "SkipValidation": { "enum": [ "none", @@ -11226,6 +11422,46 @@ } }, "additionalProperties": false + }, + "ValidationFailure": { + "type": "object", + "properties": { + "propertyName": { + "type": "string", + "nullable": true + }, + "errorMessage": { + "type": "string", + "nullable": true + }, + "attemptedValue": { + "nullable": true + }, + "customState": { + "nullable": true + }, + "severity": { + "$ref": "#/components/schemas/Severity" + }, + "errorCode": { + "type": "string", + "nullable": true + }, + "formattedMessageArguments": { + "type": "array", + "items": { }, + "nullable": true, + "deprecated": true + }, + "formattedMessagePlaceholderValues": { + "type": "object", + "additionalProperties": { + "nullable": true + }, + "nullable": true + } + }, + "additionalProperties": false } }, "securitySchemes": {