Add a bumper to an item
This endpoint places a bumper immediately before or after an item in a program on a Cloud Playout loop channel, so the channel plays a short clip around that item every time it comes round in the loop.
How it works
-
Create the bumper first with the create a filler endpoint, using the
bumpertype. -
Make a POST request to this endpoint with the
bumperId, theeventIdof the item you are placing it against, and whether it is aprerollor apostroll. -
The bumper is inserted into the program as an item of its own, directly before the target item for a
prerolland directly after it for apostroll. -
The response returns the updated program, with the bumper counted in its item count and total duration.
The bumper’s duration is taken from the bumper itself, and the channel’s total program time must still fit inside the channel’s start and end times. On a channel that is on air, a bumper cannot be placed against an item that is already due to play in the next few minutes.
Example
A news channel places a five second sting before its headlines block, so the sting introduces the block on every pass of the loop.
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
The unique identifier of the item the bumper is placed against, as returned in the id field by the get items in a program endpoint.
Where the bumper is placed. preroll plays it immediately before the item, and postroll immediately after it.