Sites

List the daylight readings for a project

get

List the daylight readings for a specified date range and aggregate for a project

Authorizations
Path parameters
projectIdstringRequired

The ID of the project

siteIdstringRequired

The ID of the project

Query parameters
startstring · date-timeRequired

The inclusive start date

endstring · date-timeRequired

The exclusive end date

aggregationstring · enumOptional

The aggregation to group the datums by

Possible values:
Responses
200

successful operation

application/json
get
/weather/daylight/projects/{projectId}/sites/{siteId}
GET /weather/daylight/projects/{projectId}/sites/{siteId}?start=2025-11-01T08%3A06%3A07.901Z&end=2025-11-01T08%3A06%3A07.901Z HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Accept: */*
{
  "daylight": {
    "ANY_ADDITIONAL_PROPERTY": 1
  },
  "range": {
    "localStartDate": "2025-11-01T08:06:07.901Z",
    "localEndDate": "2025-11-01T08:06:07.901Z"
  },
  "aggregation": "year"
}