Skip to main content

API Reference

The Equa platform exposes a RESTful API through equa-server. This section documents every endpoint group with request/response schemas, authentication requirements, and examples.

Base URL

The endpoint reference below describes server routes as /v1/..., but browser traffic currently reaches them through the same-origin /api/v1/... path on the SPA host. Re-verify any direct api.equa.cc hostname claims before documenting them as current.

Authentication

All API endpoints require an authenticated session. The server uses express-session with a database-backed store (TypeORM). After signing in via Google OAuth, the server sets an HTTP session cookie that the browser includes automatically with each request.
There are no JWT bearer tokens. Sessions use rolling: true, which extends the expiry on every request.

Overview Documents

Endpoint Groups (18)

All endpoint definitions are located in equa-server/modules/api/src/endpoints/.

How to Document an Endpoint

  1. Copy templates/api-endpoint.md into api/endpoints/.
  2. Read the source endpoint file and its associated service module.
  3. Document every route, request schema, response schema, and error case.
  4. Update this index and README.md when the status changes.