api:iptv:basechannel:restartstreamer
Table of Contents
API : IPTV : Base Channel : Restart streamer
Introduction
This request will restart a stream on a specific host, e.g restart channel 1's stream on a specific archive server.
Request
| URL | https://api.telecomx.dk/iptv/basechannel/BASECHANNEL_ID/restart/streamer/HOST | ||
|---|---|---|---|
| Method | GET | ||
| Access level | ADMIN. | ||
| Params | BASECHANNEL_ID | Number | Id of the base channel to update. |
| HOST | String | ID of host, e.g “archive1.powernet.tv”, “relay1.powernet.tv” | |
Query example
{
hd: true,
archive: true,
record: false
}
Response
The updated base channel.
| JSON object | ||
|---|---|---|
| success | Boolean | True if the stream on the host was successfully restarted. |
Note that properties holding no value may be omitted from the object.
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | channel | Channel not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/iptv/basechannel/restartstreamer.txt · Last modified: 2023/04/19 12:10 by Joakim Andersen