Skip to main content

stop_monitoring

This endpoint stops monitoring of a stream which was previously added to EyesOnIt and monitored with the add_stream and monitor_stream endpoints.

Method: POST

Endpoint: /stop_monitoring

Body

{
"stream_url": "rtsp://192.168.1.54/live0"
}

Body Attribute Descriptions

NameTypeDescription
streamUrlstringthe URL of the stream to stop monitoring. This value must exactly match the stream URL provided to the add_stream endpoint

Response

{
"success": true,
"message": "successfully stopped stream rtsp://192.168.1.54/live0",
"data": null
}

Response Attribute Descriptions

NameTypeDescription
successbooleantrue if the operation was successful. false otherwise.
messagestringa human readable message describing the operation result
dataJSONif the request is not successful, this field provides detailed JSON error information.