Optional
chunkOptional
contentThe file's content type. This is optional
Optional
dashboard?: stringDashboard ID.
Uploading files from a widget requires dashboard
, widget
, and fieldId
to be provided.
Optional
fieldID of the field from the widget where the file is selected.
Uploading files from a widget requires dashboard
, widget
, and fieldId
to be provided.
Optional
isif the file can be accessed by anybody with a link or not
Optional
maxthe maximum amount of tries to upload each chunk to TagoIO. After this many unsuccessful tries of a single chunk, the upload is aborted
Optional
onwill provide a cancel token for you to cancel the request
Optional
onwill provide the upload percentage for this file
Optional
timeouttimeout before trying to upload the same chunk if the request failed
Optional
widget?: stringWidget ID.
Uploading files from a widget requires dashboard
, widget
, and fieldId
to be provided.
the byte size of each chunk sent to TagoIO. This will influence how many requests this function will perform