Get a site's binned timeseries
GET
Returns the binned time-series for an entire site. Requires an API key with the read action scoped to the site.
Loading code example
Loading code example
Authorizations
apiKeystringheaderrequired
API key passed in the header.
Path Parameters
placeIdstringrequired
The site id.
Query Parameters
startTimestring<date-time>
Inclusive start (UTC).
endTimestring<date-time>
Exclusive end (UTC).
binUnitstringdefault: h
Bin unit (default h).
Default:
"h"binValueinteger | string<int32>default: 1
Bin size (default 1).
Pattern:
^-?(?:0|[1-9]\d*)$Default:
1Response
application/json
The binned points.