View on GitHub

ickstream-docs

Public documentation about the ickStream Music Platform

Creates a device registration token which later shall be used as authentication in the addDevice call to register the device.

This method can be authenticated either using a user access token or a device access token. Typically a controller should authenticate itself using a user access token when it makes the call for its own registration and after it has been registered it uses the device access token as authentication when making calls for players it wants to register.

The whole device registration process is described on the page: Device registration process

Request:

{
    "jsonrpc": 2.0,
    "id": < A unique number used to correlate requests with responses, see JSON-RPC specification for more information >,
    "method": "createDeviceRegistrationToken",
    "params": {
        "id": <Device identity of the new device, maximum 40 character, this must be globally unique>
        "name": <The user friendly name of the new device>,
        "applicationId": <The unique identity for the application makes the call, only required if authenticated with a user access token. >
    }
}

Some important things to note:

Response:

{
    "jsonrpc": 2.0,
    "id": < The request identity >,
    "result": <device registration token>
}

Some important things to note:

Category:Cloud Core Protocol