API Overview
Base URL
The API is deployed to europe-west1 on Cloud Run (Firebase Functions v2). The exact base URL is environment-specific; check your environment configuration.
Versioning
All endpoints are under /v1/. No v2 exists yet.
Response Shape
Every response is wrapped in a BaseResponse envelope:
Errors follow the same shape:
Always read body to get the actual payload.
Timestamps
All timestamps are epoch milliseconds (Unix time × 1000).
Conventions
- All request/response bodies are JSON
- Authentication via Firebase ID token in the
authorizationheader (noBearerprefix) - Soft-deleted records have
deletedOn > 0— the API filters these out automatically