Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.1.0
Description
To keep the API consistent, API guidelines have been documented here: https://cwiki.apache.org/confluence/display/TC/API+Guidelines
See "Response Codes" section. Also, there are helper functions in Utils/Helper.pm to return error response codes along with a message.
By keeping response codes consistent, it makes it easier to consume the api and respond to error scenarios.