NotificationEvent
Published notification event. recipients_spec preserves the original recipient predicates; the display collection may differ from recipients_spec.collection, which controls recipient routing.
idId (string)필수
channelChannel (string)필수
Possible values: [pipeline, batch, access, system, agent, infra]
typeType (string)필수
collection object
하나 이상(anyOf)
- string
- null
string
resource object
하나 이상(anyOf)
- string
- null
string
messageMessage (string)필수
payload object
property name*any
recipients_spec 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.
usersstring[]
User identifiers that should receive the notification directly.
groupsstring[]
Group identifiers whose members should receive the notification.
collection object
Collection whose readers should receive the notification.
- string
- null
string
broadcastBroadcast (boolean)
Whether every active user should receive the notification.
기본값:
falsecreated_atCreated At (integer)필수
NotificationEvent
{
"id": "string",
"channel": "pipeline",
"type": "string",
"collection": "string",
"resource": "string",
"message": "string",
"payload": {},
"recipients_spec": {
"users": [
"string"
],
"groups": [
"string"
],
"collection": "string",
"broadcast": false
},
"created_at": 0
}