Commit 423f9c3b authored by Angelo Coiro's avatar Angelo Coiro

Update batch-analysis.md

parent fb66bcdf
......@@ -91,7 +91,40 @@ status | `String` | Indicates the status of the Analysis. Possible values: [`"wa
#### Examples
##### `Analysis` Object of type `"ResourceSelection"` to extract `DetectedPosition` Resources
##### `Analysis` Object of type `"ResourceSelection"` to extract `DetectedPosition` Resources of specific devices
The Analysis contains a Selection Job to extract all the `DetectedPosition` of one ore more specific devices
```json
{
"name": "Example Analysis",
"description": "An example analysis to get all the positions detected during a give time period",
"labels": ["example", "positions of devices"],
"type": "ResourceSelection",
"hook": {
"type": "web",
"web": {
"url": "https://api.mydomain.com/geouniqhooks"
}
},
"jobs": [{
"identifier": "positions",
"type": "selection",
"selection": {
"resource": "detectedPosition",
"detectedPosition": {
"deviceBase": {
"inside": {
"deviceId": ["DeviceID1", "DeviceID2"]
}
}
}
}
}]
}
```
##### `Analysis` Object of type `"ResourceSelection"` to extract `DetectedPosition` Resources in a given time interval
The Analysis contains a Selection Job to extract all the `DetectedPosition` in a given time interval.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment