Deis.listApps()

Lists applications visible to the current user.

Usage

Hover over inputs/exits for more info.

var Deis = require('machinepack-deis');


// Lists applications visible to the current user.

Deis.listApps({

token: '',

controller: 'http://deis.mydeisapp.com',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// The token provided were invalid

notAuthenticated: function () {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

token required

An access token for use with a Deis install.

''
controller required

The controller location of your Deis install.

'http://deis.mydeisapp.com'

Exits

error

An unexpected error occurred.

notAuthenticated

The token provided were invalid

success

OK.

[ { uuid: '12ef4f97-8669-4337-befa-288a5e0e8ac8',
    id: 'foobar',
    url: 'foobar.mydeisapp.com',
    created: '2015-03-05T07:43:17UTC',
    updated: '2015-03-05T07:43:17UTC' } ]