Upload
uploadFile(file, params)⇒ Promise.<any>
Promise.<any>
Deprecated
Upload local file via router /api/binary.
Parameters
Param
Type
Description
file
File
Required - The file
params
Object
Required - Object containing imType property to describe the uploaded file
uploadUri(uri, params)⇒ Promise.<any>
Promise.<any>
Deprecated
Send a uri to be uploaded to backend
Parameters
Param
Type
uri
string
params
Object