Get flow rate
Calculate object flow rate for a place or sensor over a time window, using the requested flow-rate unit and optional behavior filters.
Query parameters
toTimestamp
place
This parameter is incompatible with sensorId. Only one of them can exist in the query.
sensorId
This parameter is incompatible with place. Only one of them can exist in the query.
timeWindowSizeInSec
flowrateUnit
Allowed values:
shortLivedBehaviorMinTimeIntervalInSec
stationaryObjectMinDistanceThresholdInMeters
stationaryObjectMaxTimeIntervalThresholdInSec
Response headers
Access-Control-Allow-Origin
CORS header to allow cross-origin requests.
X-RateLimit-Limit
The maximum number of requests allowed in the current time period.
X-RateLimit-Remaining
The number of requests remaining in the current time period.
X-RateLimit-Reset
The time when the rate limit will be reset (Unix timestamp).
Response
Successful Operation.
metrics
direction
Allowed values:
flowrate
Errors
400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error