Tracks
Tracks: available fields, filters, associations, and API operations.
Path: events/{event_id}/tracks
Methods: GET collection/record, POST, PATCH, DELETE.
GET
- Fields:
event-id,name,description,color,position,enabled,default,togglable,track-type,show-highlighted-speakers,created-at,updated-at,default-session-cover-image-url,sponsor-ids,highlighted-speaker-ids. - Filters:
enabled,default,track_type. - Associations: none.
GET .../tracks?enabled=true&track_type=ContentTrack
POST/PATCH writable fields: name, description, color, enabled, show_highlighted_speakers.
Additional inputs: default_session_cover_image, sponsor_ids (array), highlighted_speaker_ids (array).
{
"name": "Main stage",
"description": "Keynotes and panels",
"color": "#123456",
"enabled": true,
"sponsor_ids": [103705],
"highlighted_speaker_ids": [801, 802]
}
POST creates a content track. Sponsors and speakers must belong to the event. The image input accepts a base64 data URI; a blank value on PATCH removes the current cover image.