Snapshot
Get a real-time snapshot from your sensor(s).
Endpoint URL
GET
/v2/realtime/snapshot
💡
Note that because the nature of real-time system each sensor produce about ~10 snapshots every 1 sec
Query parameters
| Name | Required | Description |
|---|---|---|
token | Yes | Valid access token |
Example request
$ curl https://api.roadsense.tech/v2/realtime/snapshot?token={your_access_token}Example response
[ { "Atidim South" : "5000a0cc2bfdd33c", "Atidim North" : "600a0c2a69e6049c" } { sensor: "5000a0cc2bfdd33c", date: "2021-03-09T13:29:15.146Z", timestamp: 1615296555146, objectsCount: 3, peopleCount: 2, micromobilityCount: 1, vehiclesCount: 0, }, { sensor: "600a0c2a69e6049c", ... },]Response fields
| Name | Type | Description |
|---|---|---|
sensor | string | Sensor ID |
date | date | Date format of the snapshot |
timestamp | number | Timestamp of the snapshot |
objectsCount | number | Number of total detected objects |
peopleCount | number | Number of people objects |
micromobilityCount | number | Number of micromobility objects |
vehiclesCount | number | Number of vehicles objects |