Skip to content

Commit cba4a99

Browse files
committed
Commas for status codes
1 parent ff6f564 commit cba4a99

File tree

2 files changed

+91
-91
lines changed

2 files changed

+91
-91
lines changed

agency/README.md

+53-53
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ The `/vehicles` registration endpoint is used to register vehicles for use in th
9696
#### Responses
9797

9898
_Possible HTTP Status Codes_:
99-
201
100-
400
101-
401
102-
406
103-
409
99+
201,
100+
400,
101+
401,
102+
406,
103+
409,
104104
500
105105

106106
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -126,11 +126,11 @@ The `/vehicles` update endpoint is used to change vehicle information, should so
126126
#### Responses
127127

128128
_Possible HTTP Status Codes_:
129-
200
130-
400
131-
401
132-
406
133-
409
129+
200,
130+
400,
131+
401,
132+
406,
133+
409,
134134
500
135135

136136
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -176,11 +176,11 @@ If `device_id` is specified, `GET` will return an array with a single vehicle re
176176
#### Responses
177177

178178
_Possible HTTP Status Codes_:
179-
200
180-
400 (with parameter)
181-
401
182-
404
183-
406
179+
200,
180+
400 (with parameter),
181+
401,
182+
404,
183+
406,
184184
500
185185

186186
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -219,11 +219,11 @@ If `device_id` is specified, `GET` will return an array with a vehicle status re
219219
#### Responses
220220

221221
_Possible HTTP Status Codes_:
222-
200
223-
400 (with parameter)
224-
401
225-
404
226-
406
222+
200,
223+
400 (with parameter),
224+
401,
225+
404,
226+
406,
227227
500
228228

229229
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -244,11 +244,11 @@ The Trips endpoint serves two purposes:
244244
### Responses
245245

246246
_Possible HTTP Status Codes_:
247-
201
248-
400
249-
401
250-
404
251-
406
247+
201,
248+
400,
249+
401,
250+
404,
251+
406,
252252
500
253253

254254
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -274,11 +274,11 @@ The vehicle `/telemetry` endpoint allows a Provider to send vehicle telemetry da
274274
### Responses
275275

276276
_Possible HTTP Status Codes_:
277-
201
278-
400
279-
401
280-
404
281-
406
277+
201,
278+
400,
279+
401,
280+
404,
281+
406,
282282
500
283283

284284
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -304,11 +304,11 @@ The vehicle `/events` endpoint allows the Provider to submit events describing t
304304
### Responses
305305

306306
_Possible HTTP Status Codes_:
307-
201
308-
400
309-
401
310-
404
311-
406
307+
201,
308+
400,
309+
401,
310+
404,
311+
406,
312312
500
313313

314314
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -336,11 +336,11 @@ The `/stops` endpoint allows an agency to register city-managed Stops, or a prov
336336
### Responses
337337

338338
_Possible HTTP Status Codes_:
339-
201
340-
400
341-
401
342-
406
343-
409
339+
201,
340+
400,
341+
401,
342+
406,
343+
409,
344344
500
345345

346346
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -380,11 +380,11 @@ See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schem
380380
### Responses
381381

382382
_Possible HTTP Status Codes_:
383-
200
384-
400
385-
401
386-
404
387-
406
383+
200,
384+
400,
385+
401,
386+
404,
387+
406,
388388
500
389389

390390
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -416,10 +416,10 @@ If `stop_id` is specified, `GET` will return an array with a single stop record,
416416
### Responses
417417

418418
_Possible HTTP Status Codes_:
419-
200
420-
401
421-
404
422-
406
419+
200,
420+
401,
421+
404,
422+
406,
423423
500
424424

425425
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -445,10 +445,10 @@ The `/reports` endpoint allows an agency to register aggregated report counts in
445445
### Responses
446446

447447
_Possible HTTP Status Codes_:
448-
201
449-
400
450-
401
451-
406
448+
201,
449+
400,
450+
401,
451+
406,
452452
500
453453

454454
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.

provider/README.md

+38-38
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ If `device_id` is specified, `GET` will return an array with a single vehicle re
215215
#### Responses
216216

217217
_Possible HTTP Status Codes_:
218-
200
219-
400 (with parameter)
220-
401
221-
404
222-
406
218+
200,
219+
400 (with parameter),
220+
401,
221+
404,
222+
406,
223223
500
224224

225225
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -260,11 +260,11 @@ If `device_id` is specified, `GET` will return an array with a vehicle status re
260260
#### Responses
261261

262262
_Possible HTTP Status Codes_:
263-
200
264-
400 (with parameter)
265-
401
266-
404
267-
406
263+
200,
264+
400 (with parameter),
265+
401,
266+
404,
267+
406,
268268
500
269269

270270
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -325,12 +325,12 @@ For the near-ish real time use cases, please use the [events][events] endpoint.
325325
#### Responses
326326

327327
_Possible HTTP Status Codes_:
328-
200
329-
202
330-
400 (with parameter)
331-
401
332-
404
333-
406
328+
200,
329+
202,
330+
400 (with parameter),
331+
401,
332+
404,
333+
406,
334334
500
335335

336336
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -363,10 +363,10 @@ Without a `telemetry_time` query parameter, `/telemetry` shall return a `400 Bad
363363
#### Responses
364364

365365
_Possible HTTP Status Codes_:
366-
200
367-
400 (with parameter)
368-
401
369-
406
366+
200,
367+
400 (with parameter),
368+
401,
369+
406,
370370
500
371371

372372
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -425,12 +425,12 @@ processing for that hour:
425425
#### Responses
426426

427427
_Possible HTTP Status Codes_:
428-
200
429-
202
430-
400 (with parameter)
431-
401
432-
404
433-
406
428+
200,
429+
202,
430+
400 (with parameter),
431+
401,
432+
404,
433+
406,
434434
500
435435

436436
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -465,10 +465,10 @@ Should either side of the requested time range be greater than 2 weeks before th
465465
#### Responses
466466

467467
_Possible HTTP Status Codes_:
468-
200
469-
400 (with parameter)
470-
401
471-
406
468+
200,
469+
400 (with parameter),
470+
401,
471+
406,
472472
500
473473

474474
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -501,11 +501,11 @@ In the case that a `stop_id` path parameter is specified, the `stops` array retu
501501
#### Responses
502502

503503
_Possible HTTP Status Codes_:
504-
200
505-
400 (with parameter)
506-
401
507-
404 (with parameter)
508-
406
504+
200,
505+
400 (with parameter),
506+
401,
507+
404 (with parameter),
508+
406,
509509
500
510510

511511
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.
@@ -533,9 +533,9 @@ The authenticated reports are monthly, historic flat files that may be pre-gener
533533
#### Responses
534534

535535
_Possible HTTP Status Codes_:
536-
200
537-
401
538-
404
536+
200,
537+
401,
538+
404,
539539
500
540540

541541
See [Responses][responses], [Bulk Responses][bulk-responses], and [schema][schema] for details.

0 commit comments

Comments
 (0)