Set Thumbnail
Changed onSets the video's thumbnail. If thumbnailUrl is omitted, the thumbnail is read from the request body as a raw image upload. If thumbnailUrl is one of thumbnail_1.jpg…thumbnail_5.jpg, an existing auto-generated thumbnail for the video is used instead. Any other value is fetched by the server as a URL, so it must point to a reachable, publicly accessible image.
Request
- Base URLhttps://video.bunnycdn.com
- AuthAPI key in header AccessKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the video library.
The GUID of the video.
Query parameters
Optional. One of thumbnail_1.jpg…thumbnail_5.jpg to reuse an auto-generated thumbnail, or a URL for the server to fetch. Omit to upload a raw image in the request body instead.
Request body application/octet-stream
Response
The thumbnail was successfully set
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info