跳转到主要内容
POST
/
incident
/
war-room
/
create
创建作战室
curl --request POST \
  --url 'https://api.flashcat.cloud/incident/war-room/create?app_key=' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "incident_id": "<string>",
  "integration_id": "<string>",
  "member_ids": [
    123
  ]
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "chat_id": "<string>",
    "chat_link": "<string>"
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string
必填
Flashcat-Context
string

请求体

application/json
incident_id
string
必填

故障ID

integration_id
string
必填

IM集成ID,IM必须开启war-room配置

member_ids
integer[]

除建群请求人员和故障分派人员外,欲添加至作战室的成员

响应

200 - application/json
error
object

仅出现错误时返回

data
object

响应数据