Return a 400 response when an invalid status is received
Registered by
Ed Leafe
When listing servers, if the user passes an invalid status (such as 'EROR' instead of 'ERROR'), the API will return an empty list. Since statuses are limited and well-documented, passing an invalid status is a user error, and the response should be a 400 Bad Request.
Blueprint information
- Status:
- Complete
- Approver:
- Matt Riedemann
- Priority:
- Medium
- Drafter:
- Ed Leafe
- Direction:
- Approved
- Assignee:
- Ed Leafe
- Definition:
- Approved
- Series goal:
- Accepted for newton
- Implementation:
- Implemented
- Milestone target:
- newton-3
- Started by
- Matt Riedemann
- Completed by
- Matt Riedemann
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Return 400 When Bad Status Values are Received
Gerrit topic: https:/
Addressed by: https:/
Return HTTP 400 on list for invalid status
(?)