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

NameRequiredDescription
tokenYesValid 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

NameTypeDescription
sensorstringSensor ID
datedateDate format of the snapshot
timestampnumberTimestamp of the snapshot
objectsCountnumberNumber of total detected objects
peopleCountnumberNumber of people objects
micromobilityCountnumberNumber of micromobility objects
vehiclesCountnumberNumber of vehicles objects