API Mutations

addSourceToApplication

Adds a new source to the application.

Arguments:

Name Type Required? Description
applicationId String Yes Application unique identifier.
data ApplicationSourceCreate Yes Application source raw data.

Returns: [ApplicationSource]

createApplicationProtection

Creates a new protected version of the application.

Arguments:

Name Type Required? Description
applicationId String Yes Application unique identifier.
options JSON No Application protection options. (deprecated, use data instead)
data ApplicationProtectionCreate No Application protection data

Returns: ApplicationProtection

createApplication

Creates a new application.

Arguments:

Name Type Required? Description
data ApplicationCreate Yes Application raw data.
sources [ApplicationSourceCreate] No List of raw application sources.

Returns: Application

duplicateApplication

Duplicates an application. Copies the application sources and transformations.

Arguments:

Name Type Required? Description
_id String Yes Application unique identifier.

Returns: Application

removeApplication

Removes an application.

Arguments:

Name Type Required? Description
_id String Yes Application unique identifier.

Returns: Application

updateApplication

Updates the application.

Arguments:

Name Type Required? Description
_id String Yes Application unique identifier.
data ApplicationUpdate Yes Application updated raw data.

Returns: Application

updateApplicationSource

Updates the application source.

Arguments:

Name Type Required? Description
_id String Yes Application source unique identifier.
data ApplicationSourceUpdate Yes Raw updated source data.

Returns: ApplicationSource

removeProtection

Removes a protected version of the application.

Arguments:

Name Type Required? Description
_id String Yes Protection unique identifier.
applicationId String Yes Application unique identifier.

Returns: Application

removeProtections

Removes all the protections from an application.

Arguments:

Name Type Required? Description
applicationId String Yes Application unique identifier.

Returns: Application

cancelProtection

Cancel an unfinished protection of the application.

Arguments:

Name Type Required? Description
_id String Yes Protection unique identifier.
applicationId String Yes Application unique identifier.

Returns: ApplicationProtection

removeSource

Removes an application source from the application.

Arguments:

Name Type Required? Description
filename String Yes Name of the application source.
applicationId String Yes Application unique identifier.

Returns: Application

createTemplate

Creates a new transformations template.

Arguments:

Name Type Required? Description
data TemplateInput Yes Raw template data.

Returns: Template

removeTemplate

Removes a template.

Arguments:

Name Type Required? Description
_id String Yes Template unique identifier.

Returns: Template

updateTemplate

Updates the template details.

Arguments:

Name Type Required? Description
_id ID Yes Template unique identifier.
data TemplateInput Yes Template updated raw data.

Returns: Template

unlockApplication

Unlock an application.

Arguments:

Name Type Required? Description
_id String Yes Application unique identifier.

Returns: Application

applyTemplate

Apply a template to an application.

Arguments:

Name Type Required? Description
templateId String Yes Application source unique identifier.
appId String Yes Application source unique identifier.

Returns: Application

updateVmSetting

Update a VM setting.

Arguments:

Name Type Required? Description
name String Yes VM setting name.
value String Yes VM setting value.

Returns: VmSetting