RTStream
Create RTStream alert
Changed onpost/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
Request body
Example request
{
"event_id": "event-12345",
"callback_url": "https://webhook.example.com/alert",
"ws_connection_id": "conn-123"
}Response
Alert created
Example response
{
"success": true,
"data": {
"alert_id": "alert-12345"
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking