/video/assets/{asset_ID}/thumbnailCreate a thumbnail upload URL
Creates an upload URL for replacing a video asset's thumbnail with an image file. Use the asset_ID to request the URL, then upload the image to the returned upload_url with a PUT request. The response also includes the thumbnail update timestamp.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The identifier of the previously created video asset whose thumbnail to update.
upload_url for uploading the new thumbnail with a PUT request.Asset ID
Thumbnail updated at timestamp in milliseconds since epoch
Upload URL on which new thumbnail must be uploaded using a PUT request
One documented failure
video_asset_not_in_ready_stateUploading a custom thumbnail is only allowed when the video asset is in the ready state.
One documented failure
invalid_api_keyAPI key supplied with request is invalid
One documented failure
unauthorizedYou don't have access to this feature. Please contact your organization owner.
One documented failure
internal_server_errorWe have encountered some server error. We have been notified and will fix it soon.
A 400 is returned for a bad request, a 401 when the API key or bearer token is missing or invalid, a 403 for an unpaid account or insufficient role permissions, and a 500 for an internal server error. The asset_ID path parameter must identify the asset whose thumbnail you want to update.