Skip to main content

Get the Source List

This command get a list of sources created for HMP.  

Authorizations: Sources - VIEW

Requests

GET /apis/sources

Tip

You can query sources based on a title and description by adding the “q” query parameter to the collection URL. For more information, see Queries.

Response

Success

{
"data": [
{
"description": "",
"ctime": 1428324787,
"mtime": 1428324787,
"host": "10.65.11.174",
"port": 9942,
"type": "SRT",
"continuous": true,
"mode": "CALLER",
"passphrase": "",
"active": true,
"bitrate": 8442882,
"id": "77b931f7-5843-4355-886f-45a28c02ab49",
"name": "Makito SRT"
},
{
"description": "",
"host": "0.0.0.0",
"port": 9000,
"type": "SRT",
"mode": "LISTENER",
"latency": 125,
"passphrase": "passphrase",
"id": "23f57209-955f-4c73-b9b0-d6dc0aae56a1",
"continuous": true,
"ctime": 1427816478,
"mtime": 1427922685,
"active": true,
"bitrate": 224763,
"name": "Source - 3\/31\/2015, 10:40 AM"
},
    {
"description": "InfoDev Test Source",
"ctime": 1427902484,
"mtime": 1427902484,
"host": "239.159.103.100",
"port": 4900,
"type": "UDP",
"multicast": true,
"continuous": false,
"active": true,
      "bitrate": 0,
"id": "5fa26dfd-f2de-4a61-998e-3e27578d7640",
"name": "Multicast Source"
}
],
  "paging": {
"results": 3,
"pageSize": 15
}
}

Error

Code

Payload

 Description

404
{"code":"040012", "name":"NoResults",
"message":"No results", "httpStatusCode":404}

Supplied data was insufficient or incorrect.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.