NotificationTransitionPolicyUpdate
Fields
Per-project transition-notification policy.
4 fields
consecutive_failure_threshold- integer
enabled_events- array of string
Transition NotificationEventType values enabled for the project
per_run_events_enabled- boolean
transitions_enabled- boolean
Raw schema (JSON)
{
"description": "Per-project transition-notification policy (PMF US-7.1).",
"properties": {
"consecutive_failure_threshold": {
"default": 2,
"maximum": 20,
"minimum": 1,
"title": "Consecutive Failure Threshold",
"type": "integer"
},
"enabled_events": {
"description": "Transition NotificationEventType values enabled for the project",
"items": {
"type": "string"
},
"title": "Enabled Events",
"type": "array"
},
"per_run_events_enabled": {
"default": false,
"title": "Per Run Events Enabled",
"type": "boolean"
},
"transitions_enabled": {
"default": true,
"title": "Transitions Enabled",
"type": "boolean"
}
},
"title": "NotificationTransitionPolicyUpdate",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
PUT/api/v1/notifications/projects/{project_id}/transition-policy— Update Transition Policy
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON