SRS-046: Standard HTTP Status Code Usage
Identifier
SRS-046
Software System
- API Gateway
 - Orchestrator
 
Category
- Input and output, interfaces
 - Alarms, warnings, and messages
 
Description
The software shall use standard HTTP status codes to communicate the outcome of an API request. This provides a standardized, machine-readable mechanism for clients to handle request outcomes. This includes, but is not limited to:
- 2xx for successful requests (e.g., 
200 OK). - 4xx for client-side errors (e.g., 
400 Bad Request,401 Unauthorized,404 Not Found,422 Unprocessable Entity). - 5xx for server-side errors (e.g., 
500 Internal Server Error). 
Derived from PRS
PRS-1V6: Expose the device’s functionality through a versioned, network-accessible API