Tectrex API (0.0.0)

The REST half of the Tectrex API, generated from apps/api by tools/openapi.cjs. The GraphQL half is described by its own schema.

Authentication. Every operation needs an Auth0 access token as Authorization: Bearer <token> unless it is marked public. Manager operations take a token for the manager audience, customer operations one for the customer audience. Operations that name roles also need one of those roles in the token.

What the schemas promise. They describe what each handler reads and returns, taken from its TypeScript types. Request bodies are not validated against them at runtime; a handler checks what it needs and answers 400 with a reason.

Servers
dev
https://api-dev.tectrex.com