Namespaces

Classes

Shared base for API controllers: enforces the api.enabled switch, parses JSON input and shapes JSON responses.

Serves the Swagger UI page at /api/docs when API documentation is enabled.

Answers every miss on a headless install, where there is no web interface to render a 404 page with.

Unauthenticated readiness probe reporting whether Poweradmin can reach its own dependencies. Disabled by default.

Base for session-authenticated internal API endpoints: requires a login and the X-CSRF-Token header on writes.

Base for /api/v2 endpoints: API key or Basic auth, key scope enforcement, request logging and wrapped responses.

Answers every /api/v1 path with 410 Gone and a pointer to v2.