Skip to main content

Scope

This page documents the live route handlers currently implemented in the tibs repo under apps/web/app/api. These are real interfaces in code. They are not the same thing as the dedicated shared backend documented in TIBS Core API.

Public read and discovery routes

Public write and action routes

Signed-in account route

Important implementation notes

  • several public write routes still rely on a reporter device hash even when no account is required
  • service-area enforcement is already part of the contract for report and quick feedback submission
  • these handlers are app-local route handlers, not the dedicated tibs-api service
  • some live route handlers also exist outside /api, such as /rate/submit, but this page is limited to the app/api surface

Main RPCs behind these routes

  • get_incident_feed_in_bounds
  • search_vehicle_profiles
  • resolve_corridor_for_location
  • get_mvp_coverage_overlay
  • submit_incident_report
  • submit_incident_report_without_vehicle
  • scan_vehicle_qr
  • submit_ride_feedback
  • set_incident_vote