View on GitHub

ickstream-docs

Public documentation about the ickStream Music Platform

Set information about current user

Request:

{
    "jsonrpc": 2.0,
    "id": < A unique number used to correlate requests with responses, see JSON-RPC specification for more information >,
    "method": "setUserData",
    "params": {
        "name": <Optional, User friendly name for this user >,
        "country": <Optional, Country code for the country this user resides in>
    }
}

Response:

{
    "jsonrpc": 2.0,
    "id": < The request identity >,
    "result": {
        "id": < Unique identity for this user>,
        "name": < User friendly name for this user >,
        "country": < The country code of this user >,
        "identities": [
            {
                "type": < Type of identity, for example "email" or "soundcloud" >,
                "identity": < Unique identity within the context of the specified "type" >
            },
            ...
        ]
    }
}

Some important things to note:

Category:Cloud Core Protocol