Admin API to get the version of the service

This commit is contained in:
Quentin Gliech
2025-10-03 11:58:53 +02:00
parent 0f5dcc3c39
commit ce1aabdb8a
3 changed files with 105 additions and 1 deletions

View File

@@ -50,6 +50,30 @@
}
}
},
"/api/admin/v1/version": {
"get": {
"tags": [
"server"
],
"summary": "Get the version currently running",
"operationId": "version",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Version"
},
"example": {
"version": "v1.0.0"
}
}
}
}
}
}
},
"/api/admin/v1/compat-sessions": {
"get": {
"tags": [
@@ -3710,6 +3734,18 @@
}
}
},
"Version": {
"type": "object",
"required": [
"version"
],
"properties": {
"version": {
"description": "The semver version of the app",
"type": "string"
}
}
},
"PaginationParams": {
"type": "object",
"properties": {