发布CDN视频
POST
/gewe/v2/api/finder/publishFinderCdn请求参数
Header 参数
X-GEWE-TOKEN
string
必需
示例值:
{{gewe-token}}
Body 参数application/json
appId
string
设备ID
topic
array[string]
话题
myUserName
string
必需
自己的username
myRoleType
integer
必需
自己的roletype
description
string
视频号描述
videoCdn
object
必需
视频的cdn信息,通过/uploadFinderVideo接口获取
fileUrl
string
必需
thumbUrl
string
必需
mp4Identify
string
必需
fileSize
integer
必需
thumbMD5
string
必需
fileKey
string
必需
示例
{
"appId": "{{appid}}",
"proxyIp": "",
"topic": [
"#hh",
"#哈哈"
],
"myUserName": "v2_060000231003b20faec8c7e28811c4d5cc0ded37b0779c48c759a7446a87688c2774e5300c32@finder",
"myRoleType": 3,
"description": "hhh",
"videoCdn": {
"fileUrl": "http://wxapp.tc.qq.com/251/20302/stodownload?a=1&bizid=1023&dotrans=0&encfilekey=Cvvj5Ix3eexKX1zo1IZZBrQomawdVfSQH1uu2U31EqFrUA5xctbdDlGGkhM5r9b4e7lDdgzBiaffgFRzukh66M2lXMjLCibKxwU0PWibofftsXd4MHJfNM3VHq2dvmoibcEWE363ibcKI0eTQEIjluPstxRwNxUlPI0iamxHoIKIbaxVM&hy=SH&idx=1&m=6e95f9d79588843ac259b780f0cbf20f&token=cztXnd9GyrEsWrS4eJynZnXPAO12gKrhygeBeB1Zic0orX2aeKcU6ZCsuRHVNiaicw7CQ9M5VgFq8Wut9uMm1QQPA&upid=500210",
"thumbUrl": "http://wxapp.tc.qq.com/251/20350/stodownload?bizid=1023&dotrans=0&encfilekey=okgXGMsUNLEibHKtCw1bRNicxw6C1zsevQuNo2sjfLcsBDAAjgT6M9OY6Z9VcUKoBHpJsck5dZqOdbCEY7gZhWCHqXLHudqbTQQa6KnvfbM2Ria6riace9QG1zPYAcKc12vS4EicdspqvoxNYs8zKX8EfERXEoEcLdwLZ&hy=SH&idx=1&m=704de7ebbc107a51a4f0986253a6d3b6&token=cztXnd9GyrEsWrS4eJynZhicYicwhU5cChkbUOWNwn6llc25ba051o3j5lhJUGZgv4nzSxYfuDf7q3Xiat145wgtQ",
"mp4Identify": "ed39cc64d1dbe68dbc4e43127f2bbd37",
"fileSize": 1315979,
"thumbMD5": "704de7ebbc107a51a4f0986253a6d3b6",
"fileKey": "-finder_upload_7212269489_wxid_0xsqb3o0tsvz22"
}
}
示例代码
返回响应
服务器错误(500)
HTTP 状态码: 500
内容格式: JSONapplication/json
数据结构
ret
integer
必需
msg
string
必需
data
object
必需
code
string
必需
msg
null
作品ID
示例
{
"ret": 500,
"msg": "发布cdn视频失败",
"data": {
"code": "-4013",
"msg": null
}
}
最后修改时间: 2 个月前