Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@
"captionOverride": "Bus"
}
}
]
],
"isFaresSupported": "true"
}
},
"400": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,156 +2,206 @@
"parameters": {
"api-version": "1.0",
"format": "json",
"query": "68fa6e31-d1a4-4457-a15b-8f5036a76a78---201909167EB6D19458C443BFAD897246FD28DAD4:0---121",
"query": "6f1eb44e-255f-4d06-9491-a35ee7864e19---20200929FF43D18907D24B35A1A7454DE7231C89:0---81",
"detailType": [
"geometry"
]
},
"responses": {
"200": {
"body": {
"departureTime": "2019-09-16T18:04:53Z",
"arrivalTime": "2019-09-16T18:08:07Z",
"departureTime": "2020-09-29T20:48:05Z",
"arrivalTime": "2020-09-29T20:53:25Z",
"legs": [
{
"legType": "Bicycle",
"legStartTime": "2019-09-16T18:04:53Z",
"legEndTime": "2019-09-16T18:08:07Z",
"steps": [
"legType": "Wait",
"legStartTime": "2020-09-29T20:48:05Z",
"legEndTime": "2020-09-29T20:48:05Z",
"lineGroup": {
"lineGroupId": "0---211457",
"agencyId": "0---321",
"agencyName": "CTA",
"lineNumber": "22",
"caption1": "Clark",
"caption2": "22 Clark",
"color": "565A5C",
"transitType": "Bus"
},
"line": {
"lineId": "0---1151684",
"lineGroupId": "0---211457",
"direction": "forward",
"agencyId": "0---321",
"lineNumber": "22",
"lineDestination": "Southbound - Harrison"
},
"stops": [
{
"stopId": "0---161771",
"stopKey": "1853",
"stopName": "Clark & Oak (South)",
"stopCode": "1853",
"position": {
"latitude": 41.900657,
"longitude": -87.631426
},
"mainTransitType": "Bus",
"mainAgencyId": "0---321",
"mainAgencyName": "CTA"
},
{
"stopId": "0---33004397",
"stopKey": "18255",
"stopName": "Clark & Huron (South)",
"stopCode": "18255",
"position": {
"latitude": 41.894729,
"longitude": -87.631288
},
"mainTransitType": "Bus",
"mainAgencyId": "0---321",
"mainAgencyName": "CTA"
}
],
"waitOnVehicle": "false"
},
{
"legType": "Bus",
"legStartTime": "2020-09-29T20:48:05Z",
"legEndTime": "2020-09-29T20:51:15Z",
"lineGroup": {
"lineGroupId": "81---211457",
"agencyId": "81---321",
"agencyName": "CTA",
"lineNumber": "22",
"caption1": "Clark",
"caption2": "22 Clark",
"color": "565A5C",
"transitType": "Bus"
},
"line": {
"lineId": "81---1151684",
"lineGroupId": "81---211457",
"direction": "forward",
"agencyId": "81---321",
"lineNumber": "22",
"lineDestination": "Southbound - Harrison"
},
"stops": [
{
"direction": {
"relativeDirection": "depart"
"stopId": "81---161771",
"stopKey": "1853",
"stopName": "Clark & Oak (South)",
"stopCode": "1853",
"position": {
"latitude": 41.900657,
"longitude": -87.631426
},
"streetName": "3rd Avenue"
"mainTransitType": "Bus",
"mainAgencyId": "81---321",
"mainAgencyName": "CTA"
},
{
"direction": {
"relativeDirection": "right"
"stopId": "81---161772",
"stopKey": "1854",
"stopName": "Clark & Delaware (South)",
"stopCode": "1854",
"position": {
"latitude": 41.899361,
"longitude": -87.631386
},
"streetName": "Dean Street"
"mainTransitType": "Bus",
"mainAgencyId": "81---321",
"mainAgencyName": "CTA"
},
{
"direction": {
"relativeDirection": "right"
"stopId": "81---33004397",
"stopKey": "18255",
"stopName": "Clark & Huron (South)",
"stopCode": "18255",
"position": {
"latitude": 41.894729,
"longitude": -87.631288
},
"streetName": "5th Avenue"
"mainTransitType": "Bus",
"mainAgencyId": "81---321",
"mainAgencyName": "CTA"
}
],
"origin": {
"position": {
"latitude": 40.680903,
"longitude": -73.983723
}
},
"destination": {
"position": {
"latitude": 40.682051,
"longitude": -73.976702
}
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-73.98373,
40.6809
],
[
-73.98371,
40.68089
],
[
-73.98328,
40.68152
],
[
-73.9831,
40.68179
],
[
-73.98303,
40.68189
],
[
-73.98302,
40.68191
],
[
-73.9829,
40.68208
],
[
-73.98286,
40.68214
],
[
-73.9828,
40.68223
-87.63157,
41.90064
],
[
-73.98243,
40.68278
-87.63156,
41.90057
],
[
-73.98199,
40.68342
-87.63153,
41.90045
],
[
-73.98161,
40.68398
-87.6315,
41.90029
],
[
-73.98157,
40.68405
-87.63121,
41.89508
],
[
-73.9812,
40.6839
-87.63121,
41.89498
],
[
-73.97984,
40.68338
-87.63121,
41.89487
],
[
-73.9794,
40.6832
-87.63121,
41.89481
],
[
-73.97924,
40.68314
-87.6312,
41.89476
],
[
-73.97912,
40.68309
-87.6312,
41.89473
],
[
-73.97899,
40.68304
],
[
-73.97675,
40.68217
],
[
-73.97659,
40.68211
],
[
-73.97665,
40.68203
],
[
-73.97665,
40.68203
],
[
-73.97671,
40.68205
-87.6312,
41.89472
]
]
},
"legFare": {
"fares": [
{
"price": {
"amount": 225,
"currencyCode": "USD"
},
"usage": "pay"
}
]
}
}
]
],
"itineraryFare": {
"price": {
"amount": 225,
"currencyCode": "USD"
},
"tickets": [
{
"amount": 225,
"currencyCode": "USD"
}
]
}
}
},
"400": {
Expand Down
Loading