Automated API Docs update

pull/4266/head
Servarr 7 months ago committed by Bogdan
parent dcdc140945
commit 42a15ab60e

@ -701,25 +701,25 @@
"schema": { "schema": {
"type": "object", "type": "object",
"properties": { "properties": {
"Username": { "username": {
"type": "string" "type": "string"
}, },
"Password": { "password": {
"type": "string" "type": "string"
}, },
"RememberMe": { "rememberMe": {
"type": "string" "type": "string"
} }
} }
}, },
"encoding": { "encoding": {
"Username": { "username": {
"style": "form" "style": "form"
}, },
"Password": { "password": {
"style": "form" "style": "form"
}, },
"RememberMe": { "rememberMe": {
"style": "form" "style": "form"
} }
} }
@ -1033,6 +1033,40 @@
"tags": [ "tags": [
"Blocklist" "Blocklist"
], ],
"parameters": [
{
"name": "page",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "pageSize",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "sortKey",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "sortDirection",
"in": "query",
"schema": {
"$ref": "#/components/schemas/SortDirection"
}
}
],
"responses": { "responses": {
"200": { "200": {
"description": "Success", "description": "Success",
@ -1718,6 +1752,38 @@
"Cutoff" "Cutoff"
], ],
"parameters": [ "parameters": [
{
"name": "page",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "pageSize",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "sortKey",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "sortDirection",
"in": "query",
"schema": {
"$ref": "#/components/schemas/SortDirection"
}
},
{ {
"name": "includeArtist", "name": "includeArtist",
"in": "query", "in": "query",
@ -1725,6 +1791,14 @@
"type": "boolean", "type": "boolean",
"default": false "default": false
} }
},
{
"name": "monitored",
"in": "query",
"schema": {
"type": "boolean",
"default": true
}
} }
], ],
"responses": { "responses": {
@ -2543,28 +2617,80 @@
"History" "History"
], ],
"parameters": [ "parameters": [
{
"name": "page",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "pageSize",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "sortKey",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "sortDirection",
"in": "query",
"schema": {
"$ref": "#/components/schemas/SortDirection"
}
},
{ {
"name": "includeArtist", "name": "includeArtist",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean", "type": "boolean"
"default": false
} }
}, },
{ {
"name": "includeAlbum", "name": "includeAlbum",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean", "type": "boolean"
"default": false
} }
}, },
{ {
"name": "includeTrack", "name": "includeTrack",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean", "type": "boolean"
"default": false }
},
{
"name": "eventType",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "albumId",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "downloadId",
"in": "query",
"schema": {
"type": "string"
} }
} }
], ],
@ -2572,20 +2698,10 @@
"200": { "200": {
"description": "Success", "description": "Success",
"content": { "content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/HistoryResourcePagingResource"
}
},
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/HistoryResourcePagingResource" "$ref": "#/components/schemas/HistoryResourcePagingResource"
} }
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/HistoryResourcePagingResource"
}
} }
} }
} }
@ -2642,14 +2758,6 @@
"200": { "200": {
"description": "Success", "description": "Success",
"content": { "content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/HistoryResource"
}
}
},
"application/json": { "application/json": {
"schema": { "schema": {
"type": "array", "type": "array",
@ -2657,14 +2765,6 @@
"$ref": "#/components/schemas/HistoryResource" "$ref": "#/components/schemas/HistoryResource"
} }
} }
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/HistoryResource"
}
}
} }
} }
} }
@ -2729,14 +2829,6 @@
"200": { "200": {
"description": "Success", "description": "Success",
"content": { "content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/HistoryResource"
}
}
},
"application/json": { "application/json": {
"schema": { "schema": {
"type": "array", "type": "array",
@ -2744,14 +2836,6 @@
"$ref": "#/components/schemas/HistoryResource" "$ref": "#/components/schemas/HistoryResource"
} }
} }
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/HistoryResource"
}
}
} }
} }
} }
@ -3906,6 +3990,47 @@
"tags": [ "tags": [
"Log" "Log"
], ],
"parameters": [
{
"name": "page",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "pageSize",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "sortKey",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "sortDirection",
"in": "query",
"schema": {
"$ref": "#/components/schemas/SortDirection"
}
},
{
"name": "level",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": { "responses": {
"200": { "200": {
"description": "Success", "description": "Success",
@ -4840,6 +4965,38 @@
"Missing" "Missing"
], ],
"parameters": [ "parameters": [
{
"name": "page",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "pageSize",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "sortKey",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "sortDirection",
"in": "query",
"schema": {
"$ref": "#/components/schemas/SortDirection"
}
},
{ {
"name": "includeArtist", "name": "includeArtist",
"in": "query", "in": "query",
@ -4847,6 +5004,14 @@
"type": "boolean", "type": "boolean",
"default": false "default": false
} }
},
{
"name": "monitored",
"in": "query",
"schema": {
"type": "boolean",
"default": true
}
} }
], ],
"responses": { "responses": {
@ -5035,21 +5200,21 @@
], ],
"parameters": [ "parameters": [
{ {
"name": "RenameTracks", "name": "renameTracks",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean" "type": "boolean"
} }
}, },
{ {
"name": "ReplaceIllegalCharacters", "name": "replaceIllegalCharacters",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean" "type": "boolean"
} }
}, },
{ {
"name": "ColonReplacementFormat", "name": "colonReplacementFormat",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "integer", "type": "integer",
@ -5057,70 +5222,70 @@
} }
}, },
{ {
"name": "StandardTrackFormat", "name": "standardTrackFormat",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "string" "type": "string"
} }
}, },
{ {
"name": "MultiDiscTrackFormat", "name": "multiDiscTrackFormat",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "string" "type": "string"
} }
}, },
{ {
"name": "ArtistFolderFormat", "name": "artistFolderFormat",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "string" "type": "string"
} }
}, },
{ {
"name": "IncludeArtistName", "name": "includeArtistName",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean" "type": "boolean"
} }
}, },
{ {
"name": "IncludeAlbumTitle", "name": "includeAlbumTitle",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean" "type": "boolean"
} }
}, },
{ {
"name": "IncludeQuality", "name": "includeQuality",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean" "type": "boolean"
} }
}, },
{ {
"name": "ReplaceSpaces", "name": "replaceSpaces",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "boolean" "type": "boolean"
} }
}, },
{ {
"name": "Separator", "name": "separator",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "string" "type": "string"
} }
}, },
{ {
"name": "NumberStyle", "name": "numberStyle",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "string" "type": "string"
} }
}, },
{ {
"name": "Id", "name": "id",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "integer", "type": "integer",
@ -5128,7 +5293,7 @@
} }
}, },
{ {
"name": "ResourceName", "name": "resourceName",
"in": "query", "in": "query",
"schema": { "schema": {
"type": "string" "type": "string"
@ -5952,6 +6117,38 @@
"Queue" "Queue"
], ],
"parameters": [ "parameters": [
{
"name": "page",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 1
}
},
{
"name": "pageSize",
"in": "query",
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "sortKey",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "sortDirection",
"in": "query",
"schema": {
"$ref": "#/components/schemas/SortDirection"
}
},
{ {
"name": "includeUnknownArtistItems", "name": "includeUnknownArtistItems",
"in": "query", "in": "query",
@ -8436,13 +8633,6 @@
"sortDirection": { "sortDirection": {
"$ref": "#/components/schemas/SortDirection" "$ref": "#/components/schemas/SortDirection"
}, },
"filters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PagingResourceFilter"
},
"nullable": true
},
"totalRecords": { "totalRecords": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
@ -9215,13 +9405,6 @@
"sortDirection": { "sortDirection": {
"$ref": "#/components/schemas/SortDirection" "$ref": "#/components/schemas/SortDirection"
}, },
"filters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PagingResourceFilter"
},
"nullable": true
},
"totalRecords": { "totalRecords": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
@ -9981,13 +10164,6 @@
"sortDirection": { "sortDirection": {
"$ref": "#/components/schemas/SortDirection" "$ref": "#/components/schemas/SortDirection"
}, },
"filters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PagingResourceFilter"
},
"nullable": true
},
"totalRecords": { "totalRecords": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
@ -10674,13 +10850,6 @@
"sortDirection": { "sortDirection": {
"$ref": "#/components/schemas/SortDirection" "$ref": "#/components/schemas/SortDirection"
}, },
"filters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PagingResourceFilter"
},
"nullable": true
},
"totalRecords": { "totalRecords": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
@ -11456,20 +11625,6 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"PagingResourceFilter": {
"type": "object",
"properties": {
"key": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ParseResource": { "ParseResource": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -12183,13 +12338,6 @@
"sortDirection": { "sortDirection": {
"$ref": "#/components/schemas/SortDirection" "$ref": "#/components/schemas/SortDirection"
}, },
"filters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PagingResourceFilter"
},
"nullable": true
},
"totalRecords": { "totalRecords": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"

Loading…
Cancel
Save