cURL
curl --request POST \ --url 'https://api.flashcat.cloud/channel/inhibit/rule/list?app_key=' \ --header 'Content-Type: application/json' \ --data ' { "channel_id": 1001 } '
{ "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4", "data": { "items": [ { "account_id": 2451002751131, "channel_id": 5967964835131, "priority": 0, "rule_name": "Suppress downstream alerts", "description": "", "source_filters": [ [ { "key": "severity", "oper": "IN", "vals": [ "Info" ] } ] ], "target_filters": [ [ { "key": "severity", "oper": "IN", "vals": [ "Info" ] } ] ], "equals": [ "data_source_id", "labels._account_id" ], "is_directly_discard": false, "status": "enabled", "rule_id": "69bcc630b9e63df36603e425", "updated_by": 3790925372131, "created_at": 1773979184, "updated_at": 1773979184 } ] } }
查询为指定协作空间配置的所有抑制策略。
on-call
在 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"
每个接口自己的业务 payload,详见各接口的 200 响应 schema。
Show child attributes
此页面对您有帮助吗?