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 restoration's status is changed. This includes when a new restoration is initiated and its status is PENDING
.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.data.v2.backup_restoration_state_changed",
"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
}
}
}