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

AckAlarm

最近更新时间2023.04.11 16:29:02

首次发布时间2022.11.01 11:26:01

调用AckAlarm接口设置报警任务ACK。

使用说明

  • 接口名称:AckAlarm
  • 请求方式:POST
  • 接口地址:/?Action=AckAlarm&Version=2022-10-12

请求参数

Query

参数

类型

是否必选

示例值

描述

Action

String

AckAlarm

请求名称。

Version

String

2022-10-12

请求版本。

ServiceName : apmplus_openapi
Region : cn-beijing 
X-App-Ids : xxx
Content-Type : application/json

Body

参数

类型

是否必填

示例值

说明

common

object of common

-

通用参数。

id

int64

302

报警任务ID列表。

duration

int64

86400

报警ACK时间。单位为秒。

common

参数

类型

是否必填

示例值

说明

aid

int64

12345

应用ID。

os

string

webpro

服务类型。

返回参数

参数

类型

示例值

说明

err_detail

string

-

错误详情。

data

object of data

-

返回内容。

error_msg

string

-

错误信息。

error_no

int

0

错误码。0为成功。

data

参数

类型

示例值

说明

ack_until_time

Int

1666097456

报警ACK到期时间秒时间戳。

请求示例

POST https://open.volcengineapi.com/?Action=AckAlarm&Version=2022-10-12

{
    "common":{
        "aid":12345,
        "os":"webpro"
    },
    "id":302,
    "duration":86400
}

返回示例

{
    "err_detail":"",
    "data":{
        "ack_until_time":1666097456
    },
    "error_msg":"",
    "error_no":0
}