Triggered when a file is updated, including when a file is moved to a different 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.file_descriptor
.
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.file_descriptor_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-b07d1657c18e",
"entityFqdn": "wix.media.site_media.v1.file_descriptor",
"slug": "updated",
"entityId": "002b27_c847a92bbf7e44c9916176478ef95c3d~mv2.jpg",
"updatedEvent": {
"currentEntity": {
"id": "002b27_c847a92bbf7e44c9916176478ef95c3d~mv2.jpg",
"displayName": "the great unknown",
"url": "https://static.wixstatic.com/media/002b27_c847a92bbf7e44c9916176478ef95c3d~mv2.jpg",
"parentFolderId": "media-root",
"hash": "e4d7c400523eb022737b17c70213ba7e",
"sizeInBytes": "46489",
"private": false,
"mediaType": "IMAGE",
"media": {
"image": {
"image": {
"id": "002b27_c847a92bbf7e44c9916176478ef95c3d~mv2.jpg",
"url": "https://static.wixstatic.com/media/002b27_c847a92bbf7e44c9916176478ef95c3d~mv2.jpg",
"height": 300,
"width": 960,
"filename": "the great unknown",
"sizeInBytes": "46489"
},
"colors": {},
"faces": []
}
},
"operationStatus": "READY",
"thumbnailUrl": "https://static.wixstatic.com/media/002b27_c847a92bbf7e44c9916176478ef95c3d~mv2.jpg",
"labels": [],
"createdDate": "2023-01-04T01:39:30.000Z",
"updatedDate": "2023-01-05T14:06:19.000Z",
"state": "OK"
}
},
"eventTime": "2023-01-05T14:06:19.730Z",
"triggeredByAnonymizeRequest": false
}