API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

media_video

Video media content for a lodging

Fields

type
string enum
required

Type of media content

Values imagevideo · Example image
url
string · uri
required

URL to the original media content resource

Example https://example.com/videos/hotel-tour.mp4
thumbnail_url
string · uri
required

URL to the thumbnail image for the video

Example https://example.com/videos/hotel-tour-thumbnail.jpg
Example
{
  "type": "image",
  "url": "https://example.com/videos/hotel-tour.mp4",
  "thumbnail_url": "https://example.com/videos/hotel-tour-thumbnail.jpg"
}