You need to enable JavaScript to run this app.
导航

NotifyGroupList

最近更新时间2023.05.16 17:56:31

首次发布时间2022.08.05 11:06:59

调用NotifyGroupList接口获取报警组列表的详细信息。

请求方式

使用POST方式发起请求。

请求参数

下表仅列出了接口特有的请求参数和部分公共参数。完整的公共参数列表,参考公共参数

字段

位置

类型

必填

说明

示例值

Action

Query

String

公共参数,OpenAPI接口名称。

NotifyGroupList

Version

Query

String

公共参数,OpenAPI接口版本。

2022-07-11

Keyword

RequestBody

String

搜索关键词。

-

PageNo

RequestBody

Int32

分页页码。

-

PageSzie

RequestBody

Int32

分页长度。

-

返回参数

Result字段包含以下参数:

字段

类型

说明

Total

Int32

结果数量。

Groups

Array[NotifyGroup]

报警组信息。

NotifyGroup

字段

类型

说明

Id

Int32

报警组ID。

GroupName

AlertRuleConfig

报警组名称。

Emails

Array[String]

邮箱列表。

PhoneNumbers

Array[String]

电话列表。

请求示例

POST https://open.volcengineapi.com?Action=NotifyGroupList&Version=2022-07-11
&<公共请求参数>

返回示例

{
    "ResponseMetadata": {
        "RequestId": "",
        "Action": "NotifyGroupList",
        "Version": "2022-07-11",
        "Service": "apmplus_server",
        "Region": "cn-beijing"
    },
    "Result": {
        "Groups":[
            {
                "Id":1,
                "GroupName":"",
                "Emails":[],
                "PhoneNumbers":[]
            }
        ],
        "Total":1
    }
}