This request accepts a binary file of JSON data to upsert EPG data. This endpoint is used for both uploading EPG data, and data from streaming services.
The file name determines the data contents, e.g if the file is named “netflix.json”, it is expected to be Netflix streaming data, if it's named “dr1.json”, it's expected to be DR1, etc.
| URL | https://api.telecomx.dk/iptv/epg/upload/copydan | ||
|---|---|---|---|
| Method | POST | ||
| Access level | ADMIN or a unique token given to the EPG provider. | ||
| Query | filename | String | File name |
https://api.telecomx.dk/iptv/epg/upload/copydan https://api.telecomx.dk/iptv/epg/upload/copydan?token=abcdefgg128bjasfgajsg
{
success: true
}
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |