Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define COMET status codes #3

Open
2 of 5 tasks
mjstealey opened this issue Jan 10, 2018 · 0 comments
Open
2 of 5 tasks

Define COMET status codes #3

mjstealey opened this issue Jan 10, 2018 · 0 comments

Comments

@mjstealey
Copy link
Member

mjstealey commented Jan 10, 2018

A CSV file named http-comet-codes.csv has been created to define COMET status codes as they pertain to various HTTP codes.
For each main HTTP code, it is expected to have 1 or more COMET sub-codes to better capture the state of the system. Reference the specifications/README file for more detail.

  • define for 200 level
  • define for 400 level
  • define for 403 level
  • define for 404 level
  • define for 500 level

COMET status codes will be included in the JSON response of all calls in the form:

{
    "status": "string",
    "message": "string",
    "value": {},
    "version": "string"
}

Where status is the COMET Code and message is the COMET Description from the http-comet-codes.csv file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants