Jeremy Mitchell created TC-191:
----------------------------------

             Summary: Steering DS API should use standard response codes as 
defined in API guidelines
                 Key: TC-191
                 URL: https://issues.apache.org/jira/browse/TC-191
             Project: Traffic Control
          Issue Type: Improvement
          Components: Traffic Ops API
    Affects Versions: 2.1.0
            Reporter: Jeremy Mitchell
            Assignee: Jeremy Mitchell
            Priority: Minor
             Fix For: 2.1.0


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.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to