NotificationTransitionPolicyResponse
Fields
6 fields
consecutive_failure_threshold· required- integer
enabled_events· required- array of string
is_default- boolean
per_run_events_enabled· required- boolean
project_id· required- string (uuid)
transitions_enabled· required- boolean
Raw schema (JSON)
{
"properties": {
"consecutive_failure_threshold": {
"title": "Consecutive Failure Threshold",
"type": "integer"
},
"enabled_events": {
"items": {
"type": "string"
},
"title": "Enabled Events",
"type": "array"
},
"is_default": {
"default": false,
"title": "Is Default",
"type": "boolean"
},
"per_run_events_enabled": {
"title": "Per Run Events Enabled",
"type": "boolean"
},
"project_id": {
"format": "uuid",
"title": "Project Id",
"type": "string"
},
"transitions_enabled": {
"title": "Transitions Enabled",
"type": "boolean"
}
},
"required": [
"project_id",
"transitions_enabled",
"per_run_events_enabled",
"enabled_events",
"consecutive_failure_threshold"
],
"title": "NotificationTransitionPolicyResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”2 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/notifications/projects/{project_id}/transition-policy— Get Transition PolicyPUT/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