Class: cloudApplications

cloudApplications(domainOrOptionsopt)

new cloudApplications(domainOrOptionsopt)

Parameters:
Name Type Attributes Description
domainOrOptions string | object <optional>
The project domain or options object. If object, see the object's optional properties.
Properties
Name Type Attributes Description
domain string <optional>
The project domain
token object <optional>
auth token - object with value property and optional headerOrQueryName and isQuery properties
Source:

Methods

addApplication(body)

Create a new application
Parameters:
Name Type Description
body CloudApplicationCreate Application details
Source:

getApplicationById(applicationId)

Find application by applicationId
Parameters:
Name Type Description
applicationId string Id of application to be fetched
Source:

getApplicationList(category, imageId, status, limit, offset)

Get a list of applications
Parameters:
Name Type Description
category string Application category filter (exact match)
imageId string Lookup application by associated published image
status string Application status filter (exact match)
limit integer Number of results to display
offset integer The starting position of the query
Source:

setToken(value, headerOrQueryName, isQuery)

Set Token
Parameters:
Name Type Description
value string token's value
headerOrQueryName string the header or query name to send the token at
isQuery boolean true if send the token as query param, otherwise, send as header param
Source: