下载文件
POST
/v1/WeWork/CdnDownload成功返回文件流失败返回JSON
请求参数
Query 参数
Token
string
Token
示例值:
{{Token}}
Uid
string
机器人Uid
示例值:
22518027997123456
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
CdnAesKey
string
必需
CdnFileMd5
string
必需
CdnFileUrl
string
必需
CdnFileSize
integer
必需
ThumbSize
integer
必需
ThumbMd5
string
必需
AuthKey
string
必需
FileType
integer
必需
示例
{
"CdnAesKey": "be1481747f6c4713a9c610471e3613bc",
"CdnFileMd5": "55cda1f65e348ca985818001570169c0",
"CdnFileUrl": "3081b00201020481a81081a502010002044646eef002030f55c90204e5ba512a0204624ac1cb04694e45574944315f3436343665656630653562613531326136323461633231635f33616435356264652d626366632d343863622d623436622d3433356263633533326633335f64616162373535392d616666312d346438642d616561662d653438643835363834373066020100020303e590041055cda8f65e348ca985818001570169c00201020201000400",
"CdnFileSize": 255374,
"ThumbSize": 13221,
"ThumbMd5": "41fbddc8c7c9fd9def18441a2895c9e0",
"AuthKey": "",
"FileType": 2
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: Binaryapplication/octet-stream
示例
未设置
最后修改时间: 3 年前