Triggered when a folder is updated, including when a folder is moved to a different parent folder.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.media.site_media.v1.folder
.
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.media.site_media.v1.folder_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": "686563e5-74ed-489a-88ee-b07d1657c18d",
"entityFqdn": "wix.media.site_media.v1.folder",
"slug": "updated",
"entityId": "25284aa06584441ea94338fdcfbaba12",
"updatedEvent": {
"currentEntity": {
"id": "25284aa06584441ea94338fdcfbaba12",
"displayName": "Example folder",
"parentFolderId": "media-root",
"createdDate": "2022-04-17T21:48:34.000Z",
"updatedDate": "2022-04-26T20:07:18.000Z",
"state": "OK"
}
},
"eventTime": "2022-04-17T21:48:50.730Z",
"triggeredByAnonymizeRequest": false
}