Information
- OpenAPI version:
3.1.0
The HTTP API behind TTX-Zone’s web application. Every path is under /api/v1.
It may change between versions while TTX-Zone is 0.x: there is no compatibility promise yet.
The API uses the web application’s session: POST /auth/login sets a session cookie and a
CSRF cookie. Requests that change something must repeat the CSRF cookie’s value in the
X-CSRF-Token header. Sessions expire, and sensitive operations need a recent authentication
(POST /auth/step-up), answering 403 REAUTHENTICATION_REQUIRED otherwise.
The AI assistant’s /mcp endpoint is the exception: it takes a personal access token as a
bearer token.
Requests name their organization or exercise in the path or the body. The server never infers them.
Information
3.1.0A personal access token, for the AI assistant’s /mcp endpoint.
Security scheme type: http
The value of the CSRF cookie, on requests that change something.
Security scheme type: apiKey
Header parameter name: X-CSRF-Token
The session cookie POST /auth/login sets.
Security scheme type: apiKey
Cookie parameter name: ttx_access_token