mirror of
https://github.com/IS1DI/x0gp.git
synced 2026-07-16 20:47:55 +00:00
Add gh workflow for release, new fields in podium and versioning
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user