跳转到主要内容
POST
/
channel
/
info
空间详情
curl --request POST \
  --url 'https://api.flashcat.cloud/channel/info?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel_id": 123
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "channel_id": 123,
    "channel_name": "<string>",
    "status": "enabled",
    "created_at": 123,
    "updated_at": 123,
    "team_id": 123,
    "description": "<string>",
    "auto_resolve_timeout": 123,
    "auto_resolve_mode": "trigger",
    "is_private": true,
    "flapping": {
      "is_disabled": true,
      "max_changes": "i",
      "in_mins": 123,
      "mute_mins": 123
    },
    "group": {
      "method": "i",
      "cases": [
        {
          "if": [
            {
              "key": "title",
              "oper": "IN",
              "vals": [
                "<string>"
              ]
            }
          ],
          "equals": [
            "title"
          ]
        }
      ],
      "equals": [
        [
          "title"
        ]
      ],
      "all_equals_required": true,
      "time_window": 123,
      "storm_threshold": 123,
      "i_keys": [
        "title"
      ],
      "i_score_threshold": 0.9,
      "storm_thresholds": [
        5001
      ]
    },
    "progress_to_incident_cnts": {
      "Triggered": 123,
      "Processing": 123
    },
    "active_incident_highest_severity": "<string>",
    "默认开启新奇告警,没有该字段表示开启新奇告警": true
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
channel_id
integer
必填

响应

200 - application/json
error
object

错误信息,仅失败时存在

data
object