Common/video/v1.1/VideoEpisode0

Jump to: navigation, search

VideoEpisode

Contains a Video/Info request for an unsequenced episode in a TV series and, if requested, title information for the episode. An unsequenced episode is an episode in a TV series that, for one reason or another, has not been assigned to a season.

Elements

NameTypeDescription
episodeInfoUri string The customized Video/Info request for information about the episode.
ids ids IDs for the movie or program that are recognized by Rovi DVDs or Rovi Video.

This element is returned only if the request included the include=all parameter.

seriesTitle string Title of the television series. This element is returned only if the request included the include=all parameter.
title string Episode title. This element is returned only if the request included the include=all parameter.

XML Response Example

Here's an XML response for a request that included the include=all parameter.
<VideoEpisode>
  <ids>
    <amgMovieId i:nil="true"/>
    <cosmoId>616928</cosmoId>
  </ids>
  <seriestitle>The Simpsons</seriestitle>
  <title>Bart Genius</title>
  <episodeInfoUri>http://api.rovicorp.com/v1.1/video/info?format=xml&amp;apikey=4p1k3y&amp;cosmoid=616928</episodeInfoUri>
</VideoEpisode>

JSON Response Example

The request for this response did not include the include=all parameter.
{
   "episodeInfoUri":"http:\/\/api.rovicorp.com\/v1.1\/video\/info?format=json&apikey=4p1k3y&cosmoid=616928"
}

JSON Response Example 2

The request for this response included the include=all parameter.
{
   "ids":{
      "amgMovieId":null,
      "cosmoId":"616928"
   },
   "seriestitle":"The Simpsons",
   "title":"Bart Genius",
   "episodeInfoUri":"http:\/\/api.rovicorp.com\/v1.1\/video\/info?format=json&apikey=4p1k3y&cosmoid=616928"
}
 
Personal tools