媒资上传
Example
POST 媒资上传
https://global.talk-cloud.net/vod/webapi
/media/upload
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
Content-Type | 是 | string | multipart/form-data |
Accept | 是 | string | application/json |
version | 是 | string | 版本号:(预设:v2) |
Tk-authkey | 是 | string | 企业Key:(预设:5NIWjlgmvqwbt494) |
Timestamp | 是 | string | token生产时间:(预设:1641600967) |
Tk-token | 是 | string | 加密token:(预设:59O8J455S192Cw82f5bfxVB052NhsUpK9ToBVw==) |
参数名 | 是否必选 | 类型 | 说明 |
---|---|---|---|
watertemplate_id | 否 | int | 水印模板ID |
is_audit | 否 | int | 是否需要审核(0不需要,1需要) |
catagery_id | 否 | int | 视频分类ID |
template_ids[] | 否 | int | 模板云ID |
media_title | 是 | string | 媒体名称 |
file | 是 | file | 媒体文件 (支持MVW、RM、MOV、MPEG、MP4、3GP、FLV、AVI、RMVB等格式,255M) |
参数名 | 类型 | 说明 |
---|---|---|
result | int | 0成功 非0失败 |
msg | string | 接口消息 |
1 2 3 4 5 6 7 |
|