Interface: IDS

IDS

Methods

isTwoLevel(options) → {Promise.<boolean>}

Returns whether or not the IDS is two level.
Parameters:
Name Type Description
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<boolean>

isTwoLevel(timeout) → {Promise.<boolean>}

Returns whether or not the IDS is two level.
Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
Source:
Returns:
Type
Promise.<boolean>

isTwoLevel() → {Promise.<boolean>}

Returns whether or not the IDS is two level.
Source:
Returns:
Type
Promise.<boolean>

upload(datasetId, files) → {Promise}

Uploads files to a dataset.
Parameters:
Name Type Description
datasetId number the id of the dataset you wish to upload to
files Array.<File> the files to be uploaded
Source:
Returns:
Type
Promise

version() → {Promise.<string>}

Returns the version of the IDS server
Source:
Returns:
Type
Promise.<string>