Upload

Provides functionality for uploading files

uploadFile(file, params)⇒ Promise.<any>

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>

Send a uri to be uploaded to backend

Parameters

Param

Type

uri

string

params

Object

Last updated