NotificationAction
Shared request and response schema. Request: Notification action accepted when configuring a reaction, including its recipients, message, and channel. Response: Notification action returned for a reaction, including its recipients, message, and channel.
Possible values: [pipeline, batch, access, system, agent, infra]
collection object
- string
- null
resource object
- string
- null
payload object
recipients object필수
Notification recipient predicates. Users, groups, collection readers, and broadcast recipients are combined and deduplicated. A request with no predicates is rejected with 422; a valid predicate that resolves to no users creates zero deliveries.
User identifiers that should receive the notification directly.
Group identifiers whose members should receive the notification.
collection object
Collection whose readers should receive the notification.
- string
- null
Whether every active user should receive the notification.
falseeach object
A list path in the payload the body repeats over — context.rows for an ontology condition, context.parameters.<name> for an Action's many row parameter
- string
- null
on_failure object
Compensating action, run when this action raises. 1-depth only.
- object
- null
One chain action of the same kinds, selected by kind (ontology, dataset, function, or notification). A fallback action cannot have its own on_failure.
notification{
"channel": "pipeline",
"type": "string",
"collection": "string",
"resource": "string",
"message": "string",
"payload": {},
"recipients": {
"users": [
"string"
],
"groups": [
"string"
],
"collection": "string",
"broadcast": false
},
"each": "string",
"on_failure": {},
"kind": "notification"
}