v5

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-0112516159.5 KB
RTStream

Create RTStream alert

post/rtstream/{stream_id}/index/{scene_index_id}/alert

Path parameters

stream_idstring required
Example:rts-12345
scene_index_idstring required
Example:scene-idx-12345

Request body

event_idstring required
callback_urlstring
ws_connection_idstring

Example request

{
  "event_id": "event-12345",
  "callback_url": "https://webhook.example.com/alert",
  "ws_connection_id": "conn-123"
}

Response

Alert created

successboolean

Example response

{
  "success": true,
  "data": {
    "alert_id": "alert-12345"
  }
}