检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
https://{endpoint}/v1.0/{project_id}/watermark/status/uploaded Content-Type: application/json { "id": "2305739f855413a84af9e6ad6e2b21be", "status":
https://iam.cn-north-4.myhuaweicloud.com/v3.0/OS-USER/users Content-Type: application/json X-Auth-Token: ABCDEFJ.... 您还可以通过这个视频教程了解如何使用Token认证:https://bbs
请求消息头中增加“Content-Type”,值设置为“application/xml”。 HttpResponse response = HttpRequest.post(signStr) .header("Content-Type","application/xml")
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
https://{endpoint}/v1.0/{project_id}/template/watermark Content-Type: application/json { "id": "2305739f855413a84af9e6ad6ebb21be", "name":
headers={ "Content-Type": "application/octet-stream",
POST https://{endpoint}/v1.0/{project_id}/asset/process Content-Type: application/json { "asset_id": "b4f39691d66cc0ef75d62ee567146e11", "
https://{endpoint}/v1.0/{project_id}/asset/reproduction Content-Type: application/json { "video_type": "HLS", "title": "tittle", "auto_publish":
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 处理成功返回
4” 音频文件:audio/音频格式,如:“audio/mp3” 图片文件:image/图片格式,如:“image/png” 字幕文件:application/octet-stream content_md5 否 String 上传段时每段的MD5。 upload_id 否 String
"X-Auth-Token": token, "Content-Type": "application/json" } // 2.创建点播媒资
https://{endpoint}/v2/{project_id}/asset/template/transcodings Content-Type: application/json { "name": "trans_template_test", "is_default": true
https://{endpoint}/v2/{project_id}/asset/template/transcodings Content-Type: application/json { "group_id": "f9b045e0811c482f9de0d436a5927bb6", "name":
https://{endpoint}/v1.0/{project_id}/asset/status/unpublish Content-Type: application/json { "asset_id": [ "f488337c31c8e4622f1590735b134c65"
https://{endpoint}/v1.0/{project_id}/asset/status/publish Content-Type: application/json { "asset_id": [ "f488337c31c8e4622f1590735b134c65"
https://{endpoint}/v1.0/{project_id}/asset/upload_by_url Content-Type: application/json { "upload_metadatas": [ { "url": "https://mpc-test
请求示例 创建媒资 POST https://{endpoint}/v1/{project_id}/asset Content-Type: application/json { "title": "Avatar test test", "description": "Avatar