curl --request POST \
--url 'https://api.flashcat.cloud/channel/silence/rule/list?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"channel_id": 123
}
'{
"error": {
"code": "<string>",
"message": "<string>"
},
"data": {
"items": [
{
"channel_id": 123,
"rule_id": "<string>",
"rule_name": "<string>",
"description": "<string>",
"filters": [
[
{
"key": "title",
"oper": "IN",
"vals": [
"<string>"
]
}
]
],
"time_filter": {
"start_time": 123,
"end_time": 123
},
"time_filters": [
{
"start": "<string>",
"end": "<string>",
"repeat": [
0
],
"cal_id": "<string>",
"is_off": true
}
],
"is_effective": true,
"status": "enabled",
"created_at": "<string>",
"updated_at": "<string>",
"updated_by": 123,
"from_incident_id": "<string>",
"is_directly_discard": true
}
]
}
}filters 说明见创建接口
curl --request POST \
--url 'https://api.flashcat.cloud/channel/silence/rule/list?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"channel_id": 123
}
'{
"error": {
"code": "<string>",
"message": "<string>"
},
"data": {
"items": [
{
"channel_id": 123,
"rule_id": "<string>",
"rule_name": "<string>",
"description": "<string>",
"filters": [
[
{
"key": "title",
"oper": "IN",
"vals": [
"<string>"
]
}
]
],
"time_filter": {
"start_time": 123,
"end_time": 123
},
"time_filters": [
{
"start": "<string>",
"end": "<string>",
"repeat": [
0
],
"cal_id": "<string>",
"is_off": true
}
],
"is_effective": true,
"status": "enabled",
"created_at": "<string>",
"updated_at": "<string>",
"updated_by": 123,
"from_incident_id": "<string>",
"is_directly_discard": true
}
]
}
}此页面对您有帮助吗?