视频点播 VOD-CDN预热:请求示例

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

请求示例

  • 预热媒资,按照媒资ID进行预热

    POST https://{endpoint}/v1.0/{project_id}/asset/preheating
    
    Content-Type: application/json
    
    {
      "asset_id": "f488337c31c8e4622f1590735b134c65"
    }
  • 预热媒资,按照媒资URL进行预热

    POST https://{endpoint}/v1.0/{project_id}/asset/preheating
    
    Content-Type: application/json{  "urls": [    "    https://example.com/asset/9db42f5e08c15edecd99a98da241994a/313bfd52a75f95ff48e8bf02eca2ab20.flv",    "    https://example.com/asset/9e455adb02295aa123809e8dc7ca51c1/68b1241af3bf58bcde9914626e07f5af.mp4",    "    https://example.com/asset/9e455adb02295aa123809e8dc7ca51c1/play_video/68b1241af3bf58bcde9914626e07f5af_H.264_480X270_HEAACV1_300.mp4"  ]}
support.huaweicloud.com/api-vod/vod_04_0205.html