This object is the 1st parameter passed to the onUpdate callback in the Bytescale Upload Widget.
{}
{ "failedFiles": [ {} ], "pendingFiles": [ {} ], "uploadedFiles": [ { "accountId": "YOUR_ACCOUNT_ID", "filePath": "/uploads/image.jpg", "fileUrl": "https://upcdn.io/A623uY2/raw/uploads/image.jpg", "originalFile": { "accountId": "YOUR_ACCOUNT_ID", "etag": "33a64df551425fcc55e4d42a148795d9f25f89d4", "filePath": "/uploads/image.jpg", "fileUrl": "https://upcdn.io/A623uY2/raw/uploads/image.jpg", "lastModified": 1615680311115, "metadata": { "myCustomField1": true, "myCustomField2": { "hello": "world" }, "anotherCustomField": 42 }, "mime": "image/jpeg", "originalFileName": "example.jpg", "size": 43182, "tags": [ "example_tag" ] } } ]}
Represents a file that failed to upload, either due to client-side validation, server-side validation, or other network failures.
Type: UploadWidgetFailedFile[]
Represents a file in the Bytescale Upload Widget that hasn't finished uploading.
Type: UploadWidgetPendingFile[]
The result returned by the Upload Widget.
Note: the Upload Widget returns an array of these items.
Type: UploadWidgetResult[]
This website uses cookies. By continuing you are consenting to the use of cookies per our Cookie Policy. Our legal policies were last updated August 16 2024.
This website requires a modern web browser -- the latest versions of these browsers are supported: