Aerovy Platform logo

Get a thing's data-point count

GEThttps://spectra.api.aerovy.com/v2/things/{thingId}/count

Returns the count of data points for a thing over a time range. Requires an API key with the read action scoped to the thing.

Loading code example
Loading code example

Authorizations

apiKeystringheaderrequired

API key passed in the header.

Path Parameters

thingIdstringrequired

The thing id.

Query Parameters

startTimestring<date-time>

Inclusive start of the window (UTC).

endTimestring<date-time>

Exclusive end of the window (UTC).

Response

application/json

The data point count.