View on GitHub

ickstream-docs

Public documentation about the ickStream Music Platform

getServiceInformation

Get information about the service

Request:

{
    "jsonrpc": 2.0,
    "id": < A unique number used to correlate requests with responses, see JSON-RPC specification for more information >,
    "method": "getServiceInformation",
    "params": {
    }
}

Response:

{
    "jsonrpc": 2.0,
    "id": < The request identity >,
    "result": {
        "id": <The globally unique identity of the service>,
        "name": <The user friendly name of the service>,
        "type": <The type of service>,
        "mainCategory": <Optional, the main category which this service belongs to >
        "url": <Optional, the request url, only defined for services that use HTTP,
                        if not defined the assumption is that P2P protocol is used to communicate with service>
        "serviceUrl": <Base url which should be used for resolving service: URIs,
                               this is only defined if the service support service: URIs>
        "images": [ <Optional, array of images/logos available that should be used to represent this service>
            {
                "url": <URL to the image>
                "serviceUrl": <Main url/prefix to use when accessing "service://" URIs provided by this service>
                "type": <Type of image>
                "width": <Width of image>
                "height": <Height of image>
            },
            ...
        ]
    }
}

Specific information:

Category:Service Protocol