Skip to navigation

Get what a channel plays

This endpoint returns what a Cloud Playout channel plays and when, as a flat timeline. It works for both channel types, and is the endpoint to use when you want the actual running order rather than the configuration behind it.

How it works

  1. Make a GET request to this endpoint with the channelId and the channel’s type.

  2. The response returns the timeline in play order, with every entry carrying its own startTime, endTime and duration.

  3. Narrow the response to a period with startTime and endTime.

For a loop channel the programs are expanded into the times they actually play, pass after pass, so an item that comes round four times appears four times. Bumpers appear as entries of their own, in the place they play, carrying bumperId and bumperName.

For a schedule channel the bumpers belong to the event instead, and are returned in the entry’s bumper object rather than as entries of their own.

Example

A channel guide shows viewers what is on now and next by asking for the timeline between now and two hours ahead.

Authentication

AuthorizationBasic

FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.

  • Username: Access Token ID
  • Password: Secret Key

Activate your FastPix account to generate your API credentials. See the guide here

Path parameters

channelIdstringRequiredformat: "uuid"
The unique identifier of the channel whose timeline is retrieved.

Query parameters

typeenumRequired
The type of the channel. It must match the channel's own type.
Allowed values:
startTimestringOptional

Only return what plays at or after this time, in yyyy-MM-dd'T'HH:mm:ss format and interpreted as UTC.

endTimestringOptional

Only return what plays at or before this time, in yyyy-MM-dd'T'HH:mm:ss format and interpreted as UTC. It must be later than startTime.

Response

Channel timeline retrieved successfully
successbooleanOptional
Shows the request status. Returns true for success and false for failure.
dataobjectOptional