根据 ID 查询告警回调详情列表。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListWebhooksByIds | 接口名称。当前 API 的名称为 ListWebhooksByIds 。 |
Version | String | 是 | 2018-01-01 | 接口版本。当前 API 的版本为 2018-01-01 。 |
Ids | Array of String | 是 | [ "180********792"] | Webhook ID。 |
POST https://open.volcengineapi.com?Action=ListWebhooksByIds&Version=2018-01-01 Content-Type: application/json { "Ids": [ "180********792" ] }
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Data | Array of WebhookVO | - | Webhook 详情。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Id | String | 1599*****9648 | Webhook ID。 |
Url | String | https://qyapi.weixin.qq.com/xxxx | Webhook 地址。 |
Name | String | Webhook-demo | Webhook 名称。 |
Type | String | wecom | Webhook 类型。
|
RuleIds | Array of String | 1354766247190****** | 告警策略 ID。 |
EventRuleIds | Array of String | 157284163494346**** | 事件规则 ID。 |
CreatedAt | String | 2021-10-25T18:27:24+08:00 | Webhook 的创建时间。 |
UpdatedAt | String | 2021-10-25T18:49:43+08:00 | Webhook 的更新时间。 |
{ "ResponseMetadata": { "Action": "ListWebhooksByIds", "Region": "cn-beijing", "Service": "Volc_Observe", "Version": "2018-01-01", "RequestId": "20230604110420****100232280022D31" }, "Result": { "Data": [ { "Id": "1599*****9648", "Url": "https://qyapi.weixin.qq.com/xxxx", "Name": "webhook-demo", "Type": "wecom", "RuleIds": [ "1354766247190******" ], "EventRuleIds": [ "157284163494346****" ], "CreatedAt": "2021-10-25T18:27:24+08:00", "UpdatedAt": "2021-10-25T18:49:43+08:00" } ] } }
本接口无特有的错误码。更多信息请参见 错误码。