CarbonAware
Calculate the best emission data by location for a specified time period.
get/emissions/bylocation
Request
- Base URLhttp://api-server-svc.default.svc.cluster.local
- URLhttp://api-server-svc.default.svc.cluster.local/emissions/bylocation
- Authnone declared
Query parameters
locationstring required
String named location.
startTimestring date-time
[Optional] Start time for the data query.
endTimestring date-time
[Optional] End time for the data query.
Response
Success
Example response
[
{
"duration": "duration",
"rating": 0.8008281904610115,
"location": "location",
"time": "2000-01-23T04:56:07.000+00:00"
}
]Changes
No recorded changes to this operation across all 2 revisions of this API.