Admin API to get the version of the service
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user