JavaScript SDK (v0.48.0)Reference
CreateFileUrlsParams
Parameters for creating file urls.
Type Alias: CreateFileUrlsParams
CreateFileUrlsParams =
object
Parameters for creating file urls.
Properties
mime_type
mime_type:
string
The MIME type of the file.
name
name:
string
The name of the file to upload.
resource
resource:
FileResource
The resource the file will be related to.
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 the url being invalid or a corrupt file being uploaded.