mirror of
https://github.com/Readarr/Readarr
synced 2025-12-27 18:54:54 +01:00
Automated API Docs update
This commit is contained in:
parent
9e3dfc510d
commit
a093290792
1 changed files with 266 additions and 112 deletions
|
|
@ -66,25 +66,25 @@
|
|||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Username": {
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"Password": {
|
||||
"password": {
|
||||
"type": "string"
|
||||
},
|
||||
"RememberMe": {
|
||||
"rememberMe": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"encoding": {
|
||||
"Username": {
|
||||
"username": {
|
||||
"style": "form"
|
||||
},
|
||||
"Password": {
|
||||
"password": {
|
||||
"style": "form"
|
||||
},
|
||||
"RememberMe": {
|
||||
"rememberMe": {
|
||||
"style": "form"
|
||||
}
|
||||
}
|
||||
|
|
@ -517,24 +517,48 @@
|
|||
"tags": [
|
||||
"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": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/BlocklistResourcePagingResource"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/BlocklistResourcePagingResource"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/BlocklistResourcePagingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1899,6 +1923,38 @@
|
|||
"Cutoff"
|
||||
],
|
||||
"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": "includeAuthor",
|
||||
"in": "query",
|
||||
|
|
@ -1906,6 +1962,14 @@
|
|||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monitored",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
|
@ -2912,20 +2976,76 @@
|
|||
"History"
|
||||
],
|
||||
"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": "includeAuthor",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "includeBook",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "eventType",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "bookId",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "downloadId",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
@ -2933,20 +3053,10 @@
|
|||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HistoryResourcePagingResource"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HistoryResourcePagingResource"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HistoryResourcePagingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4221,24 +4331,55 @@
|
|||
"tags": [
|
||||
"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": {
|
||||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/LogResourcePagingResource"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/LogResourcePagingResource"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/LogResourcePagingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5181,6 +5322,38 @@
|
|||
"Missing"
|
||||
],
|
||||
"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": "includeAuthor",
|
||||
"in": "query",
|
||||
|
|
@ -5188,6 +5361,14 @@
|
|||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "monitored",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
|
@ -5366,21 +5547,21 @@
|
|||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "RenameBooks",
|
||||
"name": "renameBooks",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ReplaceIllegalCharacters",
|
||||
"name": "replaceIllegalCharacters",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ColonReplacementFormat",
|
||||
"name": "colonReplacementFormat",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
|
|
@ -5388,63 +5569,63 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "StandardBookFormat",
|
||||
"name": "standardBookFormat",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "AuthorFolderFormat",
|
||||
"name": "authorFolderFormat",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "IncludeAuthorName",
|
||||
"name": "includeAuthorName",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "IncludeBookTitle",
|
||||
"name": "includeBookTitle",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "IncludeQuality",
|
||||
"name": "includeQuality",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ReplaceSpaces",
|
||||
"name": "replaceSpaces",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Separator",
|
||||
"name": "separator",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "NumberStyle",
|
||||
"name": "numberStyle",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Id",
|
||||
"name": "id",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
|
|
@ -5452,7 +5633,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "ResourceName",
|
||||
"name": "resourceName",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
|
|
@ -6256,6 +6437,38 @@
|
|||
"Queue"
|
||||
],
|
||||
"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": "includeUnknownAuthorItems",
|
||||
"in": "query",
|
||||
|
|
@ -6285,20 +6498,10 @@
|
|||
"200": {
|
||||
"description": "Success",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/QueueResourcePagingResource"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/QueueResourcePagingResource"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/QueueResourcePagingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -8688,13 +8891,6 @@
|
|||
"sortDirection": {
|
||||
"$ref": "#/components/schemas/SortDirection"
|
||||
},
|
||||
"filters": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/PagingResourceFilter"
|
||||
},
|
||||
"nullable": true
|
||||
},
|
||||
"totalRecords": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
|
|
@ -9148,13 +9344,6 @@
|
|||
"sortDirection": {
|
||||
"$ref": "#/components/schemas/SortDirection"
|
||||
},
|
||||
"filters": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/PagingResourceFilter"
|
||||
},
|
||||
"nullable": true
|
||||
},
|
||||
"totalRecords": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
|
|
@ -10240,13 +10429,6 @@
|
|||
"sortDirection": {
|
||||
"$ref": "#/components/schemas/SortDirection"
|
||||
},
|
||||
"filters": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/PagingResourceFilter"
|
||||
},
|
||||
"nullable": true
|
||||
},
|
||||
"totalRecords": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
|
|
@ -10915,13 +11097,6 @@
|
|||
"sortDirection": {
|
||||
"$ref": "#/components/schemas/SortDirection"
|
||||
},
|
||||
"filters": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/PagingResourceFilter"
|
||||
},
|
||||
"nullable": true
|
||||
},
|
||||
"totalRecords": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
|
|
@ -11646,20 +11821,6 @@
|
|||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"PagingResourceFilter": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ParseResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -12299,13 +12460,6 @@
|
|||
"sortDirection": {
|
||||
"$ref": "#/components/schemas/SortDirection"
|
||||
},
|
||||
"filters": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/PagingResourceFilter"
|
||||
},
|
||||
"nullable": true
|
||||
},
|
||||
"totalRecords": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
|
|
|
|||
Loading…
Reference in a new issue