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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user