v1
latestSwagger 2.02026-07-171208.7 KBStart monitoring new streams. Supports both simple URL strings and objects with custom IDs
post/monitor
Request body
Example request
{
"streams": [
"http://example.com/master.m3u8",
{
"id": "custom_stream_1",
"url": "http://example.com/master2.m3u8"
}
],
"stale_limit": 6000,
"monitor_interval": 3000
}Response
Default Response
Example response
{
"status": "Created a new hls-monitor",
"streams": [
{
"id": "stream_1",
"url": "http://example.com/master.m3u8"
},
{
"id": "custom_stream",
"url": "http://example.com/master2.m3u8"
}
],
"monitorId": "550e8400-e29b-41d4-a716-446655440000",
"stale_limit": 6000,
"monitor_interval": 3000
}