Development
API Reference
API Reference
Response Standard
All API endpoints follow the JSend style (or similar):
{
"status": "success",
"data": { ... },
"meta": {
"page": 1,
"total": 50
}
}
Error Codes
| Code | Meaning | Cause |
|------|---------|-------|
| 400 | Bad Request | Validation error (missing fields). |
| 401 | Unauthorized | No session token found. |
| 403 | Forbidden | Session exists but role is insufficient. |
| 429 | Too Many Requests | Rate limit exceeded (100/min). |

