This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a rule is updated.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.moderation.v1.rule
.
Event name. Expected updated
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.moderation.v1.rule_updated",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"id": "8aa23cf1-92e1-4d0a-a34c-96bc013d229f",
"entityFqdn": "wix.moderation.v1.rule",
"slug": "updated",
"entityId": "e3acb53a-cfed-41bc-9de5-e4060426c13a",
"updatedEvent": {
"currentEntity": {
"id": "e3acb53a-cfed-41bc-9de5-e4060426c13a",
"revision": "3",
"createdDate": "2023-10-06T13:57:20.564Z",
"updatedDate": "2023-10-06T13:59:36.455Z",
"namespace": "comments/14bcded7-0066-7c35-14d7-466cb3f09103",
"name": "Forbid to comment with link and images",
"audience": {
"type": "MEMBERS"
},
"trigger": {
"contentFeatures": {
"videos": true,
"images": false,
"links": true
}
},
"exemptions": {
"memberGroups": ["1149dbee-acc1-49ac-bedf-43176155e84a"],
"memberIds": ["05565bc9-3d16-4fc8-ab8e-20b13a0730d8"]
},
"action": {
"type": "REJECT"
},
"enabled": true
}
},
"eventTime": "2023-10-06T13:59:36.455060Z",
"triggeredByAnonymizeRequest": false,
"entityEventSequence": "2"
}