v1

latestSwagger 2.02026-07-171208.7 KB

Add streams to the list of streams that will be monitored. Supports both URL strings and objects with custom IDs

put/monitor/{monitorId}/streams

Path parameters

monitorIdstring required

Request body

Example request

{
  "streams": [
    "http://example.com/master.m3u8",
    {
      "id": "custom_stream_1",
      "url": "http://example.com/master2.m3u8"
    }
  ]
}

Response

Default Response

messagestring

Example response

{
  "message": "Added streams to monitor",
  "streams": [
    {
      "id": "stream_1",
      "url": "http://example.com/master.m3u8"
    },
    {
      "id": "custom_stream",
      "url": "http://example.com/master2.m3u8"
    }
  ]
}