User Tools

Site Tools


api:iptv:drm:get

API : IPTV : DRM : Get

Introduction

This request will return a single DRM account. The account contains the credentials and license required by iOS/Android apps and web browser clients.

Request

URL https://api.telecomx.dk/iptv/drm/ACCOUNT_ID
Method GET
Access level VIEWER, MANAGER or OWNER if customer has feature IPTVBUSINESS or IPTVPRIVATE
RESELLER if customer has IPTVPRIVATE
ADMIN
Param ACCOUNT_ID Id of the DRM account.

Query example

https://api.telecomx.dk/iptv/drm/donald@duck.com

Response

JSON object
username String Unique id and username, min 6 chars, e.g. a number or an e-mail address.
password String Password, min 6 chars.
devices Array List of devices that are using this login.
devices[]._id Id Id of the device.
devices[].type String Type of device: IOS, ANDROID, WEB.
devices[].name String Name of device.
devices[].model String Model of device, if available.
created Date Date and time the account was created.

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

Example

{
  username: 'donald@duck.com',
  password: 'vgh38gy3uvhebv',
  devices: [
    { _id: '12345678901234567890AAAA', type: 'IOS', model: 'iPhone 6', name: 'Donalds mobile' },
    { _id: '12345678901234567890BBBB', type: 'WEB', model: 'Chrome', name: '' }
  ],
  created: '2016-01-01T00:00:00.000Z'
}

Errors

Error code Message Description
404 id Not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/iptv/drm/get.txt · Last modified: 2022/09/08 10:55 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki