Get Historical Link Congestions
GET/regions/:region/links/:link_id/congestions
This resource allows you to view the congestion time series of a single Link in a particular region.
Use since and until parameters to control the time range.
You can select time range of maximum 30 days.
Getting historical actual congestion
You must set since and until to be a time in the past or present, and set minutes_ahead to 0.
Getting predicted congestion
You can set until to be a time in the future, up to 3 hours ahead.
You must set minutes_ahead to value greater than 0.
Note that minutes_ahead = 120 represents a prediction made for 120 minutes ahead when the prediction was made.
Hence, when you set minutes_ahead to 120, the furthest you can set until is 2 hours from the current time, and so on.
Request
Responses
- 200
- 404
- 422
Successful Response
Not found
Validation Error