Skip to main content

Create variables or new binary variable on an app definition

Swagger UIyaml
post/app-api/app-repository/app-variables

This endpoint can be used in 2 ways: By passing a JSON Body (RestVariable or an array of RestVariable) or by passing a multipart/form-data Object. Nonexistent app variables are created on the app definition and existing ones are overridden without any error. Any number of variables can be passed into the request body array. NB: Swagger V2 specification doesn't support this use case that's why this endpoint might be buggy/incomplete if used with other tools.

Query parameters

appDefinitionKeystring
tenantIdstring

Request body multipart/form-data

filefile
namestring
typestring

Request body application/json · AppVariableCollectionResource

Create app variable for an app definition

AppVariableCollectionResource

Responses

successful operation · EngineRestVariable[]

A list of EngineRestVariable:

requiredGrey names have no description in the spec