Itinerary Media is a collection of media relevant to the Itinerary. It contains a list of media objects, either IMAGE, or VIDEO type.
IMAGE
VIDEO
If you are looking to display more imagery for a tour, it is recommended you fetch data from this object.
{ "id": "<Integer:Original image id>", "href": "<String:Image resource location>", "description": "<String:image caption>", "url": "<String:original image source>", "variations": [ { "modification": "<String:[ldpi|itinerary_lg|itinerary_sq|...]", "variant": { "id": "<Integer:variant id>", "href": "<String:Image resource location>", "description": "<String:image caption>", "url": "<String:image url>" } } ], "type": "IMAGE", "videos": null, "video_thumb": null }
And videos:
{ "image": null, "type": "VIDEO", "videos": [ { "id": "<Integer:video id>", "url": "<String:video url (i.e. 'https://player.vimeo.com/video/[video id]/')>", "bitrate": "<String:bitrate [1080|...]>" } ], "video_thumb": "<String:Thumb used by vimeo>" }
Fields
Name
Type
Description
image required
Nested Object
id read-only
String
href read-only
Field
description required
Image caption
url required
url of image
variations required
modification required
Type of resize done
variant required
type required
[IMAGE|VIDEO]
videos required
Url for videos (vimeo only).
bitrate required
Bitrate for video
video_thumb
Thumb for videos to display in slider.
Get Itinerary Media