Update a channel
This endpoint updates a Cloud Playout channel’s name or the window it runs in. Provide only the fields you want to change; at least one is required.
How it works
-
Make a PATCH request to this endpoint, replacing
{channelId}with the UUID of the channel you want to update. -
Send any combination of
name,startTime, andendTime. -
The response returns the channel with its updated details.
When a channel can be updated
A channel can only be updated while it is in draft or idle. Once the channel has been activated, it can no longer be updated; deactivate it first. The channel’s status cannot be changed through this endpoint: use the activate and deactivate endpoints instead.
A new startTime must be at least 3 minutes in the future, and endTime must stay after startTime. Changing the window does not move or remove the events already placed on the channel; events left outside the new window do not play.
Example
Before a channel goes on air, a scheduler pushes its endTime out by a day to extend a promotional run.
Authentication
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
Request
A new start time for the channel, in yyyy-MM-dd'T'HH:mm:ss format and interpreted as UTC. It must be at least 3 minutes in the future.
A new end time for the channel, in yyyy-MM-dd'T'HH:mm:ss format and interpreted as UTC. It must be after the channel’s start time.