cURL
curl --request POST \ --url 'https://api.flashcat.cloud/incident/assign?app_key=' \ --header 'Content-Type: application/json' \ --data ' { "incident_id": "69da451ef77b1b51f40e83ee", "assigned_to": { "person_ids": [ 2476444212131 ], "type": "assign" } } '
{ "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4", "data": {} }
将故障分派到指定的升级环节或处理人员。
on-call
在 Flashduty 控制台 账户 → APP Key 中签发的 app_key。调用任何公开 API 时都必须携带。它等同于所属账户的身份凭证,请妥善保管。
分派故障的参数。incident_id 与 incident_ids 二选一。
incident_id
incident_ids
故障分派目标。person_ids 与 escalate_rule_id 至少设置一项。
person_ids
escalate_rule_id
Show child attributes
单个故障 ID。当 incident_ids 也传入时将被忽略。
^[0-9a-fA-F]{24}$
批量故障 ID 列表。
1 - 100
成功
成功响应结构。2xx 响应中 request_id 标识本次调用(同时出现在 Flashcat-Request-Id 响应头中),data 为接口业务 payload。失败响应使用不同结构,参见 ErrorResponse。
request_id
Flashcat-Request-Id
data
ErrorResponse
本次请求的唯一 ID,也会在 Flashcat-Request-Id 响应头中返回。反馈问题时请一并附上。
"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
空响应体。成功时服务端返回 data: null。
data: null
此页面对您有帮助吗?