删除评论
开发中POST
{endpoint_url}/events请求参数
Path 参数
endpoint_url
string
必需
示例值:
{{endpoint_url}}
Header 参数
X-Shimo-Token
string
必需
用于接入方对本次请求鉴权
X-Shimo-Sdk-Event
string
必需
用于识别具体的事件类型
示例值:
Comment
Body 参数application/json
kind
string
必需
type
string
必需
action
string
必需
fileId
string
必需
userId
string
必需
deleteComment
object
必需
guid
string
评论 ID
selectionGuid
string
评论位置区域 ID
示例
{
"kind": "comment",
"type": "comment",
"action": "create",
"fileId": "6ee9f8da39498a33",
"userId": "1",
"comment": {
"guid": "Ddg3iIcz1nfqJSo9", // 评论 ID
"selectionTitle": "s2f6cb94", // 评论所在幻灯片页面 ID
"selectionGuid": "comment-rrsIAvomFD3girqU", // 评论所在位置 ID
"content": "测试评论", // 评论内容
"userIds": [] // 幻灯片暂不支持 at 用户,为空
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 1 年前