Endpoints
Error Handling
All endpoints will return appropriate HTTP status codes:
All endpoints will return appropriate HTTP status codes:
- 200: Successful operation
- 201: Successful creation
- 400: Bad request (e.g., invalid input)
- 401: Unauthorized (authentication required)
- 403: Forbidden (insufficient permissions)
- 404: Resource not found
- 429: Too Many Requests (rate limit exceeded)
- 500: Internal server error
Error responses will include a JSON object with an "error" field describing the issue.