List streams

Get a list of all streams in the account.

Endpoint

https://www.pushrcdn.com/api/v3/streams/list

Methods

GET

Parameters

None.

Headers 

FieldTypeDescription
APIKEYstringYour account API key

Example: List all streams in the account

curl -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -H "APIKEY: c45ed960ac1c3d12c1d570a869je2c9c473003cb" \
     -X GET "https://www.pushrcdn.com/api/v3/streams/list" 

Response

The JSON object streams is returned, including a nested array of all streams with their stream id, CDN zone in which the stream is created and the stream name

{
  "streams": [
    {
      "id": "2028",
      "zone_id": "1235",
      "stream_name": "BTC/USD Live Chart"
    },
    {
      "id": "2029",
      "zone_id": "1235",
      "stream_name": "CRYPTOLIVE"
    },
    {
      "id": "2040",
      "zone_id": "1300",
      "stream_name": "Roku"
    }
  ]
}