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
Name | Type | Description |
episodeInfoUri | String | The customized Video/Info request for information about the episode. |
ids | ids | All of the IDs for the movie or program that are, or will be, recognized by the Video Service:
- iguideId
- cosmoId
- amgMovieId
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/video/info?format=xml&apikey=4p1k3y&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\/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\/video\/info?format=json&apikey=4p1k3y&cosmoid=616928"
}
-