Table of Contents

API : IPTV : App : Archive get

Introduction

This request will return the full details about a single program in the archive.

Request

URL https://api.telecomx.dk/iptv/app/archive/EPG_ID
Method GET
Params EPG_ID Id Id of the program to return full details for.
Query token String Session token.
profile ObjectId ID of the user profile to play the recording for, defaults to first user profile.

Query examples

https://api.telecomx.dk/iptv/app/archive/7_46574645324?token=12345678901234567890ABCD
https://api.telecomx.dk/iptv/app/archive/7_46574645324?token=12345678901234567890ABCD&profile=1234567890ABCD1234567890

Response

JSON object
_id String Unique ID of the program.
programId ObjectId Unique program ID (if known)
channelId Number Id of the TV channel carrying this show.
start Date Date and time the program starts.
end Date Date and time the program ends.
duration Number Length of the program in minutes.
position Number Last recorded playback position for this profile, in seconds.
title String Title of the program.
subTitle String Teaser/sub title - short description or episode title for a series episode.
description String Long description for the program.
genres Array List of genres.
series Object Episode data - only available for series.
series.episode Number Episode number in the season, if available.
series.episodesInSeason Number Number of episodes in the season, if available.
series.season Number Season number, if available.
series.id String Unique id of the series, if available.
date Date Date program/movie/series was released/first shown, if available.
country string Country of origin (ISO3166-2 country code). If multiple countries, comma separated string, if available.
credits Array List of credited persons for this program.
credits[].type String What the person is credited for: ACTOR, DIRECTOR, PRODUCER etc.
credits[].role String Name of the role played, if type is ACTOR.
credits[].name String Name of person.
images Array List of poster images available for the program.
images[].type String Image version data, usually WIDTHxHEIGHT.
images[].url String URL to retrieve the image.

Note that properties holding no value may be omitted from the object.

Example

{
  _id: '7_1482855900',
  programId: '1234567890ABCD1234567890',
  channelId: 7,
  start: '2016-12-27T16:25:00Z',
  end: '2016-12-27T16:55:00Z',
  duration: 30,
  title: 'Grand Danois',
  description: 'Satire. Se eller gense Niels Hausgaard og Anders Grau, når de sammen med en række danske komikere og skuespillere behandler otte emner i dette satiriske sketchshow. Det er alt lige fra danskhed til lov og orden, der kommer under kærlig behandling.',
  genres: [
    'Komedie'
  ],
  position: 121,
  series: {
    episode: 6,
    season: 2,
    id: '232174273'
  },
  images: [
    {
      type: "365x205",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/365/205/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "411x231",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/411/231/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "220x120",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/220/120/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "1080x607",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/1080/607/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "484x272",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/484/272/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "552x310",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/552/310/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    },
    {
      type: "245x138",
      url: "http://cd-static.telenorcdn.net/cdepg/img/epg/245/138/237366453.Programme_L_CD_1700x1100.24dd376e28a4416121564ac941918c678826f454.jpg"
    }
  ],
  streams: [
    {
      streamingService: 'NETFLIX',
      name: 'Netflix',
      url: 'https://example.com/video/12937129739/',
      logo: 'https://image.powernet.tv/1234567890ABCD1234567890.png',
      logoId: '1234567890ABCD1234567890'
    }
  ]
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 id Not found
500 internal_error <Unspecified>