Create a new model in the workspace
Swagger UIyaml/design-api/ workspaces/ {workspaceKey}/ modelsPath parameters
workspaceKeystringrequiredThe key of the workspace
Request body application/json · ModelCreateRequest
keystringrequiredThe key of the model
typestringrequiredThe type of the model
bpmnformappdmncmmnactiondocumentuserpagesecuritydataObjecttemplateserviceliquibasechanneleventdecisionServicequeryvariableExtractorsequencedataDictionarypalettesladashboardComponentpluginpluginTaskagentknowledgeBasemasterDatanamestringThe name of the model
descriptionstringThe description of the model
paletteDefinitionCategorystringThe category of the available palette definitions for models in this app
paletteDefinitionKeystringThe key of the palette definition for this model
visibilitystringThe optional visibility of the model. If not set it will be created based on the type of the model
publicprivateinternaltagsstring[]The tags that should be set on the model when creating it
useAsModelTemplatebooleanFlag indicating that this model should be used as a model template
modelTemplateKeystringThe key of the model that should be used as a template when creating this model
contentobjectThe content of the model that should be created. This should either be a string or an object
relatedModelKeystringThe key of the model that the created model is related it. Mandatory if relatedModelType is set.
relatedModelTypestringThe model type of the model that the created model is related it. Mandatory if relatedModelKey is set.
bpmnformappdmncmmnactiondocumentuserpagesecuritydataObjecttemplateserviceliquibasechanneleventdecisionServicequeryvariableExtractorsequencedataDictionarypalettesladashboardComponentpluginpluginTaskagentknowledgeBasemasterDataResponses
Indicates the request was successful. · ModelResponse
idstringrequiredThe technical id of the model
keystringrequiredThe key of the model
workspaceIdstringrequiredThe workspace id that the model belongs to
workspaceKeystringrequiredThe workspace key that the model belongs to
modelTypestringThe type of the model
bpmnformappdmncmmnactiondocumentuserpagesecuritydataObjecttemplateserviceliquibasechanneleventdecisionServicequeryvariableExtractorsequencedataDictionarypalettesladashboardComponentpluginpluginTaskagentknowledgeBasemasterDataExample: app
modelSubTypestringThe sub type of the model
Example: text
namestringThe name of the model
descriptionstringThe description of the model
versioninteger (int32)The version of the model
paletteDefinitionCategorystringThe category of the palette definition for this model
paletteDefinitionKeystringThe key of the palette definition for this model
createdBystringThe id of the user that created the model
createdstringThe ISO 8601 creation timestamp of the model
Example: 2021-02-15T11:01:04.635Z
lastUpdatedBystringThe id of the user that last the model
lastUpdatedstringThe ISO 8601 last update timestamp of the model
Example: 2021-02-15T11:01:04.635Z
visibilitystringThe visibility of the model
publicprivateinternallockedBystringThe id of the user that has the lock on the model
lockedAtstringThe ISO 8601 timestamp of the lock time of the model
Example: 2021-02-15T11:01:04.635Z
tagsstring[]The tags of the model
templatebooleanFlag indicating whether this model is a model template
Example: true
childbooleanFlag indicating whether this model is a direct child of the app in which it was requested. If not set then it is not known
starredbooleanFlag indicating whether this model is starred by the user querying it. If not set then it is not known
modelStatestring[]The state that the model is at. If not set then it is not known
EDITABLELOCKING_ENABLEDNEEDS_MIGRATIONvalidationStatusstringThe validation status of the model
permissionsstring[]The permissions that the user requesting the model is allowed to do
requiredGrey names have no description in the spec