User Tools

Site Tools


api:iptv:epg:upload

API : IPTV : EPG Upload

Introduction

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.

Request

URL https://api.telecomx.dk/iptv/epg/upload
Method POST
Access level ADMIN or a unique token given to the EPG provider.

Query example

https://api.telecomx.dk/iptv/epg/upload
https://api.telecomx.dk/iptv/epg/upload?token=abcdefgg128bjasfgajsg

Response example

{
  success: true
}

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/iptv/epg/upload.txt · Last modified: 2023/03/23 12:23 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki