api:iptv:basechannel:transcoders
Table of Contents
API : IPTV : Base Channel : Transcoders
Introduction
This request will return a list of transcoders.
Request
| URL | https://api.telecomx.dk/iptv/basechannel/transcoders | ||
|---|---|---|---|
| Method | GET | ||
| Access level | ADMIN. | ||
Query example
https://api.telecomx.dk/iptv/basechannel/transcoders
Response
Object with an object inside for each transcoder, where the key is the transcoders id.
| Transcoder JSON object | ||
|---|---|---|
| id | Number | Id of transcoder |
| hostname | String | Hostname of transcoder |
| type | String | Type of transcoder: NVIDIA or CHINA |
| cards | Number | Number of Nvidia transcoder cards in the unit (if type is NVIDIA) |
| gpus | Number | Number of GPUs in the unit (if type is CHINA) |
Example
{ "0": { "id": 0, "hostname": "tr0.mgmt.powernet.dk", "type": "NVIDIA", "cards": 1 }, "1": { "id": 1, "hostname": "tr1.mgmt.powernet.dk", "type": "NVIDIA", "cards": 2 }, "2": { "id": 2, "hostname": "tr2.mgmt.powernet.dk", "type": "NVIDIA", "cards": 2 }, "3": { "id": 3, "hostname": "tr3.mgmt.powernet.dk", "type": "NVIDIA", "cards": 2 }, "4": { "id": 4, "hostname": "transcoder4.mgmt.powernet.dk", "type": "CHINA", "gpus": 8 } }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/iptv/basechannel/transcoders.txt · Last modified: 2020/03/03 12:45 by Per Møller