视频点播 VOD-设置封面:请求示例

时间:2024-04-16 09:15:18

请求示例

设置视频封面,截取视频截图作为封面

PUT https://{endpoint}/v1.0/{project_id}/asset/cover

Content-Type: application/json

{
  "thumbnailUrl": "
  https://355.cdn-vod.huaweicloud.com/shield/asset/6e76f92034ceae2fcdcef9413221511f/snapshot/sample/0.jpg"
}
support.huaweicloud.com/api-vod/vod_04_0209.html