Get list of notification rules
Example response
[- {
- "identifier": "string",
- "account": "string",
- "org": "string",
- "project": "string",
- "status": "ENABLED",
- "last_modified": 0,
- "created": 0,
- "name": "string",
- "notification_conditions": [
- {
- "condition_name": "string",
- "notification_event_configs": [
- {
- "notification_entity": "string",
- "notification_event_data": {
- "type": "DELEGATE"
}, - "notification_event": "string",
- "entity_identifiers": [
- "string"
]
}
]
}
], - "notification_channel_refs": [
- "string"
], - "custom_notification_template_ref": {
- "template_ref": "string",
- "version_label": "string",
- "variables": [
- {
- "name": "string",
- "value": "string",
- "type": "string"
}
]
}
}
]
Create Notification Rule
Notification rule request
Example response
{- "identifier": "string",
- "account": "string",
- "org": "string",
- "project": "string",
- "status": "ENABLED",
- "last_modified": 0,
- "created": 0,
- "name": "string",
- "notification_conditions": [
- {
- "condition_name": "string",
- "notification_event_configs": [
- {
- "notification_entity": "string",
- "notification_event_data": {
- "type": "DELEGATE"
}, - "notification_event": "string",
- "entity_identifiers": [
- "string"
]
}
]
}
], - "notification_channel_refs": [
- "string"
], - "custom_notification_template_ref": {
- "template_ref": "string",
- "version_label": "string",
- "variables": [
- {
- "name": "string",
- "value": "string",
- "type": "string"
}
]
}
}
{- "identifier": "string",
- "account": "string",
- "org": "string",
- "project": "string",
- "status": "ENABLED",
- "last_modified": 0,
- "created": 0,
- "name": "string",
- "notification_conditions": [
- {
- "condition_name": "string",
- "notification_event_configs": [
- {
- "notification_entity": "string",
- "notification_event_data": {
- "type": "DELEGATE"
}, - "notification_event": "string",
- "entity_identifiers": [
- "string"
]
}
]
}
], - "notification_channel_refs": [
- "string"
], - "custom_notification_template_ref": {
- "template_ref": "string",
- "version_label": "string",
- "variables": [
- {
- "name": "string",
- "value": "string",
- "type": "string"
}
]
}
}
Get notification rule
Example response
{- "identifier": "string",
- "account": "string",
- "org": "string",
- "project": "string",
- "status": "ENABLED",
- "last_modified": 0,
- "created": 0,
- "name": "string",
- "notification_conditions": [
- {
- "condition_name": "string",
- "notification_event_configs": [
- {
- "notification_entity": "string",
- "notification_event_data": {
- "type": "DELEGATE"
}, - "notification_event": "string",
- "entity_identifiers": [
- "string"
]
}
]
}
], - "notification_channel_refs": [
- "string"
], - "custom_notification_template_ref": {
- "template_ref": "string",
- "version_label": "string",
- "variables": [
- {
- "name": "string",
- "value": "string",
- "type": "string"
}
]
}
}
Update Notification Rule
Notification rule request
Example response
{- "identifier": "string",
- "account": "string",
- "org": "string",
- "project": "string",
- "status": "ENABLED",
- "last_modified": 0,
- "created": 0,
- "name": "string",
- "notification_conditions": [
- {
- "condition_name": "string",
- "notification_event_configs": [
- {
- "notification_entity": "string",
- "notification_event_data": {
- "type": "DELEGATE"
}, - "notification_event": "string",
- "entity_identifiers": [
- "string"
]
}
]
}
], - "notification_channel_refs": [
- "string"
], - "custom_notification_template_ref": {
- "template_ref": "string",
- "version_label": "string",
- "variables": [
- {
- "name": "string",
- "value": "string",
- "type": "string"
}
]
}
}
{- "identifier": "string",
- "account": "string",
- "org": "string",
- "project": "string",
- "status": "ENABLED",
- "last_modified": 0,
- "created": 0,
- "name": "string",
- "notification_conditions": [
- {
- "condition_name": "string",
- "notification_event_configs": [
- {
- "notification_entity": "string",
- "notification_event_data": {
- "type": "DELEGATE"
}, - "notification_event": "string",
- "entity_identifiers": [
- "string"
]
}
]
}
], - "notification_channel_refs": [
- "string"
], - "custom_notification_template_ref": {
- "template_ref": "string",
- "version_label": "string",
- "variables": [
- {
- "name": "string",
- "value": "string",
- "type": "string"
}
]
}
}
Validate notification rule identifier
Found
{- "exists": true
}