Used to create, show, and delete BIF files for a given VOD file. When called with the path to an MP4 file, it will operate on a BIF that corresponds to that video.
A BIF can be created with the create method or the update method, the create method will not do anything if a BIF already exists, the update method will create a bif regardless of whether one already exists.
A fetch will show some technical information on the BIF file, such the frame rate and size. To see details about the file in storage itself, use the files endpoint. See the files page for more information.
Delete will remove a BIF for a video file. It is also possible to delete the BIF directly using the files endpoint, for cases such as if the video file has been moved or deleted.
File path to the VOD item the BIF is for
String
Sample value:/recordings/my-vod.mp4
File path to the BIF, for use with the files endpoint
Sample value:/recordings/my-vod.bif
Size of each frame in the bif, in pixels of height
Range:64 - 1080
Sample value:240
List files
Get the Bifs object with id recordings/my-vod.mp4.
https://jb-sestore.secdn.net/v1/bifs/recordings/my-vod.mp4
curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/v1/bifs/recordings/my-vod.mp4
None
{ "path": "/recordings/my-vod.mp4", "bif_path": "/recordings/my-vod.bif", "frame_rate": 10000, "info": null }
Create a new Bifs object.
https://jb-sestore.secdn.net/v1/bifs
curl -X PUT --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/v1/bifs
{ "path": "/recordings/my-vod.mp4", "frame_size": "240", "frame_rate": 10000 }
{ "path": "/recordings/my-vod.mp4", "bif_path": "/recordings/my-vod.bif", "frame_size": "240", "frame_rate": 10000, "info": null }
Update the Bifs object with id recordings/my-vod.mp4.
https://jb-sestore.secdn.net/v1/bifs/recordings/my-vod.mp4
curl -X POST --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/v1/bifs/recordings/my-vod.mp4
{ "frame_size": "240", "frame_rate": 10000 }
{ "path": "/recordings/my-vod.mp4", "bif_path": "/recordings/my-vod.bif", "frame_size": "240", "frame_rate": 10000, "info": null }
Delete the Bifs object with id recordings/my-vod.mp4.
https://jb-sestore.secdn.net/v1/bifs/recordings/my-vod.mp4
curl -X DELETE --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/v1/bifs/recordings/my-vod.mp4
None