assetGroupUploadComplete
Fired when an uploaded asset becomes active.
notification socket event with type set to assetGroupUploadComplete.Fired when an uploaded asset becomes active. Uploads by the same creator into the same resource/visibility within the grouping window (30 min) are accumulated into one notification, which is then re-sent via notificationUpdate.
Fired when a group of assets finishes uploading within a defined time window. Subsequent uploads in the window update this notification (tokens.assets and tokens.uploadCount grow) and emit notificationUpdate.
Payload for the assetGroupUploadComplete event.
Token keys marked with (*) will be deprecated in a future release and should not be used for new development; replace them with the values and objects in the changes key in existing implementations.
Payload
| Property | Type | Required | Description |
|---|---|---|---|
type | string | yes | The specific type of notification event (matches the top-level key, e.g., 'workspaceCreate'). Every notification type is documented as its own event in this reference. |
initiatorId | string (uuid) | no | ID of the user or system that initiated the event. Null if initiatorType is 'system'. |
initiatorType | "user" | "system" | yes | Type of initiator (user or system). |
initiator | object | null | no | Populated initiator user object (if initiatorType is 'user'). |
resourceId | string (uuid) | yes | ID of the primary resource this notification pertains to. |
resourceType | string | yes | Type of the primary resource this notification pertains to. |
channels | string[] | no | The specific channels this notification was published on. Present on notification objects returned by the REST API only; the socket 'notification' payload omits it (and id). |
createdAt | string (date-time) | yes | Timestamp when the notification was created. |
tokens | object | no | |
changes | object | no | On the initial notification changes.update contains the first asset; the grouped notification delivered via notificationUpdate is NOT extended with later assets (only tokens are). |
tokens
| Property | Type | Required | Description |
|---|---|---|---|
(*)creatorId | string (uuid) | no | Deprecated. Use initiatorId. |
(*)creator | object | no | Deprecated. Public user object of the uploader. Use initiator. |
visibility | string[] | yes | Visibility of the uploaded asset(s). |
(*)assets | object[] | no | Deprecated. Uploaded asset objects. Use resources from changes.update. |
uploadCount | integer | yes | Number of assets accumulated in this group so far. |
changes
| Property | Type | Required | Description |
|---|---|---|---|
update | object[] | no |
update (items)
| Property | Type | Required | Description |
|---|---|---|---|
resourceId | string (uuid) | no | |
resourceType | "asset" | no | |
resource | object | no | The uploaded asset. |