Get live channels
Request
To get a list of live channels, send a GET request to:
http://<server>:<port>/cpm/content/v1/technicalChannels
Response
A successful request returns an HTTP 200 status and the details of the channels.
A bad request returns an HTTP 400 status.
Example
A successful request returns a payload that looks like this:
{
"technicalChannelSet": [
{
"deliveryUri": null,
"editorialChannelRef": {
"_id": "echp01_echpr01",
"providerId": "echp01",
"providerResourceId": "echpr01"
},
"securityInfo": null,
"profileId": null,
"profileIdSet": null,
"timeShifting": null,
"_id": "tchp01_tchpr01",
"providerId": "tchp01",
"providerResourceId": "tchpr01",
"name": "CNNTC",
"creationDate": "2018-06-29T15:34:27Z",
"lastModificationDate": "2018-06-29T15:34:27Z",
"self": "/content/v1/technicalChannels/tchp01_tchpr01",
"statusPerExportSet": [],
"start": null,
"end": null,
"metadataSet": []
}
],
"totalRecords": 1
}
See also
For full details of this API, see Content and Product Manager (CPM) API documentation: content v1.