The current TIBS API section now distinguishes between:
- live app interfaces already implemented in the repos
- a future public API contract draft in
openapi.json
What this section covers
This section is organized around the real code already present in the confirmed repos:tibslive route handlers underapps/web/app/apitibs-surveyrestricted route handlers underapp/apitibs-learning-centerauth callback routes plus browser-side Supabase RPC usage- a future external API draft kept in
api-reference/openapi.json
Current source of truth
Use these pages together: The current source repos behind those surfaces are:tibsfor the main transport safety platform and Supabase schematibs-surveyfor surveyor operations and project workflowstibs-learning-centerfor course progress and learning flows
Future contract
The draft OpenAPI file is still useful, but it should be treated as a future public contract, not as a description of the live route handlers. Use Future public API draft when you want the proposed external contract shape rather than the current repo implementation.Live interfaces
Start here for the route handlers and Supabase-backed interfaces that exist
today.
Future public API draft
Use this when you need the proposed external contract rather than the live
app routes.