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
+27
View File
@@ -478,12 +478,20 @@ definitions:
type: object
transport.RacePodiumEntry:
properties:
avatar_url:
type: string
clan_id:
example: clan-bob
type: string
driver_id:
example: driver-alice
type: string
name:
example: driver-alice
type: string
nickname:
example: driver-alice
type: string
position:
example: 1
type: integer
@@ -677,6 +685,12 @@ definitions:
width_m:
type: number
type: object
transport.VersionResponse:
properties:
version:
example: 0.1.0-poc
type: string
type: object
host: localhost:8080
info:
contact:
@@ -1894,6 +1908,19 @@ paths:
summary: Get / update / delete a track by id
tags:
- tracks
/api/version:
get:
description: Returns the current server version.
produces:
- application/json
responses:
"200":
description: Success
schema:
$ref: '#/definitions/transport.VersionResponse'
summary: Get server version
tags:
- system
/api/video/control:
post:
description: Sends a text command (e.g. start, stop, left, right) to the ESP32