获取平台事件
获取一个已授权的平台事件,包括原始载荷、解析信息和渠道投递记录
/api/v1/alerting/platform-events/{uuid}操作 ID
GetPlatformEvent起始版本
1.3.0执行模式
同步认证信息
需要认证认证信息
调用该 API 时需要在请求头中携带以下认证信息。
Authorizationstring必填Bearer 令牌
X-Tenant-IDstringX-Tenant-ID
请求参数
application/json路径参数
uuidString必填资源的UUID,唯一标识该资源。
Header 参数
Accept-LanguageString首选显示语言:zh-CN 或 en-US,支持 zh_CN 等语言别名及 q 质量权重。未提供语言或语言不受支持时,按配置的语言回退规则处理。
响应状态
200 OK请求成功。
Content-Type: application/json
响应体根类型: object
响应 Header
Content-LanguageString经过请求语言、配置及词典回退后,实际选定的显示语言。
VaryStringAccept-Language;响应的表示形式随此请求 Header 变化。
uuidString资源的UUID,唯一标识该资源。
示例: record-1
platformUuidString平台UUID。
示例: platform-1
productTypeString产品类型。
示例: cloud
sourceSystemString标识符。
示例: zstack
sourceEventIdString来源事件身份标识,不可用时为空。
示例: source-event-1
namespaceString命名空间。
示例: ZStack/Host
eventNameString源事件名称。
示例: HostConnected
resourceTypeString资源类型。
示例: Host
resourceUuidString资源UUID。若指定,资源会使用该字段值作为UUID。
示例: host-1
resourceNameString资源显示名称。
示例: Host A
severityString告警级别。
示例: info
recordTypeString记录分类不同通知投递状态。
示例: notify
recordedAtString持久化记录的创建时间,用于筛选及默认的降序排列。
示例: 2026-09-17T00:00:00Z
{"format":"date-time"}occurredAtString来源事件的实际发生时间,未知时不返回。
示例: 2026-09-16T23:59:59Z
{"format":"date-time"}messageString读操作响应中的本地化事件消息;存储的消息和原始 raw_payload 保持不变。没有可用翻译时回退为原始消息。
示例: Host connected
parseErrorString解析错误。
示例: event namespace is missing
rawPayloadObject原始负载。
deliveryRecordsList渠道投递尝试记录,按 createdAt DESC、uuid DESC 排序;仅在事件详情中填充。
uuidString资源的UUID,唯一标识该资源。
示例: value
notificationGroupIdString通知组ID。
示例: value
alertInstanceIdsList告警实例ID。
alertInstanceUuidString告警实例UUID。
示例: value
policyUuidString策略UUID。
示例: value
channelUuidString渠道UUID。
示例: value
channelTypeString渠道类型。
示例: value
templateUuidString模板UUID。
示例: value
targetMaskedString目标已脱敏。
示例: value
statusString状态信息。
示例: value
attemptInteger尝试。
示例: 10
{"format":"int32"}maxAttemptsInteger最大尝试。
示例: 10
{"format":"int32"}errorCodeStringLDAP错误分类编码。
示例: value
errorMessageString错误返回消息。
示例: value
durationMsInteger时长毫秒。
示例: 10
{"format":"int32"}createdAtString创建时间。
示例: 2026-01-15T08:00:00Z
{"format":"date-time"}lastAttemptAtString最近一次尝试时间。
示例: 2026-01-15T08:00:00Z
{"format":"date-time"}nextRetryAtString下次重试时间。
示例: 2026-01-15T08:00:00Z
{"format":"date-time"}sentAtString已发送时间。
示例: 2026-01-15T08:00:00Z
{"format":"date-time"}providerMessageIdString提供方消息ID。
示例: value
suppressionTypeString抑制类型。
示例: value
suppressionPolicyIdString抑制策略ID。
示例: value
suppressionReasonString抑制原因。
示例: value
suppressedAtString已抑制时间。
示例: 2026-01-15T08:00:00Z
{"format":"date-time"}deliveryKindString投递类型。
示例: value
contentTruncatedBoolean内容已截断。
示例: true
originalAlertCountInteger原始告警数量。
示例: 10
{"format":"int32"}renderedAlertCountInteger已渲染告警数量。
示例: 10
{"format":"int32"}providerRequestIdString提供方请求ID。
示例: value
providerDeliveryIdString提供方投递ID。
示例: value
providerAcceptedAtString提供方已接受时间。
示例: 2026-01-15T08:00:00Z
{"format":"date-time"}providerConfirmationStatusString提供方确认状态。
示例: value
providerErrorCodeString提供方错误代码。
示例: value
confirmedAtString确认时间。
示例: 2026-01-15T08:00:00Z
{"format":"date-time"}eventRecordUuidString事件记录UUID。
示例: value
ackStateString人工关注确认状态:Unack 或 Ack,独立于恢复及投递状态。
示例: Unack
acknowledgedByString首位确认用户经过验证的稳定标识。确认前为空;用户认证可选且匿名确认时也为空。
示例: user-1
acknowledgedAtString已确认时间。
示例: 2026-09-20T00:00:00Z
{"format":"date-time"}nameString根据 Accept-Language 及完整的 product_type、namespace、event_name 身份本地化显示名称;回退为原始 event_name。
示例: Host Connected
impactScopeString本地化的影响范围。没有权威的产品描述时为空。
示例: value
descriptionString本地化事件描述。没有权威的产品描述时为空。
示例: A brief description
summaryString根据已持久化事件事实生成的本地化摘要;回退为原始事件消息。
示例: value
causeString预留的展示字段;明确返回空字符串。
solutionString预留的展示字段;明确返回空字符串。
resourceTypeDisplayNameString与平台事件资源类型目录一致的本地化资源类型标签;resource_type 保留原始代码,回退时使用 resource_type。
示例: Host
