Heartbeat Status
Heartbeat status is a way to check if the camera is online and connected to the cloud. This is useful for checking the status of the camera and can be used to trigger alerts if the camera goes offline.
GET/v2/heartbeat/camera/:id
Get Camera Heartbeat Status by Camera ID
Parameters
- id (required, integer, 8): The camera ID.
GET /v2/heartbeat/camera/1 HTTP/1.1
Host: api.synaptic.com
Authorization : Bearer YOUR_JWT_TOKEN
{
"heartbeat": {
"status": "online",
"last_heartbeat": "2021-08-10T14:00:00Z"
}
}