v1

latestOpenAPI 3.0.3Apache 2.02026-07-175678720.5 KB
metrics

Get Average Speed and Flowrate

get/metrics/average-speed-with-flowrate

Query parameters

fromTimestampstring date-time required
toTimestampstring date-time required
placestring

This parameter is incompatible with sensorId. Only one of them can exist in the query.

sensorIdstring

This parameter is incompatible with place. Only one of them can exist in the query.

flowrateUnit'/sec' | '/min' | '/hr'
shortLivedBehaviorMinTimeIntervalInSecinteger
stationaryObjectMinDistanceThresholdInMetersinteger
stationaryObjectMaxTimeIntervalThresholdInSecinteger

Response

Successful Operation.

Example response

{
  "metrics": [
    {
      "averageSpeed": "10",
      "flowrate": "12"
    }
  ]
}