Global

Members

(constant) GRANT_TYPE

String constants for /auth/token API

Source:

Methods

commit(uploadId) → {Promise.<objects.Blob, objects.ChinoException>}

Commit the upload action and return the blob information

Parameters:
Name Type Description
uploadId string

The upload id representing an upload action

Source:
Returns:

A promise that return a Blob object if resolved, otherwise throw an ChinoException object if rejected or was not retrieved a success status

Type
Promise.<objects.Blob, objects.ChinoException>

create(info) → {Promise}

Create a new blob

Parameters:
Name Type Description
info object

The parameter for the creation of a blob

Source:
Returns:
Type
Promise

listPermissions(response, status_code) → {Array.<objects.Perms>}

Convert a response into a list of Perms object

Parameters:
Name Type Description
response
status_code
Source:
Returns:
Type
Array.<objects.Perms>

responseHandler(error, response)

Manage response from Chino API

Parameters:
Name Type Description
error
response
Source: