RTStream
List RTStream alerts
Changed onget/rtstream/{stream_id}/index/{scene_index_id}/alert
Request
- Base URLhttps://api.videodb.io
- AuthAPI key in header x-access-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
stream_idstring required
Example:rts-12345
scene_index_idstring required
Example:scene-idx-12345
Response
List of alerts
Example response
{
"success": true,
"data": {
"alerts": [
{
"alert_id": "alert-12345",
"event_id": "event-12345",
"prompt": "Detect when a person enters the room",
"label": "person-entry",
"callback_url": "https://webhook.example.com/alert",
"status": "enabled"
}
]
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking