crew-roster
List Crew Roster
Paginated crew roster, filterable by verification + assignment status.
Staff-only; entitlement enforced at the router. Verification state is
attached inline (batched, no N+1); a user with no cache row reads as
incomplete. Both filters are org-scoped SQL subqueries (no IDOR/N+1).
GET
List Crew Roster
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter by cached role
Filter by account state
Filter by profile verification rollup state
Filter by ship-assignment status (assigned | unassigned)
Items per page
Required range:
1 <= x <= 1000Pagination cursor
Search term
Maximum string length:
200Include total count
Previous
Get Current SessionAuthz primitives for the current session.
Cheap, JWT-only pass-through. The frontend uses this to drive
`useEntitlement`, role-based nav, and feature gating without
triggering the heavier `/me` query (which hits the DB for profile,
org, and assignments). Both endpoints exist on parallel React Query
keys so they can be cached with different staleness.
Next
List Crew Roster