Returns links to movie and television program images.
This request may return a large amount of data. To speed data transmission, do the following:
video/images? | video=video cosmoid=cosmoid iguideid=iguideid |
&apikey=apikey&sig=sig [&format=format] [&country=country] [&language=language] [&localeresolution=localeresolution] [&formatid=formatid] [&imagecount=imagecount] [&imageoffset=imageoffset] [&imagesize=imagesize] [&imagesort=imagesort] [&imagetypeid=imagetypeid] [&zoomlevel=zoomlevel] |
Click to re-sort
Parameter | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apikey | Yes | Access code that authorizes your request for data from Rovi. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sig | Yes | A calculated, 32-hex-digit authorization code. To perform the calculation, execute the MD5 function on the concatenation of the following three ASCII strings:
Express the alpha hex digits as lower case. Perform the calculation at the time of each request to be sure it's within a five-minute window of the server time. If you're testing the call in a browser, use our online signature generator to perform the calculation. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cosmoid | Conditional | Cosmo database ID for a movie, program, episode, or television series. Cosmo is a database of television information. You can grab Cosmo IDs from responses to the following requests:
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
iguideid | Conditional | An ID for a television program used by the i‑Guide™ interactive digital cable TV program guide. You can get i‑Guide IDs from i‑Guide and from responses to the following requests:
Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
video | Conditional | Title of a movie, television program, or television series, or keywords from the title. This searches for the most popular title with that combination of words. Replace any spaces with plus (+) or percent20 (%20) symbols. Note: This parameter currently returns only US-English results. Support for other countries and languages will be added in the future. Condition: The request must contain just one of these parameters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
country | No | Country the language parameter applies to, stated as a two-character ISO 3166 country code. Default is the default country of the language you specify (US if language is not specified). If an invalid combination of country and language is specified, US English will be returned.
Valid country codes are:
* Includes Wales, Scotland, and Northern Ireland. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
format | No | Format of the returned data: json or xml. The default is JSON. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
formatid | No | Size and file format of returned images. Select the format IDs you want from the Format IDs table.
Specify multiple format IDs in a comma-separated list, like this: formatid=36,44,51. Returned images meet a combination of all of the following specified filters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
imagecount | No | Number of images to be returned. If fewer images are available, the available images are returned without error. The default is 25.
Use imagecount and imageoffset to paginate the response. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
imageoffset | No | Number of images at the start of the response to skip. The default is zero.
Use imagecount and imageoffset to paginate the response. These parameters execute last, after any filtering and sorting parameters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
imagesize | No | Image sizes to be returned. Images are not dynamically resized to fit, so only available sizes are returned.
Returned images meet a combination of all of the following specified filters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
imagesort | No | Sort order of returned images. Images can be sorted in ascending or descending order by the following properties:
Specify a descending sort order with a minus (-) sign, like this: imagesort=-width. Note: A request cannot include both the multi and imagesort parameters. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
imagetypeid | No | Image type of returned images. Select the IDs you want from the Image Type IDs table.
Specify multiple image type IDs in a comma-separated list, like this: imagetypeid=2,14. To change the order in which image types are returned, use the imagesort parameter. Returned images meet a combination of all of the following specified filters:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
language | No | Language of response data. Although this request currently returns only English responses, you can specify a preferred language to be ready for future language expansion. Valid language codes are:
Default is en (English). If content is not available in the language requested, another language is chosen as determined by the Language Fallback Sequence table. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
localeresolution | No | How the language fallback rules should be applied for any content that is not available for the specified language and country. The values are:
Default is Full. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
multi | No | How to score images against multiple filters and multiple filter values. Applies to formatid, imagetype, and zoomlevel. Default is balanced.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
zoomlevel | No | If you specify Images in the include parameter, zoomlevel specifies how close up people appear in the image. Select the zoom level you want from the Image Zoom Level table.
Specify multiple zoom levels in a comma-separated list, like this: zoomlevel=2,3. To change the order in which the image zoom levels are returned, use the imagesort parameter. Returned images meet a combination of all of the following specified filters:
|
Response | Type | Description |
---|---|---|
build | string | The software release level of the API. |
code | integer | HTTP status code. See the status field for the text part of the code. |
duration | integer | Server processing time in milliseconds. The difference between startTime and endTime. |
endTime | string | When the server sent the response (UTC time). |
messages | Message [ ] | Elements of a multiple HTTP response status message. |
parameters | parameters | The parameters that were included in the request. |
parentIds | parentIds | All of the IDs for the requested movie or program that are recognized by the Video Service. |
serverName | string | Name of the server that processed the request. |
startTime | string | When the server received the request (UTC time). |
status | string | Text part of the HTTP status code, which is shown in the code field. |
view | view | Summary of items returned in a list of items. |
Response | Type | Description |
---|---|---|
images | Image [ ] | URLs to images of the movie or program specified in the request, along with information about the images.
Images are returned in image type sequence as shown in the Image Order table. If the program is an episode, then episode images appear before images of the series master. |