更新回复
PUT
/open-apis/drive/v1/files/{file_token}/comments/{comment_id}/replies/{reply_id}
自建应用商店应用
错误码
HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
400 | 1069301 | fail | 重试,若稳定失败请联系相关业务方oncall人员 |
400 | 1069302 | param error | 检查参数有效性 |
403 | 1069303 | forbidden | 检查是否有待评论文档的评论权限 |
400 | 1069304 | docs had been deleted | 检查待评论文档是否已被删除 |
400 | 1069305 | docs not exist | 检查待评论文档是否能正常访问 |
400 | 1069306 | content review not pass | 排查评论内容是否存在不合法内容 |
404 | 1069307 | not exist | 检查待评论文档是否能正常访问、检查评论内容at人或云文档是否存在 |
400 | 1069308 | exceeded limit | 评论数据超过上限限制,详情请咨询客服 |
400 | 1069399 | internal error | 重试,若稳定失败请联系相关业务方oncall人员 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://open.feishu.cn/open-apis/drive/v1/files/doccnHh7U87HOFpii5u5G*****/comments/6916106822734578184/replies/6916106822734594568?file_type=doc' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": {
"elements": [
{
"type": "text_run",
"text_run": {
"text": "comment text"
},
"docs_link": {
"url": "https://bytedance.feishu.cn/docs/doccnHh7U87HOFpii5u5Gabcef"
},
"person": {
"user_id": "ou_cc19b2bfb93f8a44db4b4d6eababcef"
}
}
]
}
}'
响应示例响应示例
{
"code": 0,
"msg": "success"
}
请求参数
Path 参数
file_token
string
必需
示例值:
doccnHh7U87HOFpii5u5G*****
comment_id
string
必需
示例值:
6916106822734578184
reply_id
string
必需
示例值:
6916106822734594568
Query 参数
file_type
string
必需
示例值:
doc
user_id_type
string
可选
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
Content-Type
string
必需
默认值:
application/json; charset=utf-8
Body 参数application/json
返回响应
修改于 2023-01-13 08:16:19