转发图片

简要描述:

转发图片

请求URL:

请求方式:

  • POST

请求头Headers:

  • Authorization: Bearer xxx(PS:xxx是代表login接口返回,Bearer后面有个空格,除了login接口,后续所有接口都携带此参数)
  • Content-Type:application/json

参数:

参数名 必选 类型 说明
sessionId string
wxId string 微信id
fileId string
url string
wechatAuthKey string
wechatCdnLdUrl string
wechatCdnLdSize string
fileName string
size string
width string
height string
aesKey string
md5 string

返回数据:

参数名 类型 说明
code number 200成功,其他失败
msg string 反馈信息
data object 返回对象
data.count number
data.messageId String
data.newMessageId String

请求参数示例

{
  "sessionId":"***",
  "wxId":"788***145",
  "videoFileId":"30690201020462***c042435353731376234322d663531662d346438312d616162332d66343335353966373536393702010002030579800410cc5611b4eaf41670ff14b4eb8628b38d0201040201000400",
  "videoSize":"358778",
  "videoPlayTime":"3",
  "videoAesKey":"a0d9318f0***0033a61fe",
  "videoMd5":"cc5611b4e***b38d",
  "width":"1080",
  "height":"1920",
  "prefaceImageUrl":"https://wework.qpic.cn/wwpic/690986_UjHzlJ***685520972",
  "url":"723925242***062.MP4",
  "prefaceImageSize":"9073",
  "wechatAuthKey":"",
  "fileName":"723925***.MP4"
}

成功返回示例

{
  "msg": "操作成功",
  "code": 200,
  "data": {
    "count": 1,
    "messageId": "1009303",
    "newMessageId": "1009303",
    "extension": null
  }
}

错误返回示例

{
  "msg": "session timeout or authentication token not found or invalid credit info",
  "code": 500
}
Copyright © wkteam.cn 2020 all right reserved,powered by Gitbook该文件修订时间: 2023-12-16 17:29:43

results matching ""

    No results matching ""