feat: version check endpoint (#18572)
This commit is contained in:
@@ -5563,6 +5563,38 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/server/version-check": {
|
||||
"get": {
|
||||
"operationId": "getVersionCheck",
|
||||
"parameters": [],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/VersionCheckStateResponseDto"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"bearer": []
|
||||
},
|
||||
{
|
||||
"cookie": []
|
||||
},
|
||||
{
|
||||
"api_key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"Server"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/server/version-history": {
|
||||
"get": {
|
||||
"operationId": "getVersionHistory",
|
||||
@@ -6846,6 +6878,38 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/system-metadata/version-check-state": {
|
||||
"get": {
|
||||
"operationId": "getVersionCheckState",
|
||||
"parameters": [],
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/VersionCheckStateResponseDto"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"bearer": []
|
||||
},
|
||||
{
|
||||
"cookie": []
|
||||
},
|
||||
{
|
||||
"api_key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"System Metadata"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/tags": {
|
||||
"get": {
|
||||
"operationId": "getAllTags",
|
||||
@@ -14939,6 +15003,23 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"VersionCheckStateResponseDto": {
|
||||
"properties": {
|
||||
"checkedAt": {
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"releaseVersion": {
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"checkedAt",
|
||||
"releaseVersion"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"VideoCodec": {
|
||||
"enum": [
|
||||
"h264",
|
||||
|
||||
Reference in New Issue
Block a user