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

Invalid telemetry data 400 res #290

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions agency/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,18 @@ Body Params:

201 Success Response:

_No content returned on success._
| Field | Type | Field Description |
| --------- | ------------------------------ | ------------------------------------------------------------------------------------------------------- |
marie-x marked this conversation as resolved.
Show resolved Hide resolved
| `result` | String | Responds with number of successfully written telemetry data points and total number of provided points. |
| `failures | [Telemetry](#telemetry-data)[] | Array of failed telemetry for zero or more vehicles (empty if all successful). |

400 Failure Response:

| `error` | `error_description` | `error_details`[] |
| --------------- | -------------------------------- | ------------------------------- |
| `bad_param` | A validation error occurred. | Array of parameters with errors |
| `missing_param` | A required parameter is missing. | Array of missing parameters |
| `error` | `error_description` | `error_details`[] |
| --------------- | ------------------------------------ | ------------------------------- |
| `bad_param` | A validation error occurred. | Array of parameters with errors |
| `invalid_data` | None of the provided data was valid. | |
| `missing_param` | A required parameter is missing. | Array of missing parameters |

## Service Areas

Expand Down