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]

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

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

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

createApplicationProtection

Creates a new protected version of the application.

Arguments:

Name Type Required? Description
applicationId String Yes Application unique identifier.
data ApplicationProtectionCreate No Application protection data

Returns: ApplicationProtection

createApplicationProtections

Creates one or more protected version of the application.

Arguments:

Name Type Required? Description
applicationId String Yes Application unique identifier.
data ApplicationProtectionsCreate No Application protection data

Returns: ApplicationProtections

createPlayground

Creates a new playground for the request user, if there is none.

Returns: Application

createTemplate

Creates a new transformations template.

Arguments:

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

Returns: Template

moveApplication

Moves an application to a different user.

Arguments:

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

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

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

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

removeTemplate

Removes a template.

Arguments:

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

Returns: Template

unlockApplication

Unlock 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

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