Skip to content

Commit e1519f7

Browse files
authored
Merge pull request #290 from avatarneil/invalid-telemetry-data-400-res
Invalid telemetry data 400 res
2 parents 2238e1e + e12e49c commit e1519f7

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

agency/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,18 @@ Body Params:
197197

198198
201 Success Response:
199199

200-
_No content returned on success._
200+
| Field | Type | Field Description |
201+
| --------- | ------------------------------ | ------------------------------------------------------------------------------------------------------- |
202+
| `result` | String | Responds with number of successfully written telemetry data points and total number of provided points. |
203+
| `failures | [Telemetry](#telemetry-data)[] | Array of failed telemetry for zero or more vehicles (empty if all successful). |
201204

202205
400 Failure Response:
203206

204-
| `error` | `error_description` | `error_details`[] |
205-
| --------------- | -------------------------------- | ------------------------------- |
206-
| `bad_param` | A validation error occurred. | Array of parameters with errors |
207-
| `missing_param` | A required parameter is missing. | Array of missing parameters |
207+
| `error` | `error_description` | `error_details`[] |
208+
| --------------- | ------------------------------------ | ------------------------------- |
209+
| `bad_param` | A validation error occurred. | Array of parameters with errors |
210+
| `invalid_data` | None of the provided data was valid. | |
211+
| `missing_param` | A required parameter is missing. | Array of missing parameters |
208212

209213
## Service Areas
210214

0 commit comments

Comments
 (0)