媒资上传
Example
POST 媒资上传
https://global-upload.talk-cloud.net/vod/webapi/media/upload
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| Content-Type | 是 | string | multipart/form-data |
| Accept | 是 | string | application/json |
| version | 是 | string | 版本号:(预设:v2) |
| Tk-authkey | 是 | string | 企业Key |
| Timestamp | 是 | string | token生产时间:(预设:1641600967) |
| Tk-token | 是 | string | 加密token:(预设:59O8J455S192Cw82f5bfxVB052NhsUpK9ToBVw==) |
| 参数名 | 是否必选 | 类型 | 说明 |
|---|---|---|---|
| water_template_id | 否 | int | 水印模板ID (请查看公共接口:https://document.talk-cloud.com/vod/public/2API/ 返回的waterTemplateld) |
| is_audit | 否 | int | 是否需要审核(0不需要,1需要) |
| catagery_id | 否 | int | 视频分类ID |
| template_ids[] | 否 | int | 模板云ID (请查看公共接口:https://document.talk-cloud.com/vod/public/4API/) |
| transcoding_type | 否 | int | 是否HLS自适应加密转码,默认0,传1时,template_ids不生效 |
| media_title | 是 | string | 媒体名称 |
| file | 是 | file | 媒体文件 (支持MVW、RM、MOV、MPEG、MP4、3GP、FLV、AVI、RMVB等格式,限制大小1G) |
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | int | 0成功 非0失败 |
| msg | string | 接口消息 |
1 2 3 4 5 6 7 | |




