JavaScript SDK (v0.49.0)Reference
CreateUploadParams
Parameters for creating an upload.
Type Alias: CreateUploadParams
CreateUploadParams =
object
Parameters for creating an upload.
Properties
mime_type
mime_type:
string
The MIME type of the file.
size
size:
number
The size of the file to upload in bytes. This should be the exact size of the file. Any mismatch will result in an error or a corrupt file being uploaded.