Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-191

Steering DS API should use standard response codes as defined in API guidelines

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.0
    • 2.2.0
    • Traffic Ops API

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mitchell852@apache.org Jeremy Mitchell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: