WebhookRuleSchema – Management API – MediaKind
WebhookRuleSchema
metadata
Webhook rule metadata.
id: string (Required, format: uuid)
The ID of the webhook.name: string (Required)
The name of the webhook. Unique within a project.
spec
Webhook rule spec.
authentication: object (Optional)
Authentication details.headers: map from strings to string (Optional)
Authentication headers.queryParams: map from strings to string (Optional)
Authentication query parameters.
enabled: boolean (Required)
Indicates whether the webhook is enabled.events: list of enums (Required)
List of events that trigger the webhook.headers: map from strings to string (Optional)
Headers to include in the webhook request.queryParams: map from strings to string (Optional)
Query parameters to include in the webhook request.url: string (Required)
The URL the webhook should call.