Automated API Docs update

ignore-downstream
pull/7701/head
Sonarr 1 month ago
parent fef00dccf8
commit a50ab36128

@ -113,6 +113,66 @@
}
}
},
"/api/v5/log": {
"get": {
"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": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LogResourcePagingResource"
}
}
}
}
}
}
},
"/ping": {
"get": {
"tags": [
@ -515,6 +575,77 @@
},
"additionalProperties": false
},
"LogResource": {
"required": [
"level",
"logger",
"message"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"time": {
"type": "string",
"format": "date-time"
},
"exception": {
"type": "string",
"nullable": true
},
"exceptionType": {
"type": "string",
"nullable": true
},
"level": {
"type": "string",
"nullable": true
},
"logger": {
"type": "string",
"nullable": true
},
"message": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"LogResourcePagingResource": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"sortKey": {
"type": "string",
"nullable": true
},
"sortDirection": {
"$ref": "#/components/schemas/SortDirection"
},
"totalRecords": {
"type": "integer",
"format": "int32"
},
"records": {
"type": "array",
"items": {
"$ref": "#/components/schemas/LogResource"
},
"nullable": true
}
},
"additionalProperties": false
},
"MediaCover": {
"type": "object",
"properties": {
@ -908,6 +1039,14 @@
"anime"
],
"type": "string"
},
"SortDirection": {
"enum": [
"default",
"ascending",
"descending"
],
"type": "string"
}
},
"securitySchemes": {

Loading…
Cancel
Save