OpenTV ENTera & OpenTV Platform Documentation

Get OTT device list for an account

Request

To get a list of the OTT devices associated with an account, send a GET request to:

http://<host>:<port>/adm/v1/devices?filter={"accountUid":"<accountID>","deviceType":"OPEN"}

Mandatory arguments

  • accountID

Example

The following GET request gets a list of OTT devices for the specific account:

http://<host>:<port>/adm/v1/devices?filter={"accountUid":"5b7e74448ce5cb0001d85d1b","deviceType":"OPEN"}

Response

A successful request returns an HTTP 200 status. 

An unsuccessful request returns an HTTP 400 status. The response includes details of the error.

Example

{
    "totalRecords": 1,
    "resourceSet": [
        {
            "status": "ENABLED",
            "publicId": "5b7e74448ce5cb0001d85d1c",
            "deviceProfileId": "DEFAULT",
            "created": "2018-08-23T08:45:56.578Z",
            "modified": "2018-08-23T08:45:56.577Z",
            "deviceInformation": {
                "securePlayer": {
                    "codecs": [
                        "H264"
                    ],
                    "streamings": [
                        "HLS"
                    ],
                    "DRMs": [
                        "PRM"
                    ]
                },
                "device": {
                    "screen": {
                        "height": "2560",
                        "density": "560",
                        "width": "1440"
                    },
                    "hardware": {
                        "model": "Pixel XL",
                        "manufacturer": "Google",
                        "type": "Handheld"
                    },
                    "OS": {
                        "type": "Android",
                        "version": "8.1.0"
                    },
                    "CPU": {
                        "neon": "true",
                        "frequency": "1.5936",
                        "cores": "4"
                    },
                    "GPU": {
                        "frequency": null,
                        "cores": null
                    }
                }
            },
            "deviceType": "OPEN",
            "activationStatus": "ACTIVE",
            "accountUid": "5b7e71658ce5cb0001d85d18",
            "_id": "5b7e74448ce5cb0001d85d1b"
        }
    ]
}

See also

For full details of this API, see Account and Device Manager (ADM) API documentation.