action britbox_get_public_preview { label: "getPublicPreview" description: "Returns public preview for Samsung based on the page '/samsung-preview' configured in PresentationManager.\nThere is a hard limit of max 40 items to be returned. It splits evenly items count into the page rows, remaining items are added into the first row.\n" provider: britbox method: GET path: "/samsung-preview" encoding: json output: { type: "object" required: ["sections"] properties: { expires: { type: "integer" format: "int64" description: "For public preview only\nIf specified, the time at which the preview content is updated.\nThe time is at most 1 week into the future. By default, the preview\ncontent is updated every 10 minutes, whenever the TV is switched on,\nor the JSON file changes.\n" } expires_only: { type: "boolean" description: "For public preview only\nIf this value is \"true\", the preview content is updated only at\nthe time specified by the \"expires\" parameter.\n" } sections: { type: "array" description: "Preview sections" items: { type: "object" required: ["tiles"] properties: { position: { type: "integer" format: "int32" description: "Section position. If specified, sections are shown in ascending position order." } tiles: { type: "array" description: "Tiles within the section" items: { type: "object" required: ["image_url", "image_ratio", "action_data", "is_playable"] properties: { action_data: { type: "string" description: "Data to send to the application when the tile is clicked" } display_from: { type: "string" format: "date-time" description: "Time to begin showing the tile" } display_until: { type: "string" format: "date-time" description: "Time to stop showing the tile" } image_ratio: { type: "string" description: "Thumbnail image aspect ratio\n \"16:9\"\n \"4:3\"\n \"1:1\" (default)\n \"2:3\"\n The thumbnail height is fixed at 250 px on presentation.\n" } image_url: { type: "string" format: "uri" description: "Thumbnail image URL" } is_playable: { type: "boolean" description: "If \"true\", a \"Play\" icon is shown over the thumbnail image" } position: { type: "integer" format: "int32" description: "Section position. If specified, sections are shown in ascending position order" } subtitle: { type: "string" description: "Tile subtitle" } title: { type: "string" description: "Tile title" } } additionalProperties: false } } title: { type: "string" description: "Section title" } } additionalProperties: false } } } additionalProperties: false } }