API and Mobile
API Documentation Endpoints
API Documentation Endpoints
The app exposes public documentation endpoints before authenticated API routing.
| Endpoint | Controller | Purpose |
|---|---|---|
/api/docs | API Platform docs route/config | Legacy/API Platform documentation. |
/api/v2/docs | Api/V2/DocsController.php | Human-readable API v2 docs. |
/api/v2/docs.json | Api/V2/DocsController.php | JSON/OpenAPI-style API v2 docs. |
The security config explicitly places these public routes before ^/api access control so docs remain public while normal API endpoints require ROLE_USER.