api:iptv:radiochannel:get
Table of Contents
API : IPTV : Radio Channel : Get
Introduction
This request will return the settings for the specified channel.
Request
| URL | https://api.telecomx.dk/iptv/radiochannel/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/radiochannel/12345678901234567890ABCD
Response
| JSON object | ||
|---|---|---|
| _id | Id | Unique id of the radio channel. |
| number | Number | Channel number in the list of channels, ex. for direct selection on STB's. |
| name | String | Name of channel. |
| url | String | URL to stream the radio channel from. |
| logo | Id | Id of channel logo, overrides base channel logo. Null to use base channel logo, if available. |
Note that properties holding no value may be omitted from the object.
Example
{ _id: '12345678901234567890ABCD', number: 1, name 'DR P7 mix', url: 'http://media.dr.dk/live/p7.m3u8', logo: null }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | id | Not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/iptv/radiochannel/get.txt · Last modified: 2017/04/27 05:18 by Per Møller