Get All Link Emissions
GET/regions/:region/link-emissions
This resource allows you to get the predicted emission of all Links in a region at a particular time.
Getting predicted emission
You can set time to a time in the future up to 3 hours ahead, in steps of 60 minutes.
If you leave minutes_ahead undefined, it will select the best prediction to use.
For example, if you select a time 2 hours from the current time, the best prediction would be the 120-minute prediction, hence minutes_ahead is automatically set to 120.
IMPORTANT: Note that time should be the time when the value should happen.
Suppose you set minutes_ahead to 120 and set time to the current time.
The response is NOT the predicted emission 2 hours from now.
Instead, it is the emission prediction at the current time predicted 2 hours ago.
Request
Responses
- 200
- 404
- 422
Successful Response
Not found
Validation Error