v1

latestOpenAPI 3.0.3Apache 2.02026-07-175678720.5 KB
metrics

Get occupancy of a place based on mutually exclusive rois

get/metrics/occupancy/roi/mutually-exclusive

Query parameters

placestring required
timestampstring
objectTypestring
objectDetailsboolean
timestampDelayInSecinteger
timeWindowInMsinteger

Response

Successful Operation.

placestring required
timestampstring required
occupancyinteger required
objectTypestring required

Example response

{
  "place": "place1",
  "timestamp": "2022-08-25T00:00:00.000Z",
  "objectType": "1",
  "objectDetails": [
    {
      "sensorId": "cam-1",
      "roiId": "hazard_zone_1",
      "objects": [
        {
          "id": "1",
          "coordinates": {
            "x": 1.4,
            "y": 2.7,
            "z": 3.9
          }
        }
      ]
    }
  ]
}