上传朋友圈视频
POST
/gewe/v2/api/sns/uploadSnsVideo请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string | null
设备ID
thumbUrl
string | null
视频封面图片链接
videoUrl
string | null
视频文件链接
示例
{
"appId": "{{appid}}",
"thumbUrl": "http://dummyimage.com/400x400",
"videoUrl": "https://scrm-1308498490.cos.ap-shanghai.myqcloud.com/pkg/436fa030-18a45a6e917.mp4?q-sign-algorithm=sha1&q-ak=AKIDmOkqfDUUDfqjMincBSSAbleGaeQv96mB&q-sign-time=1703834932;1703842132&q-key-time=1703834932;1703842132&q-header-list=&q-url-param-list=&q-signature=985cb175fc372408498498294f5c8ddf13a13cfb"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
ret
integer
必需
msg
string
必需
data
object
必需
fileUrl
string
上传视频的文件链接
thumbUrl
string
必需
上传视频的缩略图链接
fileMd5
string
视频的md5
length
integer
视频文件的大小
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"fileUrl": "http://szzjwxsns.video.qq.com/102/20202/snsvideodownload?filekey=30340201010420301e0201660402535a04106e95f9d79588843ac259b780f0cbf20f020314148b040d00000004627466730000000132&hy=SZ&storeid=5658e7541000080a98399cc840000006600004eea535a236b0181565ff0c9a&dotrans=9&ef=30_0&ut=6xykWLEnztInqJIccsNnmJnFIIMYTDicqsNxakAGmcmW1hOicyiayN6Cw&ui=1&bizid=1023&ilogo=2&dur=7&upid=500030",
"thumbUrl": "http://vweixinthumb.tc.qq.com/150/20250/snsvideodownload?filekey=30340201010420301e020200960402535a0410704de7ebbc107a51a4f0986253a6d3b602020448040d00000004627466730000000132&hy=SZ&storeid=5658e7541000065838399cc840000009600004f1a535a236cc15156605b59d&bizid=1023",
"fileMd5": "6e95f9d79588843ac259b780f0cbf20f",
"length": 1315979
}
}
最后修改时间: 7 个月前