Itinerary Media

Itinerary Media is a collection of media relevant to the Itinerary. It contains a list of media objects, either IMAGE, or VIDEO type.

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

String

Image caption

  • url required

String

url of image

  • variations required

Field

    • modification required

String

Type of resize done

    • variant required

Nested Object

      • id read-only

String

      • href read-only

Field

      • description required

String

Image caption

      • url required

String

url of image

type required

String

[IMAGE|VIDEO]

videos required

Field

  • id read-only

String

  • url required

String

Url for videos (vimeo only).

  • bitrate required

String

Bitrate for video

video_thumb

String

Thumb for videos to display in slider.

Get Itinerary Media

GET /itineraries/(string: itinerary_id)/(string: variation_id)/itinerary_media