跳转到主要内容
POST
/
incident
/
merge
合并故障
curl --request POST \
  --url 'https://api.flashcat.cloud/incident/merge?app_key=' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "source_incident_ids": [
    "<string>"
  ],
  "target_incident_id": "<string>",
  "remove_source_incidents": true,
  "title": "<string>",
  "comment": "<string>"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string
必填

请求体

application/json
source_incident_ids
string[]
必填

源故障ID列表

target_incident_id
string
必填

目标故障ID

remove_source_incidents
boolean
必填

是否删除源故障

title
string

新标题

comment
string

评论

响应

200 - application/json
error
object

仅出现错误时返回