camera-health
Notify Camera View Flags Site
ONE e-mail about several cameras at one site, one message per recipient, each camera's newest checked frame attached. Items must be in scope (404), at one site (400) and open or confirmed (409); open items are confirmed by the send, and only once at least one message was accepted. Same e-mail rules as /{flag_id}/notify (503 EMAIL_NOT_CONFIGURED, 502 when nothing was accepted). Activity-logged per item, with counts, never addresses.
post/camera-health/flags/notify-site
Request
- Base URLhttps://api.verdun.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.verdun.ai/camera-health/flags/notify-site
- AuthHTTP bearer
Request body
Example request
{
"recipients": [
"facilities@example.com"
],
"subject": "3 cameras need attention at Harbor Yard"
}Response
Successful Response
Example response
{
"flags": [
{
"status": "open",
"camera_label": "Back of Building Driveway",
"site_name": "Harbor Yard",
"site_timezone": "America/Chicago",
"parent_name": "Sentinel Integrations",
"kind": "web_or_insect",
"coverage_pct": 40,
"opening_checks": [
{
"light": "night",
"kind": "web_or_insect",
"coverage_pct": 40
}
],
"raise_count": 3,
"checks_obstructed": 3,
"checks_total": 4,
"checks": [
{
"light": "night",
"kind": "web_or_insect",
"coverage_pct": 40
}
],
"recent_alarms": [
{
"incident_type": "INTRUSION",
"outcome_label": "False alarm - no human activity"
}
],
"notify_summary": "Emailed 2 recipients",
"contacts": [
{
"name": "Dana Ruiz",
"role": "Facilities manager",
"email": "facilities@example.com"
}
]
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.