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

GetAlarmAckStatus

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

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

调用GetAlarmAckStatus接口获取报警任务ACK状态。

使用说明

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

请求参数

Query

参数

类型

是否必选

示例值

描述

Action

String

GetAlarmAckStatus

请求名称。

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列表。

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_status

int

0

报警ACK状态。

  • 0:未ACK
  • 1:已ACK

ack_until_time

int

1666097456

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

请求示例

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

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

返回示例

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