We will be at OWASP APPSEC EUROPE 2017 - Belfast! Let’s talk!MORE INFO

Help Center

Get to know more about our API, Code Annotations and Code Transformations

API Mutations

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.
templateId String No Template unique identifier. If provided, the application transformations will be replaced.
randomizationSeed String No Randomization seed to be used (explicitly) for this transformation.
bail Boolean No Whether or not to cancel protection if a parsisng error occurs

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

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