v1

latestOpenAPI 3.0.3Apache 2.02026-07-175678720.5 KB
metrics

Get Roi Occupancy of a sensor.

get/metrics/occupancy/roi

Query parameters

fromTimestampstring date-time required
toTimestampstring date-time required
sensorIdstring required
roiIdstring
objectTypestring

Response

Successful Operation.

Example response

{
  "roiOccupancy": [
    {
      "roiId": "hazard_zone_1",
      "objects": [
        {
          "type": "Person",
          "averageCount": 1,
          "uniqueObjectCount": 2
        }
      ]
    }
  ]
}