Developer
API Reference
REST API documentation for DineSync — base path /api/v1
Full, always-current reference
Every endpoint in this API — request bodies, query params, response schemas, and error codes — is documented in an interactive Swagger UI generated directly from the server's route annotations, so it can never drift from what is deployed. The table below is a curated sample, not the full list.
Authentication
Most API endpoints require authentication via a JWT access token. Include it in the Authorization header. Some endpoints additionally require a specific role (student / staff / admin) or a granular staff permission — these are called out per-endpoint below and in the Swagger UI.
Authorization: Bearer <your-jwt-access-token>Sample Endpoints
/api/v1/menus/items/api/v1/menus/daily/api/v1/ratings/api/v1/ratings/stats/api/v1/complaints/api/v1/complaints/api/v1/rush-status/api/v1/rush-status/history/api/v1/rush-status/api/v1/polls/api/v1/polls/:id/vote/api/v1/reports/summaryFor the complete set of endpoints — including menu items, complaints, ratings, polls, RSVPs, skip meals, payments, leaves, notifications, and mess administration — see the Swagger UI.
Rate Limiting
API requests are rate-limited per endpoint (a general API-wide limiter, plus stricter limits on write/auth-sensitive routes). Exceeding a limit returns a429 Too Many Requestsresponse.