Snr/common/v2.1/result-match-track

Jump to: navigation, search

Result

Contains information about a result from a match/track request.

Elements

NameTypeDescription
id string Database ID for an item returned in a response.
messages string [ ] Reasons why the item was selected.
relevance relevance [ ] Rating of the item. Items with a higher relevance appear earlier in the response list.
song song [ ] A Rovi Music Song/Info response, returned for Catalog Matching requests for music tracks.
type string Type of item the result applies to.

XML Response Example

<result>
  <type>song</type>
  <relevance>
    <code>Score</code>
    <value>0.45000002</value>
  </relevance>
  <id>MT0000372673</id>
  <messages i:nil="true"/>
  <song>
    <ids>
      <amgClassicalTrackId i:nil="true"/>
      <amgPopTrackId>T 4056641</amgPopTrackId>
      <isrcId i:nil="true"/>
      <muzeId>4919595</muzeId>
      <trackId>MT0000372673</trackId>
    </ids>
    <title>Cross Road Blues</title>
    <primaryArtists>
      <AlbumArtist>
        <id>MN0000832288</id>
        <name>Robert Johnson</name>
      </AlbumArtist>
    </primaryArtists>
    <isPick>true</isPick>
    <genres>
      <Genre>
        <id>MA0000002467</id>
        <name>Blues</name>
        <weight>8</weight>
      </Genre>
    </genres>
    <appearances i:nil="true"/>
    <appearancesUri>http://api.rovicorp.com/v1/song/appearances?format=xml&amp;apikey=141341&amp;trackId=MT0000372673</appearancesUri>
    <moods i:nil="true"/>
    <moodsUri>http://api.rovicorp.com/v1/song/moods?format=xml&amp;apikey=141341&amp;trackId=MT0000372673</moodsUri>
    <review i:nil="true"/>
    <reviewUri>http://api.rovicorp.com/v1/song/review?format=xml&amp;apikey=141341&amp;trackId=MT0000372673</reviewUri>
    <styles i:nil="true"/>
    <stylesUri>http://api.rovicorp.com/v1/song/styles?format=xml&amp;apikey=141341&amp;trackId=MT0000372673</stylesUri>
    <themes i:nil="true"/>
    <themesUri>http://api.rovicorp.com/v1/song/themes?format=xml&amp;apikey=141341&amp;trackId=MT0000372673</themesUri>
    <sample i:nil="true"/>
    <sampleUri>http://api.rovicorp.com/v1/song/sample?format=xml&amp;apikey=141341&amp;trackId=MT0000372673</sampleUri>
  </song>
</result>

JSON Response Example

{
   "type":"song",
   "relevance":[
      {
         "code":"Score",
         "value":0.44896722
      }
   ],
   "id":"MT0043137880",
   "messages":null,
   "song":{
      "ids":{
         "amgClassicalTrackId":null,
         "amgPopTrackId":"T 25566231",
         "isrcId":null,
         "muzeId":"35066948",
         "trackId":"MT0043137880"
      },
      "title":"Deeper",
      "primaryArtists":[
         {
            "id":"MN0002863147",
            "name":"THEESatisfaction"
         }
      ],
      "isPick":true,
      "genres":[
         {
            "id":"MA0000002816",
            "name":"Rap",
            "weight":9
         },
         {
            "id":"MA0000002613",
            "name":"Pop/Rock",
            "weight":5
         }
      ],
      "appearances":null,
      "appearancesUri":"http://api.rovicorp.com/v1/song/appearances?format=json&apikey=141341&trackId=MT0043137880",
      "moods":null,
      "moodsUri":null,
      "review":null,
      "reviewUri":null,
      "styles":null,
      "stylesUri":"http://api.rovicorp.com/v1/song/styles?format=json&apikey=141341&trackId=MT0043137880",
      "themes":null,
      "themesUri":null,
      "sample":null,
      "sampleUri":"http://api.rovicorp.com/v1/song/sample?format=json&apikey=141341&trackId=MT0043137880"
   }
}
 
Personal tools