策略列表
POST
https://api.flashcat.cloud/channel/silence/rule/list
最后修改时间:2023-09-14 06:39:25
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/channel/silence/rule/list?app_key' \
--header 'Content-Type: application/json' \
--data-raw '{
"channel_id": 0
}'
响应示例响应示例
{
"error": {
"code": "string",
"message": "string"
},
"data": {
"items": [
{
"channel_id": 0,
"rule_id": "string",
"rule_name": "string",
"description": "string",
"from_incident_id": "string",
"filters": [
[
{
"key": "title",
"oper": "IN",
"vals": [
"string"
]
}
]
],
"time_filter": {
"start_time": 0,
"end_time": 0
},
"time_filters": [
{
"start": "string",
"end": "string",
"repeat": [
0
],
"cal_id": "string",
"is_off": true
}
],
"is_directly_discard": true,
"is_effective": true,
"status": "enabled",
"created_at": "string",
"updated_at": "string",
"updated_by": 0
}
]
}
}
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json