Images

TvSportsData/Images

Returns all sports images.

Response schema: http://gns-schemas.sports.gracenote.com/gns.xsd

Request Parameters

Parameter Mandatory Description
updateId Yes

Token-based update retrieval. Updates will be retrieved with specified updateId value. For full seeding, specify updateId=0. Increment max updateId by one to retrieve next set of updated records.

limit Yes

Maximum number of objects to retrieve for processing predictiable batch sizes. Each iteration would retain limit number for same batch size.

Response Body

Response

Description

id

Unique Gracenote id for the image.

update_id The update id for the image.
update_action The update action for the image.
update_date The update date and time for the image.
exif_data
key Image data description (e.g. image_height, image_width).
value The value of the image data.
url The url for the image.
entity_id The Gracenote id for the entity associated with the image.
entity_type The type of entity that the image is associated with.
type The type of image (e.g. banner)
style The style of the image, if applicable.

 

Sample Response(s)

 

IMAGE (ENHANCED BANNER):

  <gns:gns xmlns:gns="http://xml.gracenote.com/gns/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="gns.xsd">
        <images>
            <image>
                <id>GN7263QD0G0N4MT</id>
                <meta>
                    <update_id>4956483</update_id>
                    <update_action>UPDATE</update_action>
                    <update_date>2017-06-12T21:18:37Z</update_date>
                </meta>
                <exifData>
                    <entry>
                        <key>ImageHeight</key>
                        <value>2160</value>
                    </entry>
                    <entry>
                        <key>ImageWidth</key>
                        <value>3840</value>
                    </entry>
                </exifData>
                <url>
                    http://tms-image-store.s3.amazonaws.com/6b866b9f8606ef85ed9f2747d3e8db11.jpg
                </url>
                <entity_id>GNFB5ANZJN8Q2RS</entity_id>
                <entity_type>sports_event</entity_type>
                <type>banner</type>
                <style>K</style>
            </image>
        </images>
    </gns:gns>