api:iptv:channel:get
Table of Contents
API : IPTV : Channel : Get
Introduction
This request will return the settings for the specified channel.
Request
| URL | https://api.telecomx.dk/iptv/channel/CHANNEL_ID | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER or OWNER if customer has feature IPTVBUSINESS RESELLER if customer has IPTVPRIVATE ADMIN |
|
| Param | CHANNEL_ID | Id of the channel. |
Query example
https://api.telecomx.dk/iptv/channel/12345678901234567890ABCD
Response
| JSON object | ||
|---|---|---|
| _id | Id | Unique id of the TV channel. |
| number | Number | Channel number in the list of channels, ex. for direct selection on STB's. |
| baseChannel | Number | Id of the base channel this channel is based on, null if channel is a local channel. |
| name | String | Name of channel. |
| logo | Id | Id of channel logo, overrides base channel logo. Null to use base channel logo, if available. |
| dvbOnly | Boolean | True if channel can only be delivered on DVB, not streaming. |
| epgId | String | Id of EPG source, if channel is not based on a base channel. |
| locals | Array | List of URLs that the channel can be streamed from locally to STB's, otherwise null. |
| dvb | Object | DVB settings, if channel is available on DVB, otherwise null. |
| dvb.freq | Number | Frequency in hz, e.g. 218002. |
| dvb.id | String | Id - used for selecting the channel, e.g. 'C_1039_218000'. |
| dvb.mod | Number | Modulation. |
| dvb.chBW | Number | Channel BW. |
| dvb.fec | Number | Forward Error Correction. |
| dvb.symrate | Number | Symbolrate. |
| dvb.type | Number | Type. |
| dvb.pcrpid | String | Program Clock Reference PID. |
| dvb.pmtpid | String | Program Map Tables PID. |
| dvb.prog | String | Program. |
| dvb.pids | Array | List of PID's for this channel. |
| pids[].pid | String | PID id - ex; '185'. |
| pids[].type | String | Type of pid - ex: 1'. |
Note that properties holding no value may be omitted from the object.
Example
{ _id: '12345678901234567890ABCD', number: 1, baseChannel: 7, name 'TV2', logo: null, dvbOnly: false, dvb: { freq: 218002, id: 'C_1039_218000', mod: 7, chBW: 0, fec: 4095, symrate: 6875, type: 1, pcrpid: 1065, pmtpid: 185, prog: 1039, pids: [ { "pid": "0", "type": "0" }, { "pid": "185", "type": "1" }, { "pid": "1065", "type": "2" }, { "pid": "1065", "type": "6" }, { "pid": "4035", "type": "17" }, { "pid": "3175", "type": "10" }, { "pid": "6602", "type": "17" }, { "pid": "6116", "type": "17" }, { "pid": "6603", "type": "17" }, { "pid": "630", "type": "17" }, { "pid": "631", "type": "17" }, { "pid": "606", "type": "17" } ], }, locals: [ 'http://192.168.10.20:1234/live/tv2.m3u8', 'http://192.168.10.21:1234/live/tv2.m3u8' ] }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | id | Not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/iptv/channel/get.txt · Last modified: 2017/10/17 08:43 by Per Møller