根据ID查询告警回调详情列表。
ServiceName: Volc_Observe Region: cn-beijing AccessKey: xxx SecretKey: xxx
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListWebhooksByIds | 接口名称。当前 API 的名称为 ListWebhooksByIds 。 |
Version | String | 是 | 2018-01-01 | 接口版本。当前 API 的版本为 2018-01-01 。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Ids | Array of String | 是 | [ "180********792"] | 要查询的webhook ID。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Data | Array of WebhookVO | - | 返回内容。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Id | String | 1599*****9648 | webhook ID。 |
Url | String | https://xxxx | webhook的地址。 |
Name | String | test | webhook的名称。 |
Type | String |
| webhook的类型。
|
RuleIds | Array of String | - | 告警策略ID。 |
CreatedAt | String | 2021-10-25T18:27:24+08:00 | webhook创建时间。 |
UpdatedAt | String | 2021-10-25T18:49:43+08:00 | webhook更新时间。 |
EventRuleIds | Array of String | - | 事件规则ID。 |
POST https://open.volcengineapi.com?Action=ListWebhooksByIds&Version=2018-01-01
ServiceName: Volc_Observe
Region: cn-beijing
AccessKey: xxx
SecretKey: xxx
{
"Ids": [
"180********792"
]
}
{
"ResponseMetadata": {
"RequestId": "20240624160753784B7BF50425257*****",
"Action": "ListWebhooksByIds",
"Version": "2018-01-01",
"Service": "volc_observe_boe",
"Region": "cn-nanjing-bbit"
},
"Result": {
"Data": [
{
"Id": "1599*****9648",
"Name": "test",
"CreatedAt": "2021-10-25T18:27:24+08:00",
"UpdatedAt": "2021-10-25T18:49:43+08:00",
"Type": "custom",
"Url": "https://xxxx",
"RuleIds": [
"***",
"..."
],
"EventRuleIds": [
"***",
"..."
]
}
],
"PageNumber": 1,
"PageSize": 10
}
}
本接口无特有的错误码。更多信息请参见错误码。