策略列表
POST
https://api.flashcat.cloud/channel/inhibit/rule/list
最后修改时间:2023-09-14 06:39:25
请求参数
Authorization
在 query 添加参数
app_key
示例:
app_key: ********************
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
channel_id
integer
channel ID
示例
{
"channel_id": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/channel/inhibit/rule/list?app_key' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
error
object
可选
code
string
必需
message
string
必需
data
object
可选
items
array[object (InhibitRule) {12}]
必需
示例
{
"error": {
"code": "string",
"message": "string"
},
"data": {
"items": [
{
"channel_id": 0,
"rule_id": "string",
"rule_name": "string",
"description": "string",
"source_filters": [
[
{
"key": "title",
"oper": "IN",
"vals": [
"string"
]
}
]
],
"target_filters": [
[
{
"key": "title",
"oper": "IN",
"vals": [
"string"
]
}
]
],
"equals": [
"string"
],
"is_directly_discard": true,
"status": "enabled",
"created_at": "string",
"updated_at": "string",
"updated_by": 0
}
]
}
}

添加官方技术人员微信
在这里,获得使用上的任何帮助,快速上手企业告警一站式响应平台FlashDuty


修改于 2023-09-14 06:39:25