-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
Repro Steps:
- Build and run the app with the command
make run - open this URL in your browser: http://localhost:4000/api/where/agencies-with-coverage.json?key=test
Expected:
the output of the agencies-with-coverage.json endpoint should match this JSON: (excluding "currentTime")
Note: The number of significant digits on the lat/lon and span values can be shorter/not exactly match what's here. As long as they're accurate to 7-8 decimal places (e.g. within 0.00000001 of each other), that's totally OK.
{
"code": 200,
"currentTime": 1746413323990,
"data": {
"limitExceeded": false,
"list": [
{
"agencyId": "40",
"lat": 47.5346645,
"latSpan": 0.8893070000000023,
"lon": -122.32945649999999,
"lonSpan": 0.6211330000000004
}
],
"references": {
"agencies": [
{
"disclaimer": "",
"email": "[email protected]",
"fareUrl": "https://www.soundtransit.org/ride-with-us/how-to-pay/fares",
"id": "40",
"lang": "en",
"name": "Sound Transit",
"phone": "1-888-889-6368",
"privateService": false,
"timezone": "America/Los_Angeles",
"url": "https://www.soundtransit.org"
}
],
"routes": [],
"situations": [],
"stopTimes": [],
"stops": [],
"trips": []
}
},
"text": "OK",
"version": 2
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels