检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
PUT https://{endpoint}/v1.0/{project_id}/asset/category Content-Type: application/json { "id": 334, "name": "film" } 响应示例 状态码: 200 处理成功返回。
https://{endpoint}/v1.0/{project_id}/asset/extract_audio Content-Type: application/json { "asset_id": "3e1cd21131a94525be55acf65888bf46", "parameter":
POST https://{endpoint}/v1.0/{project_id}/asset/category Content-Type: application/json { "name": "电影" } 响应示例 状态码: 200 处理成功返回。 { "id" : 334
https://{endpoint}/v1.0/{project_id}/watermark/status/uploaded Content-Type: application/json { "id": "2305739f855413a84af9e6ad6e2b21be", "status":
https://{endpoint}/v1.0/{project_id}/asset/status/uploaded Content-Type: application/json { "asset_id": "f488337c31c8e4622f1590735b134c65", "status":
0/{project_id}/asset/template-collection/transcodings Content-Type: application/json { "name": "test", "template_group_list": [ "780
https://iam.cn-north-4.myhuaweicloud.com/v3.0/OS-USER/users Content-Type: application/json X-Auth-Token: ABCDEFJ.... 您还可以通过这个视频教程了解如何使用Token认证:https://bbs
您可以使用PUT请求向“subtitle_upload_urls”中上传字幕文件。其中,“Content-Type”需要根据上传的字幕文件类型进行设置,如下所示:字幕文件:application/octet-stream。 状态码: 403 表6 响应Body参数 参数 参数类型 描述 error_code String
https://{endpoint}/v1/{project_id}/asset/storage-mode Content-Type: application/json { "asset_id": "2305739f855413a84af9e6ad6e2b21be", "storage_mode":
NewBufferString(partInfo)) // 请求消息头中增加 "Content-Type":"application/xml" req.Header.Set("Content-Type", "application/xml") // 发送请求 resp, err := client
请求消息头中增加“Content-Type”,值设置为“application/xml”。 HttpResponse response = HttpRequest.post(signStr) .header("Content-Type","application/xml")
https://{endpoint}/v1.0/{project_id}/asset/reproduction Content-Type: application/json { "video_type": "HLS", "title": "tittle", "auto_publish":
https://{endpoint}/v1.0/{project_id}/asset/obs/host/stock/task Content-Type: application/json { "bucket": "obs-gg", "object": "1/Shoushu_FLV.flv"
https://{endpoint}/v1.0/{project_id}/template/watermark Content-Type: application/json { "id": "2305739f855413a84af9e6ad6ebb21be", "name":
headers={ "Content-Type": "application/octet-stream",
4” 音频文件:audio/音频格式,如:“audio/mp3” 图片文件:image/图片格式,如:“image/png” 字幕文件:application/octet-stream content_md5 否 String 上传段时每段的MD5。 upload_id 否 String
POST https://{endpoint}/v1.0/{project_id}/asset/review Content-Type: application/json { "asset_id": "3e1cd21131a94525be55acf65888bf46", "review":
4” 音频文件:audio/音频格式,如:“audio/mp3” 图片文件:image/图片格式,如:“image/png” 字幕文件:application/octet-stream content_md5 否 String 上传段时每段的MD5。 upload_id 否 String
https://{endpoint}/v1.0/{project_id}/template/watermark Content-Type: application/json { "name": "test", "type": "PNG" } 响应示例 状态码: 200 处理成功返回
https://{endpoint}/v2/{project_id}/asset/template/transcodings Content-Type: application/json { "name": "trans_template_test", "is_default": true