You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/03/14 18:58:41 UTC

[jira] [Created] (TC-191) Steering DS API should use standard response codes as defined in API guidelines

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)