ReceivePlatformAlerts
Receive alert notifications from managed platforms (ZStack/ZStone). Uses platform HMAC credentials in the declared request source/token fields, without an end-user Bearer token. source is required; token validation follows the platform webhook configuration.
/api/v1/alerting/receiveOperation ID
ReceivePlatformAlertsSince
1.0.0Execution Mode
SynchronousAuth Context
Platform HMAC CredentialsAuth Context
No end-user Bearer token is used. source is required. Token validation follows the platform webhook configuration: when a webhook token is configured, the supplied token must be valid.
Request Inputs
application/jsonBody Fields
sourceStringRequiredSource platform identifier
Example: zstack
tokenStringHMAC authentication token
Example: hmac-token-abc123
alertsListList of alert payloads from the platform
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
annotationsLinkedHashMapArbitrary key-value annotations for metadata
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
commonLabelsLinkedHashMapLabels common to all alerts in this group
Responses
200 OKChange History
View all change historyChange Time
AddedRequest body fields generatorURLDeletedRequest body fields generatorUrlView API
