ReceivePlatformAlerts
Receive alert notifications from managed platforms (ZStack/ZStone) Auth: HMAC(webhookToken, platformUUID) in query param 'token'.
/api/v1/alerting/receiveOperation ID
ReceivePlatformAlertsSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
sourceStringRequiredSource platform identifier
Example: zstack
tokenStringRequiredHMAC authentication token
Example: hmac-token-abc123
alertsListRequiredList of alert payloads from the platform
Example: (nested array)
statusStringAlert status: firing or resolved
Example: firing
fingerprintStringUnique fingerprint for deduplication
Example: abc123def456
generatorURLStringURL to the alert source in the generator system
Example: http://prometheus:9090/graph?g0.expr=up
labelsLinkedHashMapKey-value labels attached to this resource
Example: (nested object)
annotationsLinkedHashMapArbitrary key-value annotations for metadata
Example: (nested object)
startsAtStringISO 8601 timestamp when the alert started firing
Example: 2024-01-15T09:30:00Z
endsAtStringISO 8601 timestamp when the alert was resolved
Example: 2024-01-15T10:00:00Z
commonLabelsLinkedHashMapRequiredLabels common to all alerts in this group
Example: (nested object)
Responses
200 OKChange History
View all change historyChange Time
AddedRequest body fields generatorURLDeletedRequest body fields generatorUrlView API
