Skip to main content
An event represents a discrete racing session or competition in PitPath Chrono. Events reference a simulator, one or more cars and track layouts, and the rigs that were active during the session. GET endpoints are public and require no authentication. Creating or modifying events requires a key with CRUD or higher privileges.

GET /api/v1/events

Return all enabled events. This endpoint is public and requires no API key. Authentication: None required
The response is an array of event objects. Each item has the shape described below.
string (UUID)
required
Unique identifier for the event.
string
required
Display name of the event.
string
required
URL-safe identifier for the event.
string
required
Short description of the event.
string
Competition format. One of HOTLAP, PRACTICE, AI_RACE, or MULTIPLAYER_RACE.
string (ISO 8601)
Scheduled start time of the event.
string (ISO 8601)
Scheduled end time of the event.
string (UUID)
required
UUID of the simulator used in this event.
string
required
Human-readable name of the simulator.
string[] (UUID[])
required
UUIDs of the cars included in this event.
string[] (UUID[])
required
UUIDs of the track layouts used.
string[] (UUID[])
required
UUIDs of the timing rigs assigned to this event.
string[] (UUID[])
required
UUIDs of the brands associated with this event.
object
Arbitrary key-value map of localization overrides for the event.
object
Arbitrary key-value map of event-specific configuration.
boolean
required
Whether the event is visible in public listings.
string (ISO 8601)
required
Timestamp when the event was created.
string (ISO 8601)
required
Timestamp of the most recent update.

GET /api/v1/events/paged

Return a paginated list of enabled events, sorted by startsAt ascending by default. Authentication: None required
number
default:"0"
Zero-based page number.
number
default:"20"
Number of events per page.
string
default:"startsAt"
Field to sort by, optionally followed by ,asc or ,desc.
The response wraps the event array in a standard page envelope with content, totalElements, totalPages, number, and size fields.

GET /api/v1/events/

Return a single event by its UUID. Authentication: None required
string (UUID)
required
UUID of the event to retrieve.
Returns a single event object with the same shape as items from GET /api/v1/events.

POST /api/v1/events

Create a new event. Required role: CRUD or higher
string
required
Display name for the event. Must be 2–120 characters.
string
required
URL-safe slug for the event. Must be 2–25 characters.
string
required
Short description. Maximum 255 characters.
string
Competition format. One of HOTLAP, PRACTICE, AI_RACE, or MULTIPLAYER_RACE. Optional.
string (ISO 8601)
Scheduled start time. Optional.
string (ISO 8601)
Scheduled end time. Optional.
string (UUID)
required
UUID of the simulator to associate with this event.
string[] (UUID[])
required
One or more car UUIDs. Must not be null; each element must be a valid UUID.
string[] (UUID[])
required
One or more track layout UUIDs.
string[] (UUID[])
required
One or more rig UUIDs active during this event.
string[] (UUID[])
required
One or more brand UUIDs to associate.
object
Optional map of localization overrides.
object
Optional map of event configuration values.
boolean
Whether to make the event visible in public listings immediately. Defaults to false if omitted.
Returns 201 Created with the full event object.

PATCH /api/v1/events/

Update an existing event. All fields are optional — only the fields you provide are changed. Required role: CRUD or higher
string (UUID)
required
UUID of the event to update.
string
New display name. Must be 2–120 characters.
string
New URL-safe slug. Must be 2–25 characters.
string
New description. Maximum 255 characters.
string
Updated competition format. One of HOTLAP, PRACTICE, AI_RACE, or MULTIPLAYER_RACE.
string (ISO 8601)
Updated start time.
string (ISO 8601)
Updated end time.
string (UUID)
Replacement simulator UUID.
string[] (UUID[])
Replacement set of car UUIDs. Replaces the entire existing list.
string[] (UUID[])
Replacement set of track layout UUIDs.
string[] (UUID[])
Replacement set of rig UUIDs.
string[] (UUID[])
Replacement set of brand UUIDs.
object
Replacement localization map.
object
Replacement settings map.
boolean
Set the event’s visibility in public listings.
Returns 200 OK with the updated event object.