Skip to content

API reference

The chwr_LCA backend is a FastAPI service. Its contract is the OpenAPI document openapi.json, generated from the app and kept in step with it by CI.

  • Auth & versioning — authentication, versioning, status codes, and how to read a result whose total is null.
  • Endpoints — every endpoint, schema and response example, rendered from openapi.json.
  • Examples — worked curl calls and the reasoning behind each result.

A running server also serves Swagger UI at /docs and ReDoc at /redoc.