Add gh workflow for release, new fields in podium and versioning

This commit is contained in:
x0gp
2026-07-14 18:36:51 +04:00
parent 13495de5bd
commit 7a7913d2ee
8 changed files with 269 additions and 20 deletions
+40
View File
@@ -1748,6 +1748,26 @@
}
}
},
"/api/version": {
"get": {
"description": "Returns the current server version.",
"produces": [
"application/json"
],
"tags": [
"system"
],
"summary": "Get server version",
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/transport.VersionResponse"
}
}
}
}
},
"/api/video/control": {
"post": {
"description": "Sends a text command (e.g. start, stop, left, right) to the ESP32 command port (UDP 8888).",
@@ -2550,6 +2570,13 @@
"transport.RacePodiumEntry": {
"type": "object",
"properties": {
"avatar_url": {
"type": "string"
},
"clan_id": {
"type": "string",
"example": "clan-bob"
},
"driver_id": {
"type": "string",
"example": "driver-alice"
@@ -2558,6 +2585,10 @@
"type": "string",
"example": "driver-alice"
},
"nickname": {
"type": "string",
"example": "driver-alice"
},
"position": {
"type": "integer",
"example": 1
@@ -2849,6 +2880,15 @@
"type": "number"
}
}
},
"transport.VersionResponse": {
"type": "object",
"properties": {
"version": {
"type": "string",
"example": "0.1.0-poc"
}
}
}
}
}