Skip to main content

Scope

This page documents the live route handlers currently implemented in the tibs-survey repo under app/api. These routes are not public rider APIs. Most of them require either a project session, fieldwork access, or admin access.

Project-authenticated routes

Fieldwork-authenticated routes

Admin and internal routes

The admin surface is already broad and should be treated as internal-only. Current route families include:

Webhook route

Important implementation notes

  • requireProjectApiSession is the common baseline for many restricted routes
  • requireFieldworkApiSession is used where active surveyor field access is required
  • admin routes should not be documented as public integrations
  • the operations app includes many more internal routes than the shared tibs-api surface and they should stay separated conceptually