User Tools

Site Tools


api:iptv:recordings:map

API : IPTV : Recordings : Map

Returns a list of all recordings on a given channel. For debug purpose.

Request

URL https://api.telecomx.dk/iptv/recording/map/CHANNEL_ID
Method GET
Access level ADMIN.
Params CHANNEL_ID Number Id of the base channel to return the recording map for.

Query examples

https://api.telecomx.dk/iptv/recording/map/15

Response

Array of JSON objects, one for each recorded program.

JSON object
from Number Start time as a unix timestamp.
duration Number Length of recording in seconds.
<server> Boolean True if recorded on a specific server, e.g. archive6.powernet.tv. One entry pr. server.

Example

[
  {
    "from": 1585256400,
    "duration": 5520,
    "archive3.powernet.tv": true,
    "archive4.powernet.tv": true
  },
  {
    "from": 1585526400,
    "duration": 7380,
    "archive3.powernet.tv": true,
    "archive4.powernet.tv": true
  },
  {
    ...
  }
]

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/iptv/recordings/map.txt · Last modified: 2020/06/24 09:43 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki