Sonos Music API > getMediaMetadata

Sonos uses the getMediaMetadata request to retrieve the track metadata given a unique ID.

Request parameters

Name Type Description
id string(128) Unique ID of the item. This ID should be unique across your whole service.


Name Type Description
mediaMetadataResult complex This is a mediaMetadata object. See SMAPI object types for details.

Sample request (track)

Sample response (track)

Sample request (stream)

Sample response (stream)