API Reference #
Back to docs index | Back to project README
The API reference is split by responsibility so each source file stays focused and easy to review.
Sections #
- Authentication and sessions - session cookies, API tokens, and session lifetime.
- Endpoints - public routes, protected routes, multi-account routes, information routes, diagnostics, and OAuth routes.
- Middleware -
sessVal,roleChk, strict session helpers, render helpers, and token authentication. - Code examples - Express integration, role checks, API auth, client login/logout, database access, and error handling.
- Operational reference - HTTP status codes, security best practices, and rate limits.