添加评论¶
POST /api/v1/error_track/comment/{issue_id}/add
概述¶
路由参数¶
| 参数名 | 类型 | 必选 | 说明 |
|---|---|---|---|
| issue_id | string | Y | issue uuid 允许为空字符串: False |
Body 请求参数¶
| 参数名 | 类型 | 必选 | 说明 |
|---|---|---|---|
| comment | string | Y | 评论内容 允许为空: False |
| extend | json | 扩展信息 允许为空: True |
|
| attachmentUUIDs | array | 附件UUID列表 允许为空: True |
参数补充说明¶
请求参数说明
| 参数名 | 参数类型 | 是否必填 | 参数说明 |
|---|---|---|---|
| attachmentUUIDs | array | N | 对应回复 issue 的附件列表 uuid,需先通过 /api/v1/attachment/upload 接口进行上传 |
| comment | string | Y | 评论内容 |
| extend | json | N | 扩展字段,默认传{} |
请求例子¶
curl 'https://openapi.guance.com/api/v1/error_track/comment/<issue_id>/add' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"comment":"jon test","attachmentUUIDs":["att_944dffabaee943208a6fe1d8de0f01cd"],"extend":{"links":[],"members":[]}}'