Used to create, show, and delete thumbnail files for a given VOD file. When called with the path to an MP4 file, it will operate on a thumbnail that corresponds to that video.
A thumbnail can be created with the create method or the update method, the create method will not do anything if a thumbnail already exists, the update method will create a thumbnail regardless of whether one already exists.
A fetch will show some information on the thumbnail file. To see details about the file in storage itself, use the files endpoint. See the files page for more information.
Delete will remove a thumbnail for a video file. It is also possible to delete the thumbnail directly using the files endpoint, for cases such as if the video file has been moved or deleted.
Get the Thumbnails object with id recordings/my-vod.mp4.
https://jb-sestore.secdn.net/dev/v1/thumbnails/recordings/my-vod.mp4
curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/dev/v1/thumbnails/recordings/my-vod.mp4
None
{ "path": "/recordings/my-vod.mp4", "thumbnail_path": "/recordings/my-vod.jpg", "frame_size": "240" }
Create a new Thumbnails object.
https://jb-sestore.secdn.net/dev/v1/thumbnails
curl -X PUT --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/dev/v1/thumbnails
{ "path": "/recordings/my-vod.mp4", "frame_size": "240" }
{ "path": "/recordings/my-vod.mp4", "thumbnail_path": "/recordings/my-vod.jpg", "frame_size": "240" }
Update the Thumbnails object with id recordings/my-vod.mp4.
https://jb-sestore.secdn.net/dev/v1/thumbnails/recordings/my-vod.mp4
curl -X POST --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/dev/v1/thumbnails/recordings/my-vod.mp4
{ "frame_size": "240" }
{ "path": "/recordings/my-vod.mp4", "thumbnail_path": "/recordings/my-vod.jpg", "frame_size": "240" }
Delete the Thumbnails object with id recordings/my-vod.mp4.
https://jb-sestore.secdn.net/dev/v1/thumbnails/recordings/my-vod.mp4
curl -X DELETE --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://jb-sestore.secdn.net/dev/v1/thumbnails/recordings/my-vod.mp4
None