-
Notifications
You must be signed in to change notification settings - Fork 179
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
Robot HTTP Api: Establish error codes and structures #4636
Labels
api
Affects the `api` project
robot-svcs
Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
shared data
Affects the `shared-data` project
WIP
Milestone
Comments
sfoster1
added
api
Affects the `api` project
shared data
Affects the `shared-data` project
labels
Dec 18, 2019
mcous
added
the
robot-svcs
Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
label
Jan 17, 2020
iansolano
added a commit
that referenced
this issue
Mar 11, 2020
Adds response formatting to api requests in new fastapi framework closes #4636
iansolano
added a commit
that referenced
this issue
Mar 11, 2020
Adds response formatting to api requests in new fastapi framework closes #4636
iansolano
added a commit
that referenced
this issue
Mar 11, 2020
Adds formatted json responses and error handling in FastAPI framework closes #4636
7 tasks
iansolano
added a commit
that referenced
this issue
Mar 13, 2020
Adds formatted json responses and error handling in FastAPI framework closes #4636
iansolano
added a commit
that referenced
this issue
Mar 16, 2020
Add formatted json responses and error handling in FastAPI framework closes #4636
iansolano
added a commit
that referenced
this issue
Mar 16, 2020
Add formatted json responses and error handling in FastAPI framework closes #4636
iansolano
added a commit
that referenced
this issue
Mar 18, 2020
Add formatted json responses and error handling in FastAPI framework closes #4636
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api
Affects the `api` project
robot-svcs
Falls under the purview of the Robot Services squad (formerly CPX, Core Platform Experience).
shared data
Affects the `shared-data` project
WIP
overview
Well-structured APIs have well structured error conventions and data. We will create such structured errors and use them on both the API and the app sides, at least through the HTTP api and maybe temporarily through the RPC API.
We should create a json document in shared-data that establishes error numbers, shortnames, and additional types. This document is, essentially, a schema, but also specifies some level of content - the list of available errors.
Once the document is created, we can start adding to it and using it in HTTP responses.
The text was updated successfully, but these errors were encountered: