The MusicServiceAccount
object in the musicServiceAccounts
namespace describes the music service account. See Account Matching for implementation details.
Key | Type | Value |
---|---|---|
userIdHashCode |
string | Opaque hash of the user account sent by your service in the match command. |
nickname |
string | The name for the music service account presented to the user when they view their account from the Sonos app. |
id |
string | The account ID for the music service account. |
isGuest |
boolean | Indicates whether the account is a guest account or not. If true , the account is a guest account. If false , it is not. |
service |
Service | A service object describing the music service. |
Example
Note that this object will be sent in the body of a successful match
response.
1 2 3 4 5 6 7 |
{ "userIdHashCode": "opaque-user-id-hash", "nickname": "some-ui-friendly-nick-name", "id": "sn_3", "isGuest": false, "service": { "name":"abc", "id":"12", "imageUrl":"http://image.url"} } |