Projects

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

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}
GET /weather/daylight/projects/{projectId}?start=2025-10-31T18%3A08%3A48.710Z&end=2025-10-31T18%3A08%3A48.710Z HTTP/1.1
Host: api.ecosuite.io/
Authorization: YOUR_API_KEY
Accept: */*
{
  "daylight": {
    "sites": {
      "ANY_ADDITIONAL_PROPERTY": [
        {
          "ANY_ADDITIONAL_PROPERTY": 1
        }
      ]
    }
  },
  "range": {
    "localStartDate": "2025-10-31T18:08:48.710Z",
    "localEndDate": "2025-10-31T18:08:48.710Z"
  },
  "aggregation": "year"
}