该接口用于获取文件的分享链接。
请求方式:POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_share?access_token=ACCESS_TOKEN
请求包体
{
"fileid": "FILEID"
}
参数说明
| 参数 | 类型 | 是否必须 | 说明 |
|---|---|---|---|
| fileid | string | 是 | 文件fileid |
权限说明
返回示例
{
"errcode": 0,
"errmsg": "ok",
"share_url": "SHARE_URL"
}
参数说明
| 参数 | 类型 | 说明 |
|---|---|---|
| errcode | int32 | 错误码 |
| errmsg | string | 错误码说明 |
| share_url | string | 分享文件的链接 |
