Skip to content

Commit 4015175

Browse files
authored
Integrate 2020-06-25 city-services wg feedback
- Change response code to 200 to solve issue #461 - Split `result` response field in `success` and `total`
1 parent cf38316 commit 4015175

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

agency/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,12 @@ Body Params:
205205
| ------------- | ------------------------------ | ----------------- | -------------------------------------------------------------------------------------- |
206206
| `data` | [Telemetry](#telemetry-data)[] | Required | Array of telemetry for one or more vehicles. |
207207

208-
201 Success Response:
208+
200 Success Response:
209209

210-
| Field | Type | Field Description |
211-
| --------- | ------------------------------ | ------------------------------------------------------------------------------------------------------- |
212-
| `result` | String | Responds with number of successfully written telemetry data points and total number of provided points. Format to use: `{success}/{total}`, both amounts as integers. |
210+
| Field | Type | Field Description |
211+
| ---------- | ------------------------------ | ------------------------------------------------------------------------------------------------------- |
212+
| `success` | Integer | Number of successfully written telemetry data points. |
213+
| `total` | Integer | Ttotal number of provided points. |
213214
| `failures` | [Telemetry](#telemetry-data)[] | Array of failed telemetry for zero or more vehicles (empty if all successful). |
214215

215216
400 Failure Response:

0 commit comments

Comments
 (0)