告警与响应相关接口/告警事件
POSTAlerting起始版本 1.0同步需要认证
确认告警事件
确认告警事件指示已调查。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
路径参数
请求参数
路径参数
eventIdString必填事件标识符确认。
请求体字段
acknowledgedByString必填用户正在确认告警。
示例: admin
commentString必填评论。
示例: Investigating the issue
响应状态
请求地址
POST/api/v1/alerting/events/{eventId}/acknowledge
/api/v1/alerting/events/{eventId}/acknowledge
请求示例
curl -X POST '{host}/api/v1/alerting/events/{eventId}/acknowledge' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"acknowledgedBy":"admin","comment":"Investigating the issue"}'
响应示例
200{
"uuid": "event-001",
"ruleUuid": "rule-abc123",
"ruleName": "High CPU Usage",
"resourceType": "vm",
"resourceUuid": "res-abc123",
"metricName": "cpu_usage_percent",
"currentValue": 95.3,
"threshold": 90.0
}变更历史
此 API 暂无变更历史记录。
