User Tools

Site Tools


api:iptv:app:drmprofile:list

API : IPTV : App : DRM Profile : List

Introduction

This will list the profiles for a DRM account. IPTV private customers only.

Request

URL https://api.telecomx.dk/iptv/app/drmprofile
Method GET
Query token Token of device

Query examples

https://api.telecomx.dk/iptv/app/drmprofile?token=127376tgfjdfyWTg

Response

DRM profile object (JSON)
_id ObjectId Unique ID
name String Profile name
drmAccount String Unique username/ID of the DRM account it belongs to.
customer Id Id of customer this DRM profile belongs to
audioLanguage String Preferred audio language
subtitleLanguage String Preferred subtitle language
useSdhSubtitles Boolean Use subtitles for hearing-impaired when available
streamingServices Array<String> List of streaming services enabled for this profile. Allowed values are NETFLIX, VIAPLAY.
channels Array<ObjectId> List of channels, which are visible for this profile.
availableChannels Array<String> List of the channels which have not been chosen for this profile.

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

Example - normal

{
  [
    {
      _id: '1234567890ABCD1234567890',
      name: 'Dad',
      streamingServices: ['NETFLIX', 'VIAPLAY'],
      drmAccount: 'bob.jackson',
      customer: '1234567890ABCD1234567890',
      audioLanguage: 'dan',
      subtitleLanguage: 'dan',
      useSdhSubtitles: false,
      channels: [
        '1234567890ABCD1234567890',
        '8434567890ABCD1234567890'
      ],
       availableChannels: [
         '9934567890ABCD1234567890',
         '7674567890ABCD1234567890'
       ]
    }
  ]
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 drmAccount DRM account not found
500 internal_error <Unspecified>
api/iptv/app/drmprofile/list.txt · Last modified: 2022/10/05 09:13 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki