Skip to content

Workspaces.API

Phips Peter edited this page Oct 22, 2014 · 5 revisions

Class: Workspaces

Workspaces

new Workspaces(dispatcher)

Access to the Workspaces resource

Parameters:
Name Type Description
dispatcher Dispatcher

The API dispatcher

Source:

Methods

findAll(params) → {Promise}

Show all available workspaces

Parameters:
Name Type Argument Description
params Object <optional>

Extra params for the dispatcher

Source:
Returns:

The result of the API call

Type
Promise

update(workspaceId, data) → {Promise}

Update a workspace

Parameters:
Name Type Description
workspaceId Number

The workspace id

data Object

The data to be sent to the workspace

Source:
Returns:

The result of the API call

Type
Promise

Generated with wicked.