cURL
curl --request POST \ --url 'https://api.flashcat.cloud/route/list?app_key=' \ --header 'Content-Type: application/json' \ --data ' { "integration_ids": [ 6113996590131, 6113996590132 ] } '
{ "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4", "data": { "items": [ { "integration_id": 6113996590131, "cases": [ { "if": [ { "key": "labels.check", "oper": "IN", "vals": [ "cpu.idle<20%" ] } ], "channel_ids": [ 2533748993131 ], "fallthrough": false, "routing_mode": "standard" } ], "default": { "channel_ids": [ 3521074710131 ] }, "status": "enabled", "version": 6, "updated_by": 3790925372131, "creator_id": 3790925372131, "created_at": 1774606136, "updated_at": 1774606136 } ] } }
返回指定集成的路由规则列表。未配置路由规则的集成将不出现在响应中。
app_key
在 Flashduty 控制台 账户 → APP Key 中签发的 app_key。调用任何公开 API 时都必须携带。它等同于所属账户的身份凭证,请妥善保管。
批量查询多个集成路由规则所需的参数。
需要查询路由规则的集成 ID 列表。
成功
成功响应结构。2xx 响应中 request_id 标识本次调用(同时出现在 Flashcat-Request-Id 响应头中),data 为接口业务 payload。失败响应使用不同结构,参见 ErrorResponse。
request_id
Flashcat-Request-Id
data
ErrorResponse
本次请求的唯一 ID,也会在 Flashcat-Request-Id 响应头中返回。反馈问题时请一并附上。
"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
路由规则列表的响应包装。
Show child attributes
此页面对您有帮助吗?