Add version to controller and api

This commit is contained in:
Tobias Reisinger 2026-09-02 01:32:11 +02:00
commit 4e97006919
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 77 additions and 3 deletions

View file

@ -27,6 +27,9 @@
},
{
"name": "websocket"
},
{
"name": "misc"
}
],
"paths": {
@ -1037,6 +1040,35 @@
"description": "Create a list of schedules"
},
"parameters": []
},
"/api/v1/version": {
"get": {
"summary": "get version info",
"tags": [
"misc"
],
"responses": {
"200": {
"description": "OK",
"headers": {},
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"version": {
"type": "string"
}
}
}
}
}
}
},
"operationId": "get-relays",
"description": "Return a list with all relays."
},
"parameters": []
}
},
"components": {