File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -595,8 +595,8 @@ curl -s -X POST \
595595### /adddevicepointaoi
596596
597597Add an AOI to an existing device. The is a POST request and it takes parameters on the endpoint
598- path. These parameters describe the AOI its center and radius in decimal degrees. The response
599- is JSON and contains the AOI ID of the newly created AOI.
598+ path. These parameters describe the AOI its center (given as longitude and latitude in decimal degrees) and radius
599+ in metres. The response is JSON and contains the AOI ID of the newly created AOI.
600600
601601Once the AOI is added and the backprocessing has completed then data will be able to be
602602queried on the device and AOI with the endpoints described above.
@@ -607,7 +607,7 @@ queried on the device and AOI with the endpoints described above.
607607device_id=cbcd085f-0865-46d8-b496-ce5c2291943b
608608longitude=144.1
609609latitude=-27.1
610- radius=0.00001
610+ radius=200
611611curl -s -X POST \
612612 --output data.json \
613613 -H " Content-Type: application/json" \
@@ -688,7 +688,7 @@ curl -s -X POST \
688688device_id=` cat newdevice.json | jq -r ' .device_id' `
689689longitude=144.1
690690latitude=-27.1
691- radius=0.00001
691+ radius=200
692692curl -s -X POST \
693693 --output newaoi.json \
694694 -H " Content-Type: application/json" \
You can’t perform that action at this time.
0 commit comments