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

Jump to: navigation, search

Result

Contains information about a result from a match/filename 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.
video video [ ] A Rovi Video Video/Info response, returned for Catalog Matching requests on the video catalog.

XML Response Example

<result>
  <type>tvseries</type>
  <relevance>
    <code>Score</code>
    <value>0.45</value>
  </relevance>
  <availabilties/>
  <id>7221538</id>
  <messages i:nil="true"/>
  <video>
    <ids>
      <amgMovieId i:nil="true"/>
      <cosmoId>7221538</cosmoId>
      <iguideId>7221538</iguideId>
    </ids>
    <seriesIds i:nil="true"/>
    <masterTitle>Breaking Bad</masterTitle>
    <secondaryTitle/>
    <episodeTitle i:nil="true"/>
    <category>Other</category>
    <color>Color</color>
    <lastAirDate i:nil="true"/>
    <originalAirDate>2008-01-20T00:00:00Z</originalAirDate>
    <programType>Series</programType>
    <releaseYear>2008</releaseYear>
    <duration>60</duration>
    <subcategory>comedy-drama</subcategory>
    <syndicated>false</syndicated>
    <programLanguage>English</programLanguage>
    <partNumber i:nil="true"/>
    <partTotal i:nil="true"/>
    <parentalRatings i:nil="true"/>
    <parentalRatingsUri>http://api.rovicorp.com/v1/video/parentalratings?format=xml&amp;apikey=141341&amp;cosmoid=7221538</parentalRatingsUri>
    <cast i:nil="true"/>
    <castUri>http://api.rovicorp.com/v1/video/cast?format=xml&amp;apikey=141341&amp;cosmoid=7221538</castUri>
    <crew i:nil="true"/>
    <crewUri>http://api.rovicorp.com/v1/video/crew?format=xml&amp;apikey=141341&amp;cosmoid=7221538</crewUri>
    <awards i:nil="true"/>
    <awardsUri>http://api.rovicorp.com/v1/video/awards?format=xml&amp;apikey=141341&amp;cosmoid=7221538</awardsUri>
    <images i:nil="true"/>
    <imagesUri>http://api.rovicorp.com/v1/video/images?format=xml&amp;apikey=141341&amp;cosmoid=7221538</imagesUri>
    <clip i:nil="true"/>
    <clipUri i:nil="true"/>
    <seasons i:nil="true"/>
    <seasonsUri>http://api.rovicorp.com/v1/video/seasons?format=xml&amp;apikey=141341&amp;cosmoid=7221538</seasonsUri>
    <variants i:nil="true"/>
    <variantsUri>http://api.rovicorp.com/v1/video/variants?format=xml&amp;apikey=141341&amp;cosmoid=7221538</variantsUri>
    <schedule i:nil="true"/>
    <scheduleUri i:nil="true"/>
    <event i:nil="true"/>
    <eventUri i:nil="true"/>
    <keywords i:nil="true"/>
    <keywordsUri i:nil="true"/>
    <moods i:nil="true"/>
    <moodsUri i:nil="true"/>
    <related i:nil="true"/>
    <relatedUri>http://api.rovicorp.com/v1/video/related?format=xml&amp;apikey=141341&amp;cosmoid=7221538</relatedUri>
    <review i:nil="true"/>
    <reviewUri i:nil="true"/>
    <synopsis i:nil="true"/>
    <synopsisUri>http://api.rovicorp.com/v1/video/synopsis?format=xml&amp;apikey=141341&amp;cosmoid=7221538</synopsisUri>
    <themes i:nil="true"/>
    <themesUri>http://api.rovicorp.com/v1/video/themes?format=xml&amp;apikey=141341&amp;cosmoid=7221538</themesUri>
    <tones i:nil="true"/>
    <tonesUri i:nil="true"/>
  </video>
</result>

JSON Response Example

{
   "type":"song",
   "relevance":[
      {
         "code":"Score",
         "value":0.1
      }
   ],
   "id":"MT0000149626",
   "messages":null,
   "song":{
      "ids":{
         "amgClassicalTrackId":null,
         "amgPopTrackId":null,
         "isrcId":"USSM19902991",
         "muzeId":"2771990",
         "trackId":"MT0000149626"
      },
      "title":"Billie Jean",
      "primaryArtists":[
         {
            "id":"MN0000467203",
            "name":"Michael Jackson"
         }
      ],
      "isPick":true,
      "genres":[
         {
            "id":"MA0000002809",
            "name":"R&B",
            "weight":10
         }
      ],
      "appearances":null,
      "appearancesUri":"http://api.rovicorp.com/v1/song/appearances?format=json&apikey=141341&trackId=MT0000149626",
      "moods":null,
      "moodsUri":null,
      "review":null,
      "reviewUri":"http://api.rovicorp.com/v1/song/review?format=json&apikey=141341&trackId=MT0000149626",
      "styles":null,
      "stylesUri":"http://api.rovicorp.com/v1/song/styles?format=json&apikey=141341&trackId=MT0000149626",
      "themes":null,
      "themesUri":null,
      "sample":null,
      "sampleUri":"http://api.rovicorp.com/v1/song/sample?format=json&apikey=141341&trackId=MT0000149626"
   }
}
 
Personal tools