--- swagger: "2.0" info: description: "Flowable Design" version: "v1" title: "Flowable Design REST API" contact: name: "Flowable" url: "https://www.flowable.com/" host: "localhost:8888" basePath: "/design-api" tags: - name: "AI Context Rules" - name: "Apps" - name: "Current User" - name: "Custom Component Palette" - name: "Custom Component Projects" - name: "Custom Components" - name: "Custom Roles" - name: "Data Object Models" - name: "Documents" - name: "Generate" - name: "Git" - name: "Git Providers" - name: "Groups" - name: "Knowledge" - name: "License" - name: "Model Tags" - name: "Models" - name: "Packages" - name: "Palette" - name: "Plugin Management" - name: "Publish" - name: "Query Models" - name: "Service Models" - name: "Templates" - name: "Tenants" - name: "Test Executions" - name: "Test Set Resources" - name: "Test Sets" - name: "Users" - name: "Workspaces" schemes: - "http" - "https" paths: /about-info: get: summary: "Application Info" description: "" operationId: "applicationInfo" produces: - "application/json" parameters: [] responses: 200: description: "Indicates the request was successful." schema: type: "object" additionalProperties: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to view the application\ \ information." /ai-context-rules: get: tags: - "AI Context Rules" summary: "Get all AI context rules for the current tenant" description: "" operationId: "getAiContextRules" produces: - "application/json" parameters: [] responses: 200: description: "Indicates the request was successful." schema: type: "array" items: $ref: "#/definitions/AiContextRuleResponse" /ai-context-rules/{stepType}: get: tags: - "AI Context Rules" summary: "Get AI context rule for a specific step type" description: "" operationId: "getAiContextRule" produces: - "application/json" parameters: - name: "stepType" in: "path" description: "The step type" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/AiContextRuleResponse" put: tags: - "AI Context Rules" summary: "Create or update AI context rule for a step type" description: "" operationId: "updateAiContextRule" produces: - "application/json" parameters: - name: "stepType" in: "path" description: "The step type" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/AiContextRuleUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/AiContextRule" delete: tags: - "AI Context Rules" summary: "Delete AI context rule for a step type" description: "" operationId: "deleteAiContextRule" produces: - "application/json" parameters: - name: "stepType" in: "path" description: "The step type" required: true type: "string" responses: 200: description: "Indicates the request was successful." /current-user: get: tags: - "Current User" summary: "Get current user" description: "" operationId: "getCurrentUser" produces: - "application/json" parameters: [] responses: 200: description: "successful operation" schema: $ref: "#/definitions/DesignCurrentUserResponse" /current-user/access-tokens: get: tags: - "Current User" summary: "Query the available tokens for the current user" description: "" operationId: "queryAccessTokens" parameters: - name: "createdAfter" in: "query" description: "Only return tokens created after the given ISO 8601 date." required: false type: "string" format: "date-time" - name: "createdBefore" in: "query" description: "Only return tokens created before the given ISO 8601 date." required: false type: "string" format: "date-time" - name: "expiresAfter" in: "query" description: "Only return tokens expiring after the given date." required: false type: "string" format: "date-time" - name: "expiresBefore" in: "query" description: "Only return tokens expiring before the given date." required: false type: "string" format: "date-time" - name: "name" in: "query" description: "Only return tokens matching the given name." required: false type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return tokens matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "withoutExpiration" in: "query" description: "Only return tokens that do not have an expiration date." required: false type: "boolean" responses: 200: description: "successful operation" schema: $ref: "#/definitions/DataResponseAccessTokenResponse" post: tags: - "Current User" summary: "Create an access token for the current user" description: "" operationId: "createAccessToken" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/CreateAccessTokenRequest" responses: 201: description: "" /current-user/access-tokens/{tokenId}: delete: tags: - "Current User" summary: "Delete the token for the current user" description: "" operationId: "deleteAccessToken" parameters: - name: "tokenId" in: "path" required: true type: "string" responses: 204: description: "" /current-user/change-password: put: tags: - "Current User" summary: "Change current user password" description: "" operationId: "changeCurrentUserPassword" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/ChangeDesignUserPasswordRequest" responses: 204: description: "" /current-user/tutorials: get: operationId: "queryCurrentUserTutorials" produces: - "application/json" parameters: [] responses: 200: description: "successful operation" schema: $ref: "#/definitions/JsonNode" /current-user/tutorials/{tutorialKey}: get: operationId: "getCurrentUserTutorial" produces: - "application/json" parameters: - name: "tutorialKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/JsonNode" post: operationId: "startTutorial" produces: - "application/json" parameters: - name: "tutorialKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/JsonNode" 201: description: "" put: operationId: "updateTutorial" produces: - "application/json" parameters: - name: "tutorialKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/JsonNode" responses: 200: description: "successful operation" schema: $ref: "#/definitions/JsonNode" /current-user/tutorials/{tutorialKey}/rules: get: operationId: "queryCurrentUserTutorials" produces: - "application/json" parameters: - name: "tutorialKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/JsonNode" /current-user/tutorials/{tutorialKey}/rules/{ruleKey}: post: operationId: "updateCurrentUserTutorialRule" produces: - "application/json" parameters: - name: "tutorialKey" in: "path" required: true type: "string" - name: "ruleKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/JsonNode" responses: 200: description: "successful operation" schema: $ref: "#/definitions/JsonNode" /current-user/workspace: put: tags: - "Current User" summary: "Update the default workspace for the current user" description: "" operationId: "updateCurrentUserDefaultWorkspace" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/SetUserDefaultWorkspaceRequest" responses: 204: description: "" delete: tags: - "Current User" summary: "Clear the default workspace for the current user" description: "" operationId: "clearCurrentUserDefaultWorkspace" parameters: [] responses: 204: description: "" /custom-component-projects: get: tags: - "Custom Component Projects" summary: "Query Custom Component Projects" description: "" operationId: "queryCustomComponentProjects" produces: - "application/json" parameters: - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return custom component projects matching the given searching\ \ text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseCustomComponentResponse" 400: description: "Indicates the request was invalid." post: tags: - "Custom Component Projects" summary: "Create Custom Component Project" description: "" operationId: "createCustomComponentProject" produces: - "application/json" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/CustomProjectCreateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/CustomComponentResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." /custom-component-projects/{projectKey}: get: tags: - "Custom Component Projects" summary: "Get Custom Component Project" description: "" operationId: "getCustomComponentProject" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom component project" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/CustomComponentResponse" 400: description: "Indicates the request was invalid." put: tags: - "Custom Component Projects" summary: "Update Custom Component Project" description: "" operationId: "updateCustomComponentProject" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom component project" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/CustomProjectUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/CustomComponentResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to update the\ \ custom component project." delete: tags: - "Custom Component Projects" summary: "Delete Custom Component Project" description: "" operationId: "deleteCustomComponentProject" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom project" required: true type: "string" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /custom-component-projects/{projectKey}/bundle: post: tags: - "Custom Component Projects" summary: "Upload Custom Component Project Bundle" description: "" operationId: "uploadCustomComponentProjectBundle" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom project" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/CustomComponentResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." /custom-component-projects/{projectKey}/bundles/{bundleHash}/install: post: tags: - "Custom Component Projects" summary: "Install Custom Component Project Bundle" description: "" operationId: "installCustomComponentProjectBundle" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom project" required: true type: "string" - name: "bundleHash" in: "path" description: "The bundle hash" required: true type: "string" - name: "newBundleHash" in: "query" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/CustomComponentResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." /custom-component-projects/{projectKey}/bundles/{bundleHash}/{bundleFilename}: get: tags: - "Custom Component Projects" summary: "Get Custom Component Project bundle file" description: "" operationId: "getCustomComponentProjectBundleFile" parameters: - name: "projectKey" in: "path" description: "The key of the custom component project" required: true type: "string" - name: "bundleHash" in: "path" description: "The bundle hash" required: true type: "string" - name: "bundleFilename" in: "path" description: "The filename in the bundle of the custom project" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: type: "string" format: "byte" 400: description: "Indicates the request was invalid." /custom-component-projects/{projectKey}/custom-components: get: tags: - "Custom Components" summary: "Query Custom Components" description: "" operationId: "queryCustomComponents" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom project" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return custom components matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseCustomComponentResponse" 400: description: "Indicates the request was invalid." post: tags: - "Custom Components" summary: "Create Custom Component" description: "" operationId: "createCustomComponent" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom project" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/CustomComponentCreateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/CustomComponentResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." /custom-component-projects/{projectKey}/custom-components/{componentKey}: get: tags: - "Custom Components" summary: "Get Custom Component" description: "" operationId: "getCustomComponent" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom component project" required: true type: "string" - name: "componentKey" in: "path" description: "The key of the custom component" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/CustomComponentResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to get the tenant." put: tags: - "Custom Components" summary: "Update Custom Component" description: "" operationId: "updateCustomComponent" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom component project" required: true type: "string" - name: "componentKey" in: "path" description: "The key of the custom component" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/CustomComponentUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/CustomComponentResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to get the tenant." delete: tags: - "Custom Components" summary: "Delete Custom Component" description: "" operationId: "deleteCustomComponent" produces: - "application/json" parameters: - name: "projectKey" in: "path" description: "The key of the custom component project" required: true type: "string" - name: "componentKey" in: "path" description: "The key of the custom component" required: true type: "string" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /custom-role-permissions: get: tags: - "Custom Roles" summary: "Get the catalog of permission strings assignable to custom roles" description: "" operationId: "listAssignablePermissions" produces: - "application/json" parameters: [] responses: 200: description: "successful operation" schema: $ref: "#/definitions/CustomRolePermissionsResponse" /custom-roles: get: tags: - "Custom Roles" summary: "List custom roles" description: "" operationId: "listCustomRoles" produces: - "application/json" parameters: - name: "includePermissions" in: "query" description: "Whether to include the permissions of each custom role in the\ \ response. Defaults to false; enable it when the permissions are actually\ \ needed (e.g. the role overview), not for plain dropdowns." required: false type: "boolean" - name: "key" in: "query" description: "Only return the custom role with the given key." required: false type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return custom roles whose key, name or description matches\ \ the given search text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tenantId" in: "query" description: "Only return custom roles for the given tenant. Only super-admins\ \ may query a tenant other than their own." required: false type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/DataResponseCustomRoleResponse" post: tags: - "Custom Roles" summary: "Create a custom role" description: "" operationId: "createCustomRole" produces: - "application/json" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/CustomRoleCreateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/CustomRoleResponse" 201: description: "" /custom-roles/{key}: get: tags: - "Custom Roles" summary: "Get a custom role" description: "" operationId: "getCustomRole" produces: - "application/json" parameters: - name: "key" in: "path" description: "The key of the custom role" required: true type: "string" - name: "tenantId" in: "query" required: false type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/CustomRoleResponse" put: tags: - "Custom Roles" summary: "Update a custom role" description: "" operationId: "updateCustomRole" produces: - "application/json" parameters: - name: "key" in: "path" description: "The key of the custom role" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/CustomRoleUpdateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/CustomRoleResponse" delete: tags: - "Custom Roles" summary: "Delete a custom role" description: "" operationId: "deleteCustomRole" parameters: - name: "key" in: "path" description: "The key of the custom role" required: true type: "string" - name: "tenantId" in: "query" required: false type: "string" - name: "force" in: "query" description: "Whether to delete the custom role even if it is still assigned\ \ to users or groups. The assignments are deleted as well." required: false type: "boolean" responses: 204: description: "Indicates the custom role was deleted." 409: description: "Indicates the custom role is still assigned to users or groups\ \ and force was not set." /custom-roles/{key}/identity-links: get: tags: - "Custom Roles" summary: "List the identity links (assignments) of a custom role" description: "Returns the users and groups the custom role is assigned to and\ \ the workspaces or apps it is assigned on. A non-admin caller only gets assignments\ \ on workspaces/apps they can access; admins see all assignments in the tenant." operationId: "listCustomRoleIdentityLinks" produces: - "application/json" parameters: - name: "key" in: "path" description: "The key of the custom role" required: true type: "string" - name: "tenantId" in: "query" required: false type: "string" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/CustomRoleIdentityLinkResponse" /custom-roles/{key}/tenant-identity-links: put: tags: - "Custom Roles" summary: "Update the tenant-wide assignments of a global custom role" description: "Adds or removes the users/groups a global role is granted to at\ \ tenant level. Requires custom-role management access." operationId: "updateGlobalAssignments" produces: - "application/json" parameters: - name: "key" in: "path" description: "The key of the global custom role" required: true type: "string" - name: "tenantId" in: "query" required: false type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/CustomRoleAssignmentUpdateRequest" responses: 204: description: "Indicates the assignments were updated." 400: description: "Indicates the request was invalid or the role is not a global\ \ role." 403: description: "Indicates the caller may not manage assignments." 404: description: "Indicates the custom role does not exist." 409: description: "Indicates a user/group is already assigned the role." /form-preview-proxy/**: get: operationId: "proxy" parameters: - in: "body" name: "body" required: false schema: type: "string" responses: 200: description: "successful operation" schema: type: "string" post: operationId: "proxy" parameters: - in: "body" name: "body" required: false schema: type: "string" responses: 200: description: "successful operation" schema: type: "string" put: operationId: "proxy" parameters: - in: "body" name: "body" required: false schema: type: "string" responses: 200: description: "successful operation" schema: type: "string" /git/provider-types: get: tags: - "Git Providers" summary: "List available git provider types" description: "" operationId: "listProviderTypes" produces: - "application/json" parameters: [] responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitProviderTypeResponse" /git/providers: get: tags: - "Git Providers" summary: "List all git providers" description: "" operationId: "listProviders" produces: - "application/json" parameters: [] responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitProviderConfigResponse" post: tags: - "Git Providers" summary: "Create a git provider" description: "" operationId: "createProvider" produces: - "application/json" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitProviderCreateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitProviderConfigResponse" 201: description: "" /git/providers/{providerId}: get: tags: - "Git Providers" summary: "Get a git provider" description: "" operationId: "getProvider" produces: - "application/json" parameters: - name: "providerId" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitProviderConfigResponse" put: tags: - "Git Providers" summary: "Update a git provider" description: "" operationId: "updateProvider" produces: - "application/json" parameters: - name: "providerId" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitProviderCreateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitProviderConfigResponse" delete: tags: - "Git Providers" summary: "Delete a git provider" description: "" operationId: "deleteProvider" parameters: - name: "providerId" in: "path" required: true type: "string" responses: 204: description: "" /git/providers/{providerId}/directories: get: tags: - "Git Providers" summary: "List directories in a repository" description: "" operationId: "listDirectories" produces: - "application/json" parameters: - name: "providerId" in: "path" required: true type: "string" - name: "repositoryFullName" in: "query" required: true type: "string" - name: "path" in: "query" required: false type: "string" - name: "branch" in: "query" required: false type: "string" responses: 200: description: "successful operation" schema: type: "array" items: type: "string" /git/providers/{providerId}/repositories: get: tags: - "Git Providers" summary: "List repositories from a git provider" description: "" operationId: "listRepositories" produces: - "application/json" parameters: - name: "providerId" in: "path" required: true type: "string" - name: "search" in: "query" required: false type: "string" - name: "page" in: "query" required: true type: "integer" format: "int32" - name: "perPage" in: "query" required: true type: "integer" format: "int32" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitRemoteRepositoryResponse" /git/providers/{providerId}/test-connection: post: tags: - "Git Providers" summary: "Test git provider connection" description: "" operationId: "testConnection" produces: - "application/json" parameters: - name: "providerId" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitProviderTestResponse" /groups: get: tags: - "Groups" summary: "Query Groups" description: "" operationId: "queryGroups" produces: - "application/json" parameters: - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return groups matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tenantId" in: "query" description: "Only return groups from the given tenant. Only super admin users\ \ are allowed to set this value" required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseGroupResponse" /groups/key/{groupKey}: get: tags: - "Groups" summary: "Fetich a group by key" description: "" operationId: "getGroupByKey" produces: - "application/json" parameters: - name: "groupKey" in: "path" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/GroupResponse" /license: get: tags: - "License" summary: "Get license" description: "The user has to have super admin rights." operationId: "getLicense" parameters: [] responses: 200: description: "Indicates license information has been shared." schema: $ref: "#/definitions/LicenseResponse" 403: description: "Indicates the user has no super admin rights." post: tags: - "License" summary: "Upload license" description: "The user has to have super admin rights." operationId: "uploadLicense" parameters: - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the license" required: true type: "file" responses: 200: description: "Indicates license has been uploaded." schema: $ref: "#/definitions/LicenseResponse" 403: description: "Indicates the user has no super admin rights." /model-tags: get: tags: - "Model Tags" summary: "Query model tags" description: "" operationId: "queryModelTags" produces: - "application/json" parameters: - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the searchText." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelTagResponse" 400: description: "Indicates the request was invalid." post: tags: - "Model Tags" summary: "Create Model Tag" description: "" operationId: "createModelTag" produces: - "application/json" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelTagCreateRequest" responses: 201: description: "Indicates the tag was created." schema: $ref: "#/definitions/ModelTagResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have rights to create a tag." /model-tags/{modelTagId}: put: tags: - "Model Tags" summary: "Update Model Tag" description: "" operationId: "updateModelTag" produces: - "application/json" parameters: - name: "modelTagId" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelTagUpdateRequest" responses: 200: description: "Indicates the tag was updated." 204: description: "successful operation" schema: $ref: "#/definitions/ModelTagResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have rights to update the tag." delete: tags: - "Model Tags" summary: "Delete Model Tag" description: "" operationId: "deleteModelTag" parameters: - name: "modelTagId" in: "path" required: true type: "string" responses: 204: description: "Indicates the tag was deleted." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have rights to delete a tag." /plugin-management/plugins: get: tags: - "Plugin Management" summary: "Query Plugins" description: "" operationId: "queryPlugins" produces: - "application/json" parameters: - name: "latest" in: "query" description: "Only return latest versions of the plugins." required: false type: "boolean" - name: "onlyGlobalPlugins" in: "query" description: "Only return global plugins." required: false type: "boolean" - name: "onlyTenantPlugins" in: "query" description: "Only return plugins installed in a tenant." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return plugins matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "visibleToTenantId" in: "query" description: "Only return plugins for the given tenant. Only super admin users\ \ are allowed to query across tenants." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponsePluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query plugins." post: tags: - "Plugin Management" summary: "Install Plugin" description: "" operationId: "installPlugin" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "file" in: "formData" description: "The file that contains the contents for the plugin installation" required: true type: "file" - name: "tenantId" in: "formData" description: "The id of the tenant in which the plugin should be installed.\ \ Only available for super admin users" required: false type: "string" - name: "global" in: "formData" description: "Flag indicating whether the plugin should be installed as a\ \ global plugin. Only available for super admin users" required: false type: "boolean" responses: 201: description: "Indicates the plugin was created." schema: $ref: "#/definitions/PluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to create plugins." /plugin-management/plugins/{pluginId}: get: tags: - "Plugin Management" summary: "Get Plugin" description: "" operationId: "getPlugin" produces: - "application/json" parameters: - name: "pluginId" in: "path" description: "The id of the plugin" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/PluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to access the\ \ plugin." 404: description: "Indicates the requested plugin does not exist." delete: tags: - "Plugin Management" summary: "Delete Plugin" description: "" operationId: "deletePlugin" produces: - "application/json" parameters: - name: "pluginId" in: "path" description: "The id of the plugin" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to delete the\ \ plugin." 404: description: "Indicates the requested plugin does not exist." /plugin-management/plugins/{pluginId}/download: get: tags: - "Plugin Management" summary: "Download Plugin" description: "" operationId: "downloadPlugin" produces: - "application/zip" parameters: - name: "pluginId" in: "path" description: "The id of the plugin" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: type: "string" format: "byte" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to access the\ \ plugin." 404: description: "Indicates the requested plugin does not exist." /plugin-management/plugins/{pluginId}/model-usages: get: tags: - "Plugin Management" summary: "List models using the plugin" description: "" operationId: "listModelsUsingThePlugin" produces: - "application/json" parameters: - name: "pluginId" in: "path" description: "The id of the plugin" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tenantId" in: "query" description: "Only return models from the given tenant. Only super admin users\ \ are allowed to use this." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponsePluginModelUsageInfo" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to access the\ \ plugin." 404: description: "Indicates the requested plugin does not exist." /plugin-management/plugins/{pluginId}/resources: get: tags: - "Plugin Management" summary: "List Plugin Resource" description: "" operationId: "listPluginResources" produces: - "application/json" parameters: - name: "pluginId" in: "path" description: "The id of the plugin" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return plugins matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponsePluginResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to access the\ \ plugin." 404: description: "Indicates the requested plugin does not exist." /plugin-management/plugins/{pluginId}/resources/{resourceName}: get: tags: - "Plugin Management" summary: "Get Plugin Resource" description: "" operationId: "getPluginResource" produces: - "application/json" parameters: - name: "pluginId" in: "path" description: "The id of the plugin" required: true type: "string" - name: "resourceName" in: "path" description: "The name of the resource" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/PluginResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to access the\ \ plugin." 404: description: "Indicates the requested plugin does not exist or it does not\ \ contain the resource." /plugin-management/plugins/{pluginId}/resources/{resourceName}/download: get: tags: - "Plugin Management" summary: "Download Plugin Resource" description: "" operationId: "downloadPluginResource" produces: - "application/json" parameters: - name: "pluginId" in: "path" description: "The id of the plugin" required: true type: "string" - name: "resourceName" in: "path" description: "The name of the resource" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: type: "string" format: "byte" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to access the\ \ plugin." 404: description: "Indicates the requested plugin does not exist or it does not\ \ contain the resource." /plugin-management/plugins/{pluginId}/versions: get: tags: - "Plugin Management" summary: "List Plugin Versions" description: "" operationId: "listPluginVersions" produces: - "application/json" parameters: - name: "pluginId" in: "path" description: "The id of the plugin" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return plugins matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponsePluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to access the\ \ plugin." 404: description: "Indicates the requested plugin does not exist." /publish-requests: get: tags: - "Publish" summary: "Query All Publish Requests" description: "Query publish requests across all workspaces and apps. Results\ \ are filtered by the current user's access rights." operationId: "queryAllPublishRequests" produces: - "application/json" parameters: - name: "deploymentTarget" in: "query" description: "Only return publish requests for the given deployment target." required: false type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "resolution" in: "query" description: "Only return publish requests with the given resolution." required: false type: "string" - name: "resolutionIn" in: "query" description: "Only return publish requests with any of the given resolutions." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "resolutionNotIn" in: "query" description: "Only return publish requests that are not of the given resolutions." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "revisionId" in: "query" description: "Only return publish requests for the given revision id." required: false type: "string" - name: "revisionKey" in: "query" description: "Only return publish requests for the given revision key." required: false type: "string" - name: "searchText" in: "query" description: "Only return publish requests matching the given search text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseAppPublishRequestResponse" 400: description: "Indicates the request was invalid." /tenants: get: tags: - "Tenants" summary: "Query Tenants" description: "" operationId: "queryTenants" produces: - "application/json" parameters: - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseTenantResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query tenants." post: tags: - "Tenants" summary: "Create Tenants" description: "" operationId: "createTenant" produces: - "application/json" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/TenantCreateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TenantResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to create tenants." /tenants/{tenantId}: get: tags: - "Tenants" summary: "Get Tenant" description: "" operationId: "getTenant" produces: - "application/json" parameters: - name: "tenantId" in: "path" description: "The id of the tenant" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/TenantResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to get the tenant." put: tags: - "Tenants" summary: "Update Tenant" description: "" operationId: "updateTenant" produces: - "application/json" parameters: - name: "tenantId" in: "path" description: "The id of the tenant" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/TenantUpdateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TenantResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to update tenants." delete: tags: - "Tenants" summary: "Delete tenant" description: "" operationId: "deleteTenant" parameters: - name: "tenantId" in: "path" description: "The id of the tenant" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to delete the\ \ tenant." 404: description: "Indicates the tenant does not exist." /users: get: tags: - "Users" summary: "Query Users" description: "" operationId: "queryUsers" produces: - "application/json" parameters: - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return users matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tenantId" in: "query" description: "Only return users from the given tenant. Only super admin users\ \ are allowed to set this value" required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseUserResponse" post: tags: - "Users" summary: "Create User" description: "" operationId: "createUser" produces: - "application/json" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/CreateUserRequest" responses: 201: description: "Indicates the user was created." schema: $ref: "#/definitions/UserResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to create a user." /users/{userId}: get: tags: - "Users" summary: "Get a user" description: "" operationId: "getUser" produces: - "application/json" parameters: - name: "userId" in: "path" required: true type: "string" responses: 200: description: "Indicates the user exists and is returned." schema: $ref: "#/definitions/UserResponse" 403: description: "Indicates that the user does not have right to get detailed\ \ user information." 404: description: "Indicates the requested user does not exist." put: tags: - "Users" summary: "Update a user" description: "" operationId: "updateUser" produces: - "application/json" parameters: - name: "userId" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/UpdateUserRequest" responses: 200: description: "Indicates the user exists and is returned." schema: $ref: "#/definitions/UserResponse" 404: description: "Indicates the requested user does not exist." delete: tags: - "Users" summary: "Delete a user" description: "" operationId: "deleteUser" produces: - "application/json" parameters: - name: "userId" in: "path" required: true type: "string" responses: 204: description: "Indicates the user was deleted." 403: description: "Indicates that the user does not have right to delete users." 404: description: "Indicates the requested user does not exist." /users/{userId}/access-tokens: get: tags: - "Users" summary: "Query user access tokens" description: "" operationId: "queryUserAccessTokens" produces: - "application/json" parameters: - name: "userId" in: "path" required: true type: "string" - name: "createdAfter" in: "query" description: "Only return tokens created after the given ISO 8601 date." required: false type: "string" format: "date-time" - name: "createdBefore" in: "query" description: "Only return tokens created before the given ISO 8601 date." required: false type: "string" format: "date-time" - name: "expiresAfter" in: "query" description: "Only return tokens expiring after the given date." required: false type: "string" format: "date-time" - name: "expiresBefore" in: "query" description: "Only return tokens expiring before the given date." required: false type: "string" format: "date-time" - name: "name" in: "query" description: "Only return tokens matching the given name." required: false type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return tokens matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "withoutExpiration" in: "query" description: "Only return tokens that do not have an expiration date." required: false type: "boolean" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseAccessTokenResponse" 403: description: "Indicates that the user does not have right to get the user\ \ access tokens." 404: description: "Indicates the requested user does not exist." /users/{userId}/access-tokens/{tokenId}: delete: tags: - "Users" summary: "Delete the token for the user" description: "" operationId: "deleteUserAccessToken" parameters: - name: "userId" in: "path" required: true type: "string" - name: "tokenId" in: "path" required: true type: "string" responses: 204: description: "Indicates the user token was deleted." 403: description: "Indicates that the user does not have right to get the user\ \ access tokens." 404: description: "Indicates the requested user does not exist." /users/{userId}/name: get: tags: - "Users" summary: "Get a single user name information" description: "" operationId: "getUserName" produces: - "application/json" parameters: - name: "userId" in: "path" required: true type: "string" responses: 200: description: "Indicates the user exists and is returned." schema: $ref: "#/definitions/UserBaseInformationResponse" 404: description: "Indicates the requested user does not exist." /workspaces: get: tags: - "Workspaces" summary: "Query Workspaces" description: "" operationId: "queryWorkspaces" produces: - "application/json" parameters: - name: "allowedPackageType" in: "query" description: "Only return workspaces with the given allowed package type." required: false type: "string" enum: - "app" - "plugin" - name: "keyNotIn" in: "query" description: "Only return workspaces which do not have the given keys." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return workspaces matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tenantId" in: "query" description: "Only return workspaces matching the given tenant id (for super\ \ admins)." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseWorkspaceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query workspaces." post: tags: - "Workspaces" summary: "Create Workspaces" description: "" operationId: "createWorkspace" produces: - "application/json" parameters: - in: "body" name: "body" required: false schema: $ref: "#/definitions/WorkspaceCreateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/WorkspaceResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query workspaces." /workspaces/{workspaceKey}: get: tags: - "Workspaces" summary: "Get Workspace information" description: "" operationId: "getWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/WorkspaceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the requested\ \ workspace." put: tags: - "Workspaces" summary: "Update Workspace" description: "" operationId: "updateWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/WorkspaceUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/WorkspaceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query workspaces." 404: description: "Indicates the workspace does not exist." delete: tags: - "Workspaces" summary: "Remove workspace" description: "" operationId: "removeWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to set the workspace." 404: description: "Indicates the workspace does not exist." /workspaces/{workspaceKey}/ai-context-rules: get: tags: - "AI Context Rules" summary: "Get all AI context rules for a workspace" description: "" operationId: "getWorkspaceAiContextRules" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The workspace key" required: true type: "string" - name: "includeGlobal" in: "query" description: "Also return the tenant-global rules, yielding the rules effective\ \ for the workspace" required: false type: "boolean" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: $ref: "#/definitions/AiContextRuleResponse" /workspaces/{workspaceKey}/ai-context-rules/{stepType}: get: tags: - "AI Context Rules" summary: "Get AI context rule for a specific step type in a workspace" description: "" operationId: "getWorkspaceAiContextRule" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The workspace key" required: true type: "string" - name: "stepType" in: "path" description: "The step type" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/AiContextRuleResponse" put: tags: - "AI Context Rules" summary: "Create or update AI context rule for a step type in a workspace" description: "" operationId: "updateWorkspaceAiContextRule" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The workspace key" required: true type: "string" - name: "stepType" in: "path" description: "The step type" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/WorkspaceAiContextRuleUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/AiContextRule" delete: tags: - "AI Context Rules" summary: "Delete AI context rule for a step type in a workspace" description: "" operationId: "deleteWorkspaceAiContextRule" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The workspace key" required: true type: "string" - name: "stepType" in: "path" description: "The step type" required: true type: "string" responses: 200: description: "Indicates the request was successful." /workspaces/{workspaceKey}/allowed-package-type: put: tags: - "Workspaces" summary: "Update Workspace Allowed Package Type" description: "" operationId: "updateWorkspaceAllowedPackageType" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/WorkspaceUpdateAllowedPackageTypeRequest" responses: 204: description: "Indicates the visibility was updated." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to update the\ \ allowed package type." 404: description: "Indicates the workspace does not exist." /workspaces/{workspaceKey}/apps/{appKey}/publish: post: tags: - "Apps" summary: "Publish App" description: "" operationId: "publishApp" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/AppPublishRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the app or\ \ doesn't have rights to publish it." /workspaces/{workspaceKey}/apps/{appKey}/publish-configurations: get: tags: - "Apps" summary: "Publish App Configuration" description: "" operationId: "publishAppConfiguration" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - name: "publishRequestRequired" in: "query" description: "Filter by whether a publish request is required" required: false type: "boolean" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseAppPublishConfiguration" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the app or\ \ doesn't have rights to publish it." /workspaces/{workspaceKey}/apps/{appKey}/publish-requests: get: tags: - "Apps" - "Publish" summary: "Query App Publish Requests" description: "" operationId: "queryAppPublishRequests" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - name: "deploymentTarget" in: "query" description: "Only return publish requests for the given deployment target." required: false type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "resolution" in: "query" description: "Only return publish requests with the given resolution." required: false type: "string" - name: "resolutionIn" in: "query" description: "Only return publish requests with any of the given resolutions." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "resolutionNotIn" in: "query" description: "Only return publish requests that are not of the given resolutions." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "revisionId" in: "query" description: "Only return publish requests for the given revision id." required: false type: "string" - name: "revisionKey" in: "query" description: "Only return publish requests for the given revision key." required: false type: "string" - name: "searchText" in: "query" description: "Only return publish requests matching the given search text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseAppPublishRequestResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the app." post: tags: - "Apps" summary: "Create App Publish Request" description: "" operationId: "createAppPublishRequest" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/CreateAppPublishRequestRequest" responses: 201: description: "Indicates the request was successful." schema: $ref: "#/definitions/AppPublishRequestResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the app or\ \ doesn't have rights to publish it." /workspaces/{workspaceKey}/apps/{appKey}/publish-requests/{publishRequestId}: get: tags: - "Apps" summary: "Get App Publish Request" description: "" operationId: "getAppPublishRequest" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - name: "publishRequestId" in: "path" description: "The ID of the publish request" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/AppPublishRequestResponse" 400: description: "Indicates the request was invalid." 404: description: "Indicates the publish request does not exist or the user does\ \ not have access." /workspaces/{workspaceKey}/apps/{appKey}/publish-requests/{publishRequestId}/comments: get: tags: - "Apps" - "Publish" summary: "Query App Publish Request Comments" description: "" operationId: "queryAppPublishRequestComments" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - name: "publishRequestId" in: "path" description: "The ID of the publish request" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return comments matching the given search text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseAppPublishRequestCommentResponse" 400: description: "Indicates the request was invalid." 404: description: "Indicates the publish request does not exist or the user does\ \ not have access." post: tags: - "Apps" - "Publish" summary: "Create App Publish Request Comment" description: "Create a comment on an app publish request." operationId: "createAppPublishRequestComment" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - name: "publishRequestId" in: "path" description: "The ID of the publish request" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/CreateAppPublishRequestCommentRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/AppPublishRequestCommentResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to comment." /workspaces/{workspaceKey}/apps/{appKey}/publish-requests/{publishRequestId}/resolve: post: tags: - "Apps" summary: "Resolve App Publish Request" description: "" operationId: "resolveAppPublishRequest" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - name: "publishRequestId" in: "path" description: "The ID of the publish request" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/AppPublishRequestResolutionRequest" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 404: description: "Indicates the publish request does not exist or the user does\ \ not have access." /workspaces/{workspaceKey}/apps/{appKey}/revisions/{revisionKey}/publish: post: tags: - "Apps" summary: "Publish Package Revision" description: "" operationId: "publishPackageRevision" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/AppPublishRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the app or\ \ doesn't have rights to publish it." /workspaces/{workspaceKey}/apps/{appKey}/revisions/{revisionKey}/publish-request: post: tags: - "Apps" summary: "Create Publish Request for Revision" description: "" operationId: "createPublishRequestForRevision" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "appKey" in: "path" description: "The key of the app" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/CreateAppPublishRequestRequest" responses: 201: description: "Indicates the request was successful." schema: $ref: "#/definitions/AppPublishRequestResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the app or\ \ doesn't have rights to create a publish request." /workspaces/{workspaceKey}/available-plugins: get: tags: - "Workspaces" summary: "Query plugins that are available to be linked to the workspace" description: "" operationId: "queryAvailablePluginsForLinkingToWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return plugins matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponsePluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the requested\ \ workspace or to query for available plugins." 404: description: "Indicates the requested workspace was not found." /workspaces/{workspaceKey}/available-shared-workspaces: get: tags: - "Workspaces" summary: "Query workspaces that can be set as shared for the workspace" description: "" operationId: "queryAvailableSharedWorkspacesForWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "allowedPackageType" in: "query" description: "Only return workspaces with the given allowed package type." required: false type: "string" enum: - "app" - "plugin" - name: "keyNotIn" in: "query" description: "Only return workspaces which do not have the given keys." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return workspaces matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tenantId" in: "query" description: "Only return workspaces matching the given tenant id (for super\ \ admins)." required: false type: "string" responses: 200: description: "Indicates the workspace shared workspace was removed." schema: $ref: "#/definitions/DataResponseWorkspaceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to set the shared\ \ workspace." 404: description: "Indicates the workspace does not exist." /workspaces/{workspaceKey}/git/providers: get: tags: - "Git Providers" summary: "Get effective providers for a workspace" description: "" operationId: "getEffectiveProviders" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitProviderConfigResponse" /workspaces/{workspaceKey}/identity-links: get: tags: - "Workspaces" summary: "Get identity links for a workspace" description: "" operationId: "listWorkspaceIdentityLinks" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" responses: 200: description: "Indicates the workspace was found and links are returned." schema: type: "array" items: $ref: "#/definitions/RestIdentityLinkResponse" 403: description: "Indicates the user does not have access to the requested workspace\ \ or cannot access its identity links." 404: description: "Indicates the requested workspace was not found." post: tags: - "Workspaces" summary: "Create an identity link for a workspace" description: "" operationId: "createWorkspaceIdentityLink" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/RestIdentityLinkResponse" responses: 201: description: "Indicates the workspace was found and the link was created." schema: $ref: "#/definitions/RestIdentityLinkResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have access to the requested workspace\ \ or cannot create an identity link." 404: description: "Indicates the requested workspace was not found." put: tags: - "Workspaces" summary: "Update identity links for a workspace" description: "" operationId: "updateWorkspaceIdentityLinks" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/WorkspaceUpdatePermissionsRequest" responses: 204: description: "Indicates the workspace was found and the links were updated." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have access to the requested workspace\ \ or cannot update its identity links." 404: description: "Indicates the requested workspace was not found." /workspaces/{workspaceKey}/identity-links/{family}/{identityId}/{type}: get: tags: - "Workspaces" summary: "Get an identity link for a workspace" description: "" operationId: "getWorkspaceIdentityLink" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "family" in: "path" description: "The family of the identity link (users or groups)" required: true type: "string" enum: - "users" - "groups" - name: "identityId" in: "path" description: "The id of the identity e.g. user or group id" required: true type: "string" - name: "type" in: "path" description: "The type of the identity link" required: true type: "string" responses: 200: description: "Indicates the workspace was found." schema: $ref: "#/definitions/RestIdentityLinkResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have access to the requested workspace\ \ or cannot view the identity link." 404: description: "Indicates the requested workspace or identity link was not\ \ found." delete: tags: - "Workspaces" summary: "Delete an identity link for a workspace" description: "" operationId: "deleteWorkspaceIdentityLink" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "family" in: "path" description: "The family of the identity link (users or groups)" required: true type: "string" enum: - "users" - "groups" - name: "identityId" in: "path" description: "The id of the identity e.g. user or group id" required: true type: "string" - name: "type" in: "path" description: "The type of the identity link" required: true type: "string" responses: 204: description: "Indicates the identity link was deleted." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have access to the requested workspace\ \ or cannot delete the identity link." 404: description: "Indicates the requested workspace or identity link was not\ \ found." /workspaces/{workspaceKey}/import-{modelType}: post: tags: - "Models" summary: "Import a model in the workspace" description: "" operationId: "importModel" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model being imported" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ImportModelRequest" - name: "file" in: "formData" description: "The file that contains the contents for the import" required: true type: "file" - name: "importStrategy" in: "formData" description: "The strategy for the import. If nothing is set then import is\ \ stopped when a clash happens" required: false type: "string" enum: - "overwriteOnClash" - "renewKeyOnClash" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelImportResultResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to import the\ \ model." 409: description: "Indicates that a model with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/import-{packageType}: post: tags: - "Packages" summary: "Import a package in the workspace" description: "" operationId: "importPackage" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" pattern: "app|plugin" enum: - "app" - "plugin" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ImportModelRequest" - name: "file" in: "formData" description: "The file that contains the contents for the import" required: true type: "file" - name: "importStrategy" in: "formData" description: "The strategy for the import. If nothing is set then import is\ \ stopped when a clash happens" required: false type: "string" enum: - "overwriteOnClash" - "renewKeyOnClash" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelImportResultResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to import the\ \ app." 409: description: "Indicates that a package with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/linked-plugins: get: tags: - "Workspaces" summary: "Get Workspace Plugins" description: "" operationId: "queryWorkspacePlugins" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return plugins matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseLinkedPluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the requested\ \ workspace." 404: description: "Indicates the requested workspace was not found." post: tags: - "Workspaces" summary: "Link Workspace with Plugin" description: "" operationId: "linkWorkspaceWithPlugin" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/WorkspaceLinkPluginRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the requested\ \ workspace." 404: description: "Indicates the requested workspace was not found." /workspaces/{workspaceKey}/linked-plugins/{pluginKey}: get: tags: - "Workspaces" summary: "Get Workspace Plugin information" description: "" operationId: "getWorkspacePlugin" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "pluginKey" in: "path" description: "The key of the plugin linked to the workspace" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/LinkedPluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the requested\ \ workspace." 404: description: "Indicates the requested workspace was not found or that the\ \ plugin is not linked to the workspace." delete: tags: - "Workspaces" summary: "Unlink Workspace from Plugin" description: "" operationId: "unlinkWorkspaceFromPlugin" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "pluginKey" in: "path" description: "The key of the plugin linked to the workspace" required: true type: "string" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the requested\ \ workspace." 404: description: "Indicates the requested workspace was not found or that the\ \ plugin is not linked to the workspace." /workspaces/{workspaceKey}/linked-plugins/{pluginKey}/download: get: tags: - "Workspaces" summary: "Download Workspace Plugin" description: "" operationId: "downloadWorkspacePlugin" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "pluginKey" in: "path" description: "The key of the plugin linked to the workspace" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: type: "string" format: "byte" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the requested\ \ workspace." 404: description: "Indicates the requested workspace was not found or that the\ \ plugin is not linked to the workspace." /workspaces/{workspaceKey}/linked-plugins/{pluginKey}/model-usages: get: tags: - "Workspaces" summary: "Query Workspace Plugin Model Usages" description: "" operationId: "queryWorkspacePluginModelUsages" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "pluginKey" in: "path" description: "The key of the plugin linked to the workspace" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponsePluginModelUsageInfo" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the requested\ \ workspace." 404: description: "Indicates the requested workspace was not found or that the\ \ plugin is not linked to the workspace." /workspaces/{workspaceKey}/model-templates: get: tags: - "Models" summary: "Query Model Templates" description: "" operationId: "queryModelTemplates" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "allTags" in: "query" description: "Only return models that have match the names of all the given\ \ tags." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "lastUpdatedByMe" in: "query" description: "Only return models that have been last updated by the user doing\ \ the request." required: false type: "boolean" - name: "modelSubType" in: "query" description: "Only return models matching the given model sub type." required: false type: "string" - name: "modelSubTypes" in: "query" description: "Only return models matching the given model sub types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelType" in: "query" description: "Only return models with the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelTypeNotIn" in: "query" description: "Only return models that are not of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelTypes" in: "query" description: "Only return models with any of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "onlyInvalid" in: "query" description: "Only return models that are invalid." required: false type: "boolean" - name: "onlyLockedByCurrentUser" in: "query" description: "Only return models that have been locked by the current user" required: false type: "boolean" - name: "onlyStarredModels" in: "query" description: "Only return models that have been starred by the current user." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tagNotIn" in: "query" description: "Only return models that not have the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query model\ \ templates." /workspaces/{workspaceKey}/models: get: tags: - "Models" summary: "Query Models" description: "" operationId: "queryModels" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "allTags" in: "query" description: "Only return models that have match the names of all the given\ \ tags." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "excludeSharedWorkspaceModels" in: "query" description: "Exclude shared workspace models." required: false type: "boolean" - name: "excludeSystemWorkspaceModels" in: "query" description: "Exclude system workspace models." required: false type: "boolean" - name: "lastUpdatedByMe" in: "query" description: "Only return models that have been last updated by the user doing\ \ the request." required: false type: "boolean" - name: "modelSubType" in: "query" description: "Only return models matching the given model sub type." required: false type: "string" - name: "modelSubTypes" in: "query" description: "Only return models matching the given model sub types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelType" in: "query" description: "Only return models with the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelTypeNotIn" in: "query" description: "Only return models that are not of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelTypes" in: "query" description: "Only return models with any of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "onlyInvalid" in: "query" description: "Only return models that are invalid." required: false type: "boolean" - name: "onlyLockedByCurrentUser" in: "query" description: "Only return models that have been locked by the current user" required: false type: "boolean" - name: "onlyStarredModels" in: "query" description: "Only return models that have been starred by the current user." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tagNotIn" in: "query" description: "Only return models that not have the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query models." post: tags: - "Models" summary: "Create a new model in the workspace" description: "" operationId: "createModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelCreateRequest" responses: 201: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to create the\ \ model." 409: description: "Indicates that a model with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/models/knowledge/{modelKey}/knowledge: post: tags: - "Knowledge" summary: "Upload Knowledge resource for model in workspace" description: "" operationId: "uploadKnowledgeResourceInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 201: description: "Indicates the resource was created." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." /workspaces/{workspaceKey}/models/knowledge/{modelKey}/knowledge/{resourceId}: get: tags: - "Templates" summary: "Get Knowledge resource for model in workspace" description: "" operationId: "getKnowledgeResourceInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." put: tags: - "Knowledge" summary: "Update Knowledge resource for model in workspace" description: "" operationId: "updateKnowledgeResourceInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 200: description: "Indicates the resource was updated." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." delete: tags: - "Knowledge" summary: "Delete Knowledge resource for model in workspace" description: "" operationId: "deleteKnowledgeResourceInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." /workspaces/{workspaceKey}/models/knowledge/{modelKey}/knowledge/{resourceId}/content: get: tags: - "Knowledge" summary: "Get Knowledge resource content for model in workspace" description: "" operationId: "getKnowledgeResourceContentInWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/Resource" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /workspaces/{workspaceKey}/models/query/{modelKey}/template-preview: post: tags: - "Query Models" summary: "Process query template for model in workspace" description: "" operationId: "processQueryTemplateForModelInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/QueryPreviewRequest" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 200: description: "successful operation" schema: $ref: "#/definitions/QueryPreviewResponse" 201: description: "Indicates the resource was created." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." /workspaces/{workspaceKey}/models/template/{modelKey}/templates: post: tags: - "Templates" summary: "Upload Template resource for model in workspace" description: "" operationId: "uploadTemplateResourceInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 201: description: "Indicates the resource was created." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." /workspaces/{workspaceKey}/models/template/{modelKey}/templates/{resourceId}: get: tags: - "Templates" summary: "Get Template resource for model in workspace" description: "" operationId: "getTemplateResourceInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." put: tags: - "Templates" summary: "Update Template resource for model in workspace" description: "" operationId: "updateTemplateResourceInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 200: description: "Indicates the resource was updated." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." delete: tags: - "Templates" summary: "Delete Template resource for model in workspace" description: "" operationId: "deleteTemplateResourceInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." /workspaces/{workspaceKey}/models/template/{modelKey}/templates/{resourceId}/content: get: tags: - "Templates" summary: "Get Template resource content for model in workspace" description: "" operationId: "getTemplateResourceContentInWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/Resource" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}: get: tags: - "Models" summary: "Get Model in Workspace" description: "" operationId: "getModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "includeContent" in: "query" description: "Whether to include the contents of the model" required: true type: "boolean" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." put: tags: - "Models" summary: "Update Model" description: "" operationId: "updateModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." delete: tags: - "Models" summary: "Delete Model" description: "" operationId: "deleteModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/DeleteModelInWorkspaceRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/content: put: tags: - "Models" summary: "Update Model Content" description: "" operationId: "updateModelContent" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelContentUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/duplicate: post: tags: - "Models" summary: "Duplicate Model In Workspace" description: "" operationId: "duplicateModelInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelDuplicateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model or\ \ doesn't have rights to duplicate it." 409: description: "Indicates that a model with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/export: get: tags: - "Models" summary: "Export Model in Workspace" description: "" operationId: "exportModelInWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: type: "string" format: "byte" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/import: post: tags: - "Models" summary: "Import and update a model in the workspace" description: "" operationId: "importAndUpdateModel" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model being imported" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ImportModelRequest" - name: "file" in: "formData" description: "The file that contains the contents for the import" required: true type: "file" - name: "importStrategy" in: "formData" description: "The strategy for the import. If nothing is set then import is\ \ stopped when a clash happens" required: false type: "string" enum: - "overwriteOnClash" - "renewKeyOnClash" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelImportResultResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to import the\ \ model." 409: description: "Indicates that a model with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/key: put: tags: - "Models" summary: "Update Model Key" description: "" operationId: "updateModelKey" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelUpdateKeyRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/migrate: post: tags: - "Models" summary: "Migrate Model In Workspace" description: "" operationId: "migrateModelInWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model or\ \ doesn't have rights to migrate it." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/parent-relations-summary: get: tags: - "Models" summary: "Get Model Relations Summary In Workspace" description: "" operationId: "getModelRelationsSummaryInWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelParentRelationSummary" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/parent-relations/{parentModelType}/{parentModelKey}/elements: get: tags: - "Models" summary: "Get the elements inside a caller that reference a model" description: "Applies to BPMN, CMMN, Decision Service, Form and Page models" operationId: "getParentRelationElementsInWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the target model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the target model" required: true type: "string" - name: "parentModelType" in: "path" description: "The type of the caller (parent) model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "parentModelKey" in: "path" description: "The key of the caller (parent) model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: $ref: "#/definitions/ReferenceElementResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." 404: description: "Indicates the parent model is not a referencing parent of\ \ the target model." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/star: post: tags: - "Models" summary: "Star Model" description: "" operationId: "starModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." delete: tags: - "Models" summary: "Un-star Model" description: "" operationId: "unStarModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/start-form: get: tags: - "Models" summary: "Get Start Form Info for Model" description: "" operationId: "getModelStartForm" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelStartFormResponse" 400: description: "Indicates the request was invalid." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/thumbnail: get: tags: - "Models" summary: "Get Model Thumbnail in Workspace" description: "" operationId: "getModelThumbnailInWorkspace" produces: - "image/svg+xml" - "image/png" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "lastUpdated" in: "query" description: "The last updated time of the model. Used for getting a cached\ \ value of the thumbnail" required: false type: "string" format: "date-time" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/versions: delete: tags: - "Models" summary: "Delete all the historic versions for a model in a workspace" description: "" operationId: "deleteAllHistoryModelsForModelInWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the workspace\ \ or the model in the workspace." /workspaces/{workspaceKey}/models/{modelType}/{modelKey}/{relationType}-relations: get: tags: - "Models" summary: "Get Model Relations In Workspace" description: "" operationId: "getModelRelationsInWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "relationType" in: "path" description: "The type of the relations" required: true type: "string" enum: - "child" - "parent" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: $ref: "#/definitions/ModelRelationInfoResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model." /workspaces/{workspaceKey}/palette-categories: get: tags: - "Apps" summary: "Get palette categories for a new app" description: "" operationId: "getPaletteCategoriesForNewApp" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: $ref: "#/definitions/PaletteDefinitionCategoryResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to app." /workspaces/{workspaceKey}/palette-definitions/{paletteDefinitionKey}/palette/translations/{language}: get: tags: - "Palette" summary: "Get the palette translations for a given workspace-scoped palette-definition\ \ key" description: "" operationId: "getPaletteTranslationsByDefinitionKey" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "paletteDefinitionKey" in: "path" description: "The palette definition key" required: true type: "string" - name: "language" in: "path" description: "The language of the translations" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the workspace." 404: description: "Indicates no palette definition exists for the given key in\ \ the workspace's tenant." /workspaces/{workspaceKey}/plugins/{packageKey}/install: post: tags: - "Packages" summary: "Install Plugin" description: "" operationId: "installPlugin" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageKey" in: "path" description: "The key of the plugin package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/InstallPluginPackageRequest" responses: 201: description: "Indicates the plugin was installed." schema: $ref: "#/definitions/PluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to install plugins." /workspaces/{workspaceKey}/plugins/{packageKey}/revisions/{revisionKey}/install: post: tags: - "Packages" summary: "Install Plugin Revision" description: "" operationId: "installPluginRevision" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageKey" in: "path" description: "The key of the plugin package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/InstallPluginRevisionRequest" responses: 201: description: "Indicates the plugin was installed." schema: $ref: "#/definitions/PluginResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to install plugins." /workspaces/{workspaceKey}/shared-workspace: put: tags: - "Workspaces" summary: "Set shared workspace on workspace" description: "" operationId: "setSharedWorkspaceOnWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/WorkspaceSetSharedWorkspaceRequest" responses: 204: description: "Indicates the workspace shared workspace was updated." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to set the shared\ \ workspace." 404: description: "Indicates the workspace does not exist." delete: tags: - "Workspaces" summary: "Remove shared workspace from workspace" description: "" operationId: "removeSharedWorkspaceFromWorkspace" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "forceRemove" in: "query" description: "Force remove in case the models of the shared workspace are\ \ used" required: false type: "boolean" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to set the shared\ \ workspace." 404: description: "Indicates the workspace does not exist." /workspaces/{workspaceKey}/visibility: put: tags: - "Workspaces" summary: "Update Workspace Visibility" description: "" operationId: "updateWorkspaceVisibility" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/WorkspaceUpdateVisibilityRequest" responses: 204: description: "Indicates the visibility was updated." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query workspaces." 404: description: "Indicates the workspace does not exist." /workspaces/{workspaceKey}/{packageType}s: get: tags: - "Packages" summary: "Query Packages" description: "" operationId: "queryPackages" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "allTags" in: "query" description: "Only return models that have match the names of all the given\ \ tags." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "lastUpdatedByMe" in: "query" description: "Only return models that have been last updated by the user doing\ \ the request." required: false type: "boolean" - name: "modelSubType" in: "query" description: "Only return models matching the given model sub type." required: false type: "string" - name: "modelSubTypes" in: "query" description: "Only return models matching the given model sub types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "onlyInvalid" in: "query" description: "Only return models that are invalid." required: false type: "boolean" - name: "onlyLockedByCurrentUser" in: "query" description: "Only return models that have been locked by the current user" required: false type: "boolean" - name: "onlyStarredModels" in: "query" description: "Only return models that have been starred by the current user." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tagNotIn" in: "query" description: "Only return models that not have the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query the specific\ \ package type." post: tags: - "Packages" summary: "Create a new package in the workspace" description: "" operationId: "createPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The package type to create" required: true type: "string" enum: - "app" - "plugin" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelCreateRequest" responses: 201: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to create the\ \ package." 409: description: "Indicates that a package with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/{packageType}s/git/clone: post: tags: - "Git" summary: "Clone app from git repository" description: "" operationId: "cloneFromGit" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitSetupRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitCloneResponse" 201: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}: get: tags: - "Packages" summary: "Get Package" description: "" operationId: "getPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to package." put: tags: - "Packages" summary: "Update Package" description: "" operationId: "updatePackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/PackageModelUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to update the\ \ package." delete: tags: - "Packages" summary: "Delete Package" description: "" operationId: "deletePackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/PackageDeleteRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to delete the\ \ package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/abbyy/skills: get: tags: - "Packages" summary: "Query Abbyy Skills" description: "" operationId: "queryAbbyySkills" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/abbyy/skills/{skillId}: get: tags: - "Packages" summary: "Get Abbyy Skill" description: "" operationId: "getAbbyySkill" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "skillId" in: "path" description: "The ID of the ABBYY skill" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/agent-connections: get: tags: - "Packages" summary: "Query Agent connections" description: "" operationId: "queryAgentConnections" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/AgentConnectionQueryRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/attributes/export-{exportType}: get: tags: - "Packages" summary: "Export package model attributes" description: "" operationId: "exportPackageModelAttributes" produces: - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8" - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "exportType" in: "path" description: "The type of the export" required: true type: "string" enum: - "excel" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ExportTranslationsRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to export the\ \ model attributes for the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/data-model: get: tags: - "Packages" summary: "Get Package Data Model" description: "" operationId: "getPackageDataModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/data-model/export-{exportType}: get: tags: - "Packages" summary: "Export Package Data Model" description: "" operationId: "exportPackageDataModel" produces: - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "exportType" in: "path" description: "The type of the export" required: true type: "string" enum: - "excel" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/documents: get: tags: - "Packages" summary: "Query package documents" description: "" operationId: "queryPackageDocuments" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return package documents matching the given search text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." post: tags: - "Packages" summary: "Upload package document resource" description: "" operationId: "uploadPackageDocumentResource" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 201: description: "Indicates the resource was created." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/documents/{resourceId}: get: tags: - "Packages" summary: "Get package document resource" description: "" operationId: "getPackageDocumentResource" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." put: tags: - "Packages" summary: "Update package document resource" description: "" operationId: "updatePackageDocumentResource" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 200: description: "Indicates the resource was updated." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." delete: tags: - "Packages" summary: "Delete package document resource" description: "" operationId: "deleteDocumentResource" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/documents/{resourceId}/content: get: tags: - "Apps" - "Documents" summary: "Get package document resource content" description: "" operationId: "getDocumentResourceContent" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/Resource" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/duplicate: post: tags: - "Packages" summary: "Duplicate Package" description: "" operationId: "duplicatePackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelDuplicateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or doesn't have rights to duplicate it." 409: description: "Indicates that a package with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/export: get: tags: - "Packages" summary: "Export a package" description: "" operationId: "exportPackage" produces: - "application/zip" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ExportPackageRequest" responses: 200: description: "successful operation" schema: type: "array" items: type: "string" format: "byte" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to export the\ \ package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/generate/openapi: post: tags: - "Generate" summary: "Generates model definitions for a Open API specification. The generator\ \ can be configured using a 'settings' JSON object." description: "" operationId: "generateOpenApiMultipart" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "file" in: "formData" description: "The Open API yaml or json specification" required: false type: "file" - name: "url" in: "formData" description: "A URL pointing to a publicly available Open API yaml or json\ \ specification. Must be enabled in the environment by an admin." required: false type: "string" - name: "settings" in: "formData" description: "The generator settings JSON string." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelGeneratorResponse" 400: description: "Indicates the request was invalid." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/generate/salesforce: post: operationId: "generateSalesforce" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageKey" in: "path" required: true type: "string" - name: "settings" in: "formData" required: false type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelGeneratorResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/generate/salesforce/describe: post: operationId: "listSalesforceSObjects" consumes: - "application/json" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/SalesforceGeneratorSettings" responses: 200: description: "successful operation" schema: $ref: "#/definitions/EntityListResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/generate/salesforce/describe/sobject: post: operationId: "describeSalesforceSObject" consumes: - "application/json" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/SalesforceGeneratorSettings" responses: 200: description: "successful operation" schema: $ref: "#/definitions/EntityInfoResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/apply-pr-resolutions: post: tags: - "Git" summary: "Apply PR conflict resolutions and imports locally" description: "" operationId: "applyPRResolutions" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitApplyPRResolutionsRequest" responses: 204: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/branch-to-workspace: post: tags: - "Git" summary: "Fork the app onto a branch in another workspace" description: "" operationId: "branchToWorkspace" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitBranchToWorkspaceRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitBranchWorkspaceResponse" 201: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/branches: get: tags: - "Git" summary: "List remote branches" description: "" operationId: "listBranches" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: type: "array" items: type: "string" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/branches/{targetBranch}/pr-preview: get: tags: - "Git" summary: "Preview PR changes between current branch and target branch" description: "" operationId: "prPreview" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "targetBranch" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitPRDiffResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/commit: post: tags: - "Git" summary: "Commit and push to git" description: "" operationId: "commitToGit" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitCommitRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitCommitResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/commits: get: tags: - "Git" summary: "Get git commit history" description: "" operationId: "getGitCommitHistory" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "maxCount" in: "query" required: true type: "integer" format: "int32" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitCommitResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/config: get: tags: - "Git" summary: "Get git config for an app" description: "" operationId: "getGitConfig" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitRepositoryConfigResponse" delete: tags: - "Git" summary: "Remove git connection for an app" description: "" operationId: "removeGitConfig" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" responses: 204: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/create-branch: post: tags: - "Git" summary: "Create a new branch and push models" description: "" operationId: "createBranch" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitBranchRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitRepositoryConfigResponse" 201: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/create-pr: post: tags: - "Git" summary: "Create a pull request" description: "" operationId: "createPullRequest" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitCreatePRRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitPullRequestResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/local-changes: get: tags: - "Git" summary: "Get locally modified models since last sync" description: "" operationId: "getLocalChanges" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitLocalChangeResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/models/{modelType}/{modelKey}/commits: get: tags: - "Git" summary: "Get git commit history for a specific model file" description: "" operationId: "getModelFileCommitHistory" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - name: "maxCount" in: "query" required: true type: "integer" format: "int32" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitCommitResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/models/{modelType}/{modelKey}/diff/commits/{commitSha}: get: tags: - "Git" summary: "Compare model at a specific commit with the current model state" description: "" operationId: "compareModelAtCommit" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - name: "commitSha" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelCompareResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/models/{modelType}/{modelKey}/diff/remote: get: tags: - "Git" summary: "Compare remote git model with local Design model" description: "" operationId: "compareGitModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelCompareResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/pull: post: tags: - "Git" summary: "Pull changes from git" description: "" operationId: "pullFromGit" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "forceOverwrite" in: "query" required: true type: "boolean" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitPullResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/resolve-conflicts: post: tags: - "Git" summary: "Resolve merge conflicts with property-level selections" description: "" operationId: "resolveConflicts" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitResolveConflictsRequest" responses: default: description: "successful operation" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/revert: post: tags: - "Git" summary: "Revert models to last synced git version" description: "" operationId: "revertModels" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitRevertRequest" responses: 204: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/setup: post: tags: - "Git" summary: "Setup git repository for an app" description: "" operationId: "setupGit" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitSetupRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitRepositoryConfigResponse" 201: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/stashes: get: tags: - "Git" summary: "List stash entries" description: "" operationId: "listStashes" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitStashEntryResponse" post: tags: - "Git" summary: "Stash local model changes" description: "" operationId: "stash" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitStashRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitStashEntryResponse" 201: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/stashes/{stashEntryId}: delete: tags: - "Git" summary: "Drop a stash entry without applying" description: "" operationId: "dropStash" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "stashEntryId" in: "path" required: true type: "string" responses: 204: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/stashes/{stashEntryId}/pop: post: tags: - "Git" summary: "Pop stash entry and restore model changes" description: "" operationId: "stashPop" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "stashEntryId" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitStashEntryResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/status: get: tags: - "Git" summary: "Check git sync status" description: "" operationId: "getGitStatus" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitStatusResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/switch-branch: post: tags: - "Git" summary: "Switch to a different branch" description: "" operationId: "switchBranch" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/GitBranchRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/GitRepositoryConfigResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/test-sets/{scopeKey}/commits: get: tags: - "Git" summary: "Get git commit history for a test set" description: "" operationId: "getTestSetCommitHistory" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "scopeKey" in: "path" required: true type: "string" - name: "maxCount" in: "query" required: true type: "integer" format: "int32" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitCommitResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/test-sets/{scopeKey}/diff/commits/{commitSha}: get: tags: - "Git" summary: "Compare a test set at a specific commit with the current state" description: "" operationId: "compareTestSetAtCommit" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "scopeKey" in: "path" required: true type: "string" - name: "commitSha" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelCompareResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/test-sets/{scopeKey}/diff/remote: get: tags: - "Git" summary: "Compare a test set scope between local and remote git" description: "" operationId: "compareGitTestSet" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "scopeKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelCompareResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/git/unsynced-commits: get: tags: - "Git" summary: "Fetch and get unsynced remote commits" description: "" operationId: "getUnsyncedCommits" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/GitCommitResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/hierarchy: get: tags: - "Packages" summary: "Package Models Hierarchy" description: "" operationId: "getPackageModelsHierarchy" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/PackageModelHierarchy" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to get the package\ \ models hierarchy in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/identity-links: get: tags: - "Packages" summary: "Get identity links for a package" description: "" operationId: "listPackageIdentityLinks" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the package was found and links are returned." schema: type: "array" items: $ref: "#/definitions/RestIdentityLinkResponse" 403: description: "Indicates the user does not have access to the requested package\ \ or cannot access its identity links." 404: description: "Indicates the requested package was not found." post: tags: - "Packages" summary: "Create an identity link for a package" description: "" operationId: "createPackageIdentityLink" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/RestIdentityLinkResponse" responses: 201: description: "Indicates the package was found and the link was created." schema: $ref: "#/definitions/RestIdentityLinkResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have access to the requested package\ \ or cannot create an identity link." 404: description: "Indicates the requested package was not found." put: tags: - "Packages" summary: "Update identity links for a package" description: "" operationId: "updatePackageIdentityLinks" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/PackageUpdatePermissionsRequest" responses: 204: description: "Indicates the package was found and the links were updated." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have access to the requested package\ \ or cannot update its identity links." 404: description: "Indicates the requested package was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/identity-links/{family}/{identityId}/{type}: delete: tags: - "Packages" summary: "Delete an identity link for a package" description: "" operationId: "deletePackageIdentityLink" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "family" in: "path" description: "The family of the identity link (users or groups)" required: true type: "string" enum: - "users" - "groups" - name: "identityId" in: "path" description: "The id of the identity e.g. user or group id" required: true type: "string" - name: "type" in: "path" description: "The type of the identity link" required: true type: "string" responses: 204: description: "Indicates the identity link was deleted." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have access to the requested package\ \ or cannot delete the identity link." 404: description: "Indicates the requested package or identity link was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/import: post: tags: - "Packages" summary: "Import a package by overwriting an existing package" description: "" operationId: "importAndUpdatePackage" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ImportModelRequest" - name: "file" in: "formData" description: "The file that contains the contents for the import" required: true type: "file" - name: "importStrategy" in: "formData" description: "The strategy for the import. If nothing is set then import is\ \ stopped when a clash happens" required: false type: "string" enum: - "overwriteOnClash" - "renewKeyOnClash" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelImportResultResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to import the\ \ package." 409: description: "Indicates that a package or some other model with the key\ \ already exists in the workspace." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/import-multiple: post: tags: - "Packages" - "Models" summary: "Import multiple models into the package" description: "" operationId: "importModelsIntoPackage" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "detailsKey" in: "query" description: "The key of the model that should be returned as 'details' in\ \ the response." required: false type: "string" - name: "file" in: "formData" required: false type: "array" items: type: "file" collectionFormat: "multi" - name: "importStrategy" in: "formData" required: false type: "string" - name: "file" in: "formData" description: "The file that contains the contents for the import. Can be multiple." required: true type: "array" items: type: "file" collectionFormat: "multi" - name: "importStrategy" in: "formData" description: "The strategy for the import. If nothing is set then import is\ \ stopped when a clash happens. The strategy applies to all of the models\ \ files." required: false type: "string" enum: - "overwriteOnClash" - "renewKeyOnClash" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelImportResultResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to import the\ \ models." 409: description: "Indicates that a model with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/import-{modelType}: post: tags: - "Packages" - "Models" summary: "Import a model into the package" description: "" operationId: "importModelIntoPackage" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The model type being imported" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ImportModelRequest" - name: "file" in: "formData" description: "The file that contains the contents for the import" required: true type: "file" - name: "importStrategy" in: "formData" description: "The strategy for the import. If nothing is set then import is\ \ stopped when a clash happens" required: false type: "string" enum: - "overwriteOnClash" - "renewKeyOnClash" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelImportResultResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to import the\ \ model." 409: description: "Indicates that a model with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/include-models: get: tags: - "Packages" - "Models" summary: "Query Models that can be included in Package" description: "" operationId: "queryIncludeModelsInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "allTags" in: "query" description: "Only return models that have match the names of all the given\ \ tags." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "lastUpdatedByMe" in: "query" description: "Only return models that have been last updated by the user doing\ \ the request." required: false type: "boolean" - name: "modelSubType" in: "query" description: "Only return models matching the given model sub type." required: false type: "string" - name: "modelSubTypes" in: "query" description: "Only return models matching the given model sub types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelType" in: "query" description: "Only return models with the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelTypeNotIn" in: "query" description: "Only return models that are not of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelTypes" in: "query" description: "Only return models with any of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "onlyInvalid" in: "query" description: "Only return models that are invalid." required: false type: "boolean" - name: "onlyLockedByCurrentUser" in: "query" description: "Only return models that have been locked by the current user" required: false type: "boolean" - name: "onlyStarredModels" in: "query" description: "Only return models that have been starred by the current user." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tagNotIn" in: "query" description: "Only return models that not have the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query models\ \ in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/key: put: tags: - "Packages" summary: "Update Package Key" description: "" operationId: "updatePackageKey" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelUpdateKeyRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to update the\ \ package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/lock: post: tags: - "Packages" summary: "Lock Package" description: "" operationId: "lockPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/model-templates: get: tags: - "Packages" - "Models" summary: "Query Model Templates in Package" description: "" operationId: "queryModelTemplatesInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "allTags" in: "query" description: "Only return models that have match the names of all the given\ \ tags." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "lastUpdatedByMe" in: "query" description: "Only return models that have been last updated by the user doing\ \ the request." required: false type: "boolean" - name: "modelSubType" in: "query" description: "Only return models matching the given model sub type." required: false type: "string" - name: "modelSubTypes" in: "query" description: "Only return models matching the given model sub types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelType" in: "query" description: "Only return models with the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelTypeNotIn" in: "query" description: "Only return models that are not of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelTypes" in: "query" description: "Only return models with any of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "onlyInvalid" in: "query" description: "Only return models that are invalid." required: false type: "boolean" - name: "onlyLockedByCurrentUser" in: "query" description: "Only return models that have been locked by the current user" required: false type: "boolean" - name: "onlyStarredModels" in: "query" description: "Only return models that have been starred by the current user." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tagNotIn" in: "query" description: "Only return models that not have the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query model\ \ templates in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/modeling-configuration: get: tags: - "Packages" summary: "Get Package Modeling Configuration" description: "" operationId: "getPackageModelingConfiguration" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/PackageModelingConfiguration" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/modeling-groups: get: tags: - "Packages" summary: "Query Modeling Groups" description: "" operationId: "queryModelingGroups" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "searchText" in: "query" description: "The search text" required: false type: "string" - name: "start" in: "query" required: true type: "integer" format: "int32" - name: "size" in: "query" required: true type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelingIdentity" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/modeling-groups/{groupId}: get: tags: - "Packages" summary: "Get Modeling Group" description: "" operationId: "getModelingGroup" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "groupId" in: "path" description: "The id / key of the group" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelingIdentity" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/modeling-users: get: tags: - "Packages" summary: "Query Modeling Users" description: "" operationId: "queryModelingUsers" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "searchText" in: "query" description: "The search text" required: false type: "string" - name: "start" in: "query" required: true type: "integer" format: "int32" - name: "size" in: "query" required: true type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelingIdentity" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/modeling-users/{userId}: get: tags: - "Packages" summary: "Get Modeling User" description: "" operationId: "getModelingUser" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "userId" in: "path" description: "The id of the user" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelingIdentity" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/modeling-users/{userId}/avatar/thumbnail: get: operationId: "getModelingUserAvatarThumbnail" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "userId" in: "path" description: "The id of the user" required: true type: "string" responses: 200: description: "successful operation" schema: type: "array" items: type: "string" format: "byte" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models: get: tags: - "Packages" - "Models" summary: "Query Models in Package" description: "" operationId: "queryModelsInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "allTags" in: "query" description: "Only return models that have match the names of all the given\ \ tags." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "excludeSharedWorkspaceModels" in: "query" description: "Do not return models for the package that originate from a shared\ \ workspace." required: false type: "boolean" - name: "lastUpdatedByMe" in: "query" description: "Only return models that have been last updated by the user doing\ \ the request." required: false type: "boolean" - name: "modelSubType" in: "query" description: "Only return models matching the given model sub type." required: false type: "string" - name: "modelSubTypes" in: "query" description: "Only return models matching the given model sub types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelType" in: "query" description: "Only return models with the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelTypeNotIn" in: "query" description: "Only return models that are not of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelTypes" in: "query" description: "Only return models with any of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "onlyInvalid" in: "query" description: "Only return models that are invalid." required: false type: "boolean" - name: "onlyLockedByCurrentUser" in: "query" description: "Only return models that have been locked by the current user" required: false type: "boolean" - name: "onlyMainModels" in: "query" description: "Only return main models for the package." required: false type: "boolean" - name: "onlyStarredModels" in: "query" description: "Only return models that have been starred by the current user." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tagNotIn" in: "query" description: "Only return models that not have the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query models\ \ in the package." post: tags: - "Packages" - "Models" summary: "Create a new models in the package" description: "" operationId: "createModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelCreateRequest" responses: 201: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to create models\ \ in the package." 409: description: "Indicates the a model with the key already exists in the workspace." put: tags: - "Packages" summary: "Update Package Models" description: "" operationId: "updatePackageModels" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/PackageModelUpdateModelsRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to update the\ \ package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/action/{modelKey}/form-invoke: get: tags: - "Packages" summary: "Get the action definition for the form preview" description: "" operationId: "formInvokeActionDefinition" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the action model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 403: description: "Indicates the user does not have the rights to the package." post: tags: - "Packages" summary: "Invoke an action from the form preview" description: "" operationId: "formInvokeAction" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the action model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/JsonNode" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/action/{modelKey}/invoke: post: tags: - "Packages" summary: "Test Action Model" description: "" operationId: "testActionModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ObjectNode" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/agent/{modelKey}/form-invoke: post: tags: - "Packages" summary: "Invoke an agent from the form preview" description: "" operationId: "formInvokeAgent" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the agent model" required: true type: "string" - name: "operation" in: "query" description: "The agent operation key to invoke" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ObjectNode" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/agent/{modelKey}/invoke: post: tags: - "Packages" summary: "Test AI Model" description: "" operationId: "testAiOperationModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ObjectNode" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/dataObject/{modelKey}/fields: get: tags: - "Packages" - "Data Object Models" summary: "Gets an info object with field definitions of a data object, potentially\ \ taking derived fields from a linked data dictionary type into account." description: "" operationId: "getDataObjectFields" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "includeRelatedData" in: "query" description: "Whether the related data should be returned, e.g. the related\ \ data objects" required: true type: "boolean" default: false responses: 200: description: "The data object field info response containing the array of\ \ effective fields for the data object." schema: $ref: "#/definitions/DataObjectFieldInfoResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the data object in the package." 404: description: "Indicates the workspace, the package, the data object model\ \ or the referenced data dictionary model was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/dataObject/{modelKey}/service: post: tags: - "Packages" - "Data Object Models" summary: "Link a data object model to a service definition" description: "" operationId: "linkWithServiceModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelContentUpdateRequest" responses: 200: description: "Indicates the link to the service model was created and the\ \ data object was saved." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the data object in the package." delete: tags: - "Packages" - "Data Object Models" summary: "Unlink a data object model from its service definition" description: "" operationId: "unlinkServiceModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelContentUpdateRequest" responses: 200: description: "Indicates the unlink from the service model was done." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the data object in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/knowledge/{modelKey}/knowledge: post: tags: - "Packages" - "Knowledge" summary: "Upload Knowledge resource for model in package" description: "" operationId: "uploadKnowledgeResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 201: description: "Indicates the resource was created." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/knowledge/{modelKey}/knowledge/{resourceId}: get: tags: - "Packages" - "Knowledge" summary: "Get Knowledge resource for model in package" description: "" operationId: "getKnowledgeResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the template model in the package." put: tags: - "Packages" - "Knowledge" summary: "Update Knowledge resource for model in package" description: "" operationId: "updateKnowledgeResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 200: description: "Indicates the resource was updated." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." delete: tags: - "Packages" - "Knowledge" summary: "Delete Knowledge resource for model in package" description: "" operationId: "deleteKnowledgeResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the template model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/knowledge/{modelKey}/knowledge/{resourceId}/content: get: tags: - "Packages" - "Knowledge" summary: "Get Knowledge resource content for model in package" description: "" operationId: "getKnowledgeResourceContentInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/Resource" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the template model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/query/{modelKey}/data-table-parameters: get: tags: - "Query Models" summary: "Get the parameters for a query model when used with a data table" description: "" operationId: "getQueryModelDataTableParameters" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the parameters were returned." schema: $ref: "#/definitions/DataTableParametersRepresentation" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the model in\ \ the workspace." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/query/{modelKey}/template-preview: post: tags: - "Packages" - "Query Models" summary: "Process query template for model in package" description: "" operationId: "processQueryTemplateForModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/QueryPreviewRequest" responses: 200: description: "Indicates the resource was created." schema: $ref: "#/definitions/QueryPreviewResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/query/{modelKey}/test: post: tags: - "Packages" summary: "Test Query Model" description: "" operationId: "testQueryModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelingSearchRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/service/{modelKey}/dataObject: get: tags: - "Packages" - "Service Models" summary: "Get a data object model to a service definition" description: "" operationId: "getDataObjectModelForServiceModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "includeContent" in: "query" description: "Whether to include the contents of the model" required: true type: "boolean" responses: 200: description: "Indicates the data object model has been returned." schema: $ref: "#/definitions/ServiceDataObjectResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the service model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/service/{modelKey}/dataObject/fields: get: tags: - "Packages" - "Service Models" summary: "Gets an info object with field definitions of a data object, potentially\ \ taking derived fields from a linked data dictionary type into account." description: "" operationId: "getServiceModelDataObjectFields" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "includeRelatedData" in: "query" description: "Whether the related data should be returned, e.g. the related\ \ data objects" required: true type: "boolean" default: true responses: 200: description: "The data object field info response containing the array of\ \ effective fields for the data object." schema: $ref: "#/definitions/DataObjectFieldInfoResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the service model in the package." 404: description: "Indicates the workspace, the package, the data object model\ \ or the referenced data dictionary model was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/service/{modelKey}/form-invoke: post: tags: - "Packages" summary: "Invoke a service from the form preview" description: "" operationId: "formInvokeService" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the service model" required: true type: "string" - name: "operation" in: "query" description: "The operation key to invoke (single-operation service fields)" required: false type: "string" - name: "operationType" in: "query" description: "Whether to invoke the search or lookup operation" required: false type: "string" - name: "searchOperation" in: "query" description: "The operation key invoked for a search" required: false type: "string" - name: "lookupOperation" in: "query" description: "The operation key invoked for a lookup" required: false type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/JsonNode" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/service/{modelKey}/invoke: post: tags: - "Packages" summary: "Invoke Service" description: "" operationId: "invokeService" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ObjectNode" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/service/{modelKey}/mcp/discover-tools: post: tags: - "Service Models" summary: "Discover tools from an MCP server" description: "" operationId: "discoverMcpTools" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the service model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/McpDiscoverToolsRequest" responses: 200: description: "Indicates the tools have been discovered successfully." schema: $ref: "#/definitions/McpDiscoverToolsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the service model." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/service/{modelKey}/mcp/invoke-tool: post: tags: - "Packages" - "Service Models" summary: "Invoke a tool on an MCP server" description: "" operationId: "invokeMcpTool" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the service model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/McpInvokeToolRequest" responses: 200: description: "Indicates the tool has been invoked successfully." schema: $ref: "#/definitions/McpInvokeToolResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the service model." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/template/{modelKey}/templates: post: tags: - "Packages" - "Templates" summary: "Upload Template resource for model in package" description: "" operationId: "uploadTemplateResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 201: description: "Indicates the resource was created." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/template/{modelKey}/templates/{resourceId}: get: tags: - "Packages" - "Templates" summary: "Get Template resource for model in package" description: "" operationId: "getTemplateResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the template model in the package." put: tags: - "Packages" - "Templates" summary: "Update Template resource for model in package" description: "" operationId: "updateTemplateResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource that should be updated" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" - name: "fileContent" in: "formData" description: "The file that contains the contents for the resource" required: true type: "file" responses: 200: description: "Indicates the resource was updated." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." delete: tags: - "Packages" - "Templates" summary: "Delete Template resource for model in package" description: "" operationId: "deleteTemplateResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the template model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/template/{modelKey}/templates/{resourceId}/content: get: tags: - "Packages" - "Templates" summary: "Get Template resource content for model in package" description: "" operationId: "getTemplateResourceContentInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "resourceId" in: "path" description: "The id of the resource" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/Resource" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the template model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/palette-definitions: get: tags: - "Models" - "Palette" summary: "Get a list of palette definitions that are available for the passed\ \ app model and model type" description: "" operationId: "getPaletteDefinitionsForAppAndModelType" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}: get: tags: - "Packages" - "Models" summary: "Get Model in Package" description: "" operationId: "getModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "includeContent" in: "query" description: "Whether to include the contents of the model" required: true type: "boolean" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." put: tags: - "Packages" - "Models" summary: "Update Model in Package" description: "" operationId: "updateModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." delete: tags: - "Packages" - "Models" summary: "Delete Model in Package" description: "" operationId: "deleteModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelRemoveRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/compare: get: tags: - "Models" summary: "(Internal API) Compares two model source and produces a comparison\ \ result. NOTE: This API is not public and subject to changes at any time." description: "" operationId: "compareModels" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "sourceVersion" in: "query" description: "The source model version of the model to compare" required: false type: "integer" format: "int32" - name: "targetVersion" in: "query" description: "The target model version of the model to compare" required: false type: "integer" format: "int32" - name: "sourcePackageRevisionKey" in: "query" description: "The source app revision of the model to compare" required: false type: "string" - name: "targetPackageRevisionKey" in: "query" description: "The target app revision of the model to compare" required: false type: "string" - name: "includeDiffValues" in: "query" description: "Whether to include the from/to values to the diff response." required: true type: "boolean" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelCompareResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/content: put: tags: - "Packages" - "Models" summary: "Update Model Content in Package" description: "" operationId: "updateModelContentInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelContentUpdateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/custom-component-palette: get: tags: - "Custom Component Palette" summary: "Get Custom Component Palette" description: "" operationId: "getCustomComponentPalette" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ArrayNode" 400: description: "Indicates the request was invalid." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/data-model: get: tags: - "Packages" - "Models" summary: "Get Model Data Model" description: "" operationId: "getModelDataModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/duplicate: post: tags: - "Packages" - "Models" summary: "Duplicate Model In Package" description: "" operationId: "duplicateModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelDuplicateRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package,\ \ the model or doesn't have rights to duplicate it." 409: description: "Indicates that a model with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/export: get: tags: - "Packages" - "Models" summary: "Export Model in Package" description: "" operationId: "exportModelInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: type: "string" format: "byte" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/import: post: tags: - "Packages" - "Models" summary: "Import and update a model from a package" description: "" operationId: "importAndUpdateModelFromPackage" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The model type being imported" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ImportModelRequest" - name: "file" in: "formData" description: "The file that contains the contents for the import" required: true type: "file" - name: "importStrategy" in: "formData" description: "The strategy for the import. If nothing is set then import is\ \ stopped when a clash happens" required: false type: "string" enum: - "overwriteOnClash" - "renewKeyOnClash" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ModelImportResultResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to import and\ \ update the model." 409: description: "Indicates that a model with the key already exists in the\ \ workspace." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/key: put: tags: - "Packages" - "Models" summary: "Update Model Key in Package" description: "" operationId: "updateModelKeyInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelUpdateKeyRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/lock: post: tags: - "Models" summary: "Lock Model in Package" description: "" operationId: "lockModel" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/migrate: post: tags: - "Packages" - "Models" summary: "Migrate Model In Package" description: "" operationId: "migrateModelInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package,\ \ the model or doesn't have rights to migrate it." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/palette: get: tags: - "Models" - "Palette" summary: "Get the palette for the model" description: "" operationId: "getModelPalette" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." ? /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/palette/presentation/{presentationId}/{presentationType} : get: tags: - "Models" - "Palette" summary: "Get presentations (the svg view, the icon, etc.) for a palette related\ \ to a model" description: "" operationId: "getModelPalettePresentation" produces: - "image/svg+xml" - "image/png" - "text/plain" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "presentationId" in: "path" description: "The presentationId, which is part of the palette element for\ \ which the icon needs to be returned" required: true type: "string" - name: "presentationType" in: "path" description: "Defines which type of icon gets returned. Icon is a png, the\ \ other returns svg" required: true type: "string" enum: - "icon" - "bigIcon" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/palette/translations/{language}: get: tags: - "Models" - "Palette" summary: "Get the model palette translations for the model" description: "" operationId: "getModelPaletteTranslations" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "language" in: "path" description: "The language of the translations" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/parent-relations-summary: get: tags: - "Packages" - "Models" summary: "Get Model Relations Summary In Package" description: "" operationId: "getModelRelationsSummaryInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelParentRelationSummary" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." ? /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/parent-relations/{parentModelType}/{parentModelKey}/elements : get: tags: - "Packages" - "Models" summary: "Get the elements inside a caller that reference a model" description: "Applies to BPMN, CMMN, Decision Service, Form and Page models" operationId: "getParentRelationElementsInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the target model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the target model" required: true type: "string" - name: "parentModelType" in: "path" description: "The type of the caller (parent) model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "parentModelKey" in: "path" description: "The key of the caller (parent) model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: $ref: "#/definitions/ReferenceElementResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." 404: description: "Indicates the parent model is not a referencing parent of\ \ the target model." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/star: post: tags: - "Packages" - "Models" summary: "Star Model in Package" description: "" operationId: "starModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." delete: tags: - "Packages" - "Models" summary: "Un-star Model in Package" description: "" operationId: "unStarModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/test-sets: get: tags: - "Test Sets" summary: "List test sets scoped to a model in the package (paged)" description: "" operationId: "listTestSetsForModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - name: "includeContent" in: "query" description: "When true, include the test set content JSON in each response\ \ row. Off by default to keep paged responses cheap." required: false type: "boolean" - name: "modelKey" in: "query" description: "Only return test sets scoped to the given model key." required: false type: "string" - name: "modelType" in: "query" description: "Only return test sets scoped to the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelTypes" in: "query" description: "Only return test sets scoped to any of the given model types\ \ (repeated query param)." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return test sets where name, key, model key or scoped model\ \ name matches the search text (case-insensitive)." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "subScopeKey" in: "query" description: "Only return test sets scoped to the given sub-scope key." required: false type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/DataResponseTestSetResponse" post: tags: - "Test Sets" summary: "Create a test set scoped to a model in the package" description: "" operationId: "createTestSet" consumes: - "application/json" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/TestSetRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TestSetResponse" 201: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/test-sets/run: post: tags: - "Test Executions" summary: "Execute multiple test sets sharing the same scope in a single Inspect\ \ call" description: "" operationId: "executeTestSetsBulk" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/RunTestSetsRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/JsonNode" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/test-sets/{key}: get: tags: - "Test Sets" summary: "Get a single test set by key, scoped to a model in the package" description: "" operationId: "getTestSet" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - name: "key" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TestSetResponse" 404: description: "Indicates the test set does not exist for this model" put: tags: - "Test Sets" summary: "Update a test set by key (merge — only fields present in body change)" description: "" operationId: "updateTestSet" consumes: - "application/json" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - name: "key" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/TestSetRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TestSetResponse" delete: tags: - "Test Sets" summary: "Delete a test set by key" description: "" operationId: "deleteTestSet" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - name: "key" in: "path" required: true type: "string" responses: 204: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/test-sets/{key}/execute: post: tags: - "Test Executions" summary: "Execute a test set against its scope model via Inspect" description: "" operationId: "executeTestSet" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the scoped model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the scoped model" required: true type: "string" - name: "key" in: "path" description: "The key of the test set to execute" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ExecuteTestSetRequest" responses: 200: description: "Indicates the test was executed successfully." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates that the referenced test set does not exist." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/test-sets/{key}/key: put: tags: - "Test Sets" summary: "Rename a test set (dedicated key-update action)" description: "" operationId: "updateTestSetKey" consumes: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "modelType" in: "path" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" required: true type: "string" - name: "key" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/TestSetUpdateKeyRequest" responses: 204: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/thumbnail: get: tags: - "Packages" - "Models" summary: "Get Model Thumbnail in Package" description: "" operationId: "getModelThumbnailInPackage" produces: - "image/svg+xml" - "image/png" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "lastUpdated" in: "query" description: "The last updated time of the model. Used for getting a cached\ \ value of the thumbnail" required: false type: "string" format: "date-time" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/unlock: post: tags: - "Models" summary: "Unlock Model in Package" description: "" operationId: "unlockModel" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "force" in: "query" description: "Whether to do a force unlock" required: true type: "boolean" default: true responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/validate: post: tags: - "Packages" - "Models" summary: "Validate Model in Package" description: "" operationId: "validateModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/JsonNode" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelValidationResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/validation-translations/{language}: get: tags: - "Packages" - "Models" summary: "Get the Validation Translations" description: "" operationId: "getValidationTranslations" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "lang" in: "path" description: "The language for the translations" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/versions: get: tags: - "Packages" - "Models" summary: "Get Model Versions" description: "" operationId: "getModelVersions" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelHistoryResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." delete: tags: - "Packages" - "Models" summary: "Delete all the historic versions for a model in a package" description: "" operationId: "deleteAllHistoryModelsForModelInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/versions/{version}: get: tags: - "Packages" - "Models" summary: "Get Model Version" description: "" operationId: "getModelVersion" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "version" in: "path" description: "The version of the model" required: true type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelHistoryDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." post: tags: - "Packages" - "Models" summary: "Execute a specific action for the Model Version" description: "" operationId: "executeActionForModelVersion" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "version" in: "path" description: "The version of the model" required: true type: "integer" format: "int32" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ModelHistoryRequest" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/versions/{version}/export: get: tags: - "Packages" - "Models" summary: "Export Historic Model in Package" description: "" operationId: "exportHistoricModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "version" in: "path" description: "The version of the model" required: true type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: type: "string" format: "byte" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/models/{modelType}/{modelKey}/{relationType}-relations: get: tags: - "Packages" - "Models" summary: "Get Model Relations In Package" description: "" operationId: "getModelRelationsInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "relationType" in: "path" description: "The type of the relations" required: true type: "string" enum: - "child" - "parent" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: $ref: "#/definitions/ModelRelationInfoResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/move: post: tags: - "Packages" summary: "Move a Package to a different workspace" description: "" operationId: "movePackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/PackageMoveWorkspaceRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or doesn't have rights to publish it." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/power-automate/flows: get: tags: - "Packages" summary: "Query PowerAutomate Hooks" description: "" operationId: "queryPowerAutomateHooks" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "searchText" in: "query" required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/power-automate/flows/{flowId}: get: tags: - "Packages" summary: "Get PowerAutomate Hooks" description: "" operationId: "getPowerAutomateHooksByKey" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "flowId" in: "path" description: "The id of the flow" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/JsonNode" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/refresh-relations: post: tags: - "Packages" - "Models" summary: "Refresh Model Relations In Package" description: "" operationId: "refreshModelRelationsInPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the model in the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions: get: tags: - "Packages" summary: "Get Package Revisions" description: "" operationId: "getPackageRevisions" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return revisions matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponsePackageRevisionResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." post: tags: - "Packages" summary: "Create Package Revision" description: "" operationId: "createPackageRevision" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/PackageRevisionCreateRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/PackageRevisionResponse" 201: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}: get: tags: - "Packages" summary: "Get Package Revision" description: "" operationId: "getPackageRevision" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/PackageRevisionResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." post: tags: - "Packages" summary: "Get App Revision" description: "" operationId: "executeActionForPackageRevision" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/PackageRevisionActionRequest" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the rights to execute the action." delete: tags: - "Packages" summary: "Delete App Revision" description: "" operationId: "deletePackageRevision" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/compare: get: tags: - "Packages" summary: "Compare Package Revision Models" description: "Returns the models of the given revision classified as ADDED /\ \ MODIFIED / DELETED relative to the compareRevisionKey revision. Path revisionKey\ \ is the source/baseline; query compareRevisionKey is the target being compared\ \ to." operationId: "comparePackageRevisions" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "changeTypes" in: "query" description: "Restrict the response to the given change types (ADDED, MODIFIED,\ \ DELETED). Repeat the parameter to combine multiple. When omitted, all\ \ three are returned." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "compareRevisionKey" in: "query" description: "The key of the revision to compare against." required: true type: "string" - name: "modelType" in: "query" description: "Only return entries of the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "searchText" in: "query" description: "Only return entries matching the given search text (key or name)." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: $ref: "#/definitions/PackageRevisionModelCompareResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/data-model: get: tags: - "Packages" summary: "Get Package Revision Data Model" description: "" operationId: "getPackageRevisionDataModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/documents: get: tags: - "Packages" summary: "List package documents in a revision" description: "Returns metadata for package documents (file attachments uploaded\ \ onto the package itself) as captured in the revision snapshot." operationId: "getPackageRevisionDocuments" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return package documents matching the given search text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/download: get: tags: - "Packages" summary: "Download App Revision" description: "" operationId: "downloadPackageRevisionContents" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "array" items: type: "string" format: "byte" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models: get: tags: - "Packages" - "Models" summary: "Query Models in Package Revision" description: "Returns models captured in the given revision snapshot, in the\ \ same response shape as queryModelsInPackage so clients can switch between\ \ live and revision views without reshaping the response." operationId: "queryRevisionModelsInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "allTags" in: "query" description: "Only return models that have match the names of all the given\ \ tags." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "excludeSharedWorkspaceModels" in: "query" description: "Do not return models for the package that originate from a shared\ \ workspace." required: false type: "boolean" - name: "lastUpdatedByMe" in: "query" description: "Only return models that have been last updated by the user doing\ \ the request." required: false type: "boolean" - name: "modelSubType" in: "query" description: "Only return models matching the given model sub type." required: false type: "string" - name: "modelSubTypes" in: "query" description: "Only return models matching the given model sub types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelType" in: "query" description: "Only return models with the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelTypeNotIn" in: "query" description: "Only return models that are not of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "modelTypes" in: "query" description: "Only return models with any of the given model types." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "onlyInvalid" in: "query" description: "Only return models that are invalid." required: false type: "boolean" - name: "onlyLockedByCurrentUser" in: "query" description: "Only return models that have been locked by the current user" required: false type: "boolean" - name: "onlyMainModels" in: "query" description: "Only return main models for the package." required: false type: "boolean" - name: "onlyStarredModels" in: "query" description: "Only return models that have been starred by the current user." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return models matching the given searching text." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tagNotIn" in: "query" description: "Only return models that not have the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to query models\ \ in the package." 404: description: "Indicates the revision was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/dataObject/{modelKey}/fields: get: tags: - "Packages" - "Data Object Models" summary: "Get Package Revision Data Object Fields" description: "" operationId: "getPackageRevisionDataObjectFields" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the data object model" required: true type: "string" - name: "includeRelatedData" in: "query" description: "Whether the related data should be returned, e.g. the related\ \ data objects" required: true type: "boolean" default: false responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataObjectFieldInfoResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." ? /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/knowledge/{modelKey}/knowledge/{resourceId} : get: tags: - "Packages" - "Knowledge" summary: "Get Knowledge resource for model in package revision" description: "Returns metadata (no bytes) for a single knowledge-base resource\ \ as-of the revision snapshot." operationId: "getRevisionKnowledgeResourceForModelInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the knowledge base model" required: true type: "string" - name: "resourceId" in: "path" description: "The export key of the resource (e.g. -)" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision or resource was not found." ? /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/knowledge/{modelKey}/knowledge/{resourceId}/content : get: tags: - "Packages" - "Knowledge" summary: "Get Package Revision Knowledge Resource Content" description: "" operationId: "getPackageRevisionKnowledgeResourceContent" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the knowledge base model" required: true type: "string" - name: "resourceId" in: "path" description: "The stem of the content name (without .knowledgeBase-file suffix)" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/Resource" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision or resource was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/query/{modelKey}/data-table-parameters: get: tags: - "Packages" - "Query Models" summary: "Get Package Revision Query Model Data Table Parameters" description: "Returns the input/output parameters of the query model as-of the\ \ revision snapshot." operationId: "getPackageRevisionQueryModelDataTableParameters" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the query model contained in the revision" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataTableParametersRepresentation" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision or query model was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/service/{modelKey}/dataObject: get: tags: - "Packages" - "Service Models" summary: "Get Package Revision Service Model Data Object" description: "Returns the data object model that the service model (as-of the\ \ revision) is linked to, with content read from the revision snapshot." operationId: "getPackageRevisionServiceModelDataObject" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the service model contained in the revision" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ServiceDataObjectResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision, service model or referenced data object\ \ was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/service/{modelKey}/dataObject/fields: get: tags: - "Packages" - "Service Models" summary: "Get Package Revision Service Model Data Object Fields" description: "Returns the fields of the data object that the service model (as-of\ \ the revision) is linked to. Reads the service JSON from the revision to\ \ resolve the linked data object key, then returns the fields of that data\ \ object from the same revision snapshot." operationId: "getPackageRevisionServiceModelDataObjectFields" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the service model contained in the revision" required: true type: "string" - name: "includeRelatedData" in: "query" description: "Whether the related data should be returned, e.g. the related\ \ data objects" required: true type: "boolean" default: false responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataObjectFieldInfoResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision, service model or referenced data object\ \ was not found." ? /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/template/{modelKey}/templates/{resourceId} : get: tags: - "Packages" - "Templates" summary: "Get Template resource for model in package" description: "" operationId: "getTemplateResourceInPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the template model" required: true type: "string" - name: "resourceId" in: "path" description: "The export key of the resource (e.g. template--)" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelResourceResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package\ \ or the template model in the package." ? /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/template/{modelKey}/templates/{resourceId}/content : get: tags: - "Packages" - "Templates" summary: "Get Package Revision Template Resource Content" description: "" operationId: "getPackageRevisionTemplateResourceContent" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelKey" in: "path" description: "The key of the template model" required: true type: "string" - name: "resourceId" in: "path" description: "The stem of the content name (without .tplfile suffix)" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/Resource" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision or resource was not found." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/{modelType}/{modelKey}: get: tags: - "Packages" summary: "Get Package Revision Model" description: "" operationId: "getPackageRevisionModel" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model contained in the revision" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "revisionKey" in: "path" description: "The key of the model contained in the revision" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/BaseModelResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/{modelType}/{modelKey}/palette: get: tags: - "Packages" - "Models" - "Palette" summary: "Get the palette for a model as captured in a package revision" description: "Resolves the palette definition key from the revision snapshot\ \ for the given model and returns the matching palette JSON." operationId: "getRevisionModelPalette" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision or the model was not found in the revision." ? /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/models/{modelType}/{modelKey}/palette/translations/{language} : get: tags: - "Packages" - "Models" - "Palette" summary: "Get the palette translations for a model as captured in a package\ \ revision" description: "" operationId: "getRevisionModelPaletteTranslations" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" - name: "modelType" in: "path" description: "The type of the model" required: true type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelKey" in: "path" description: "The key of the model" required: true type: "string" - name: "language" in: "path" description: "The language of the translations" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: type: "object" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." 404: description: "Indicates the revision or the model was not found in the revision." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/revisions/{revisionKey}/unpack: post: tags: - "Packages" summary: "Unpack Package Revision" description: "Migrates a legacy revision by extracting its ZIP blob into per-model\ \ content entries and clearing the ZIP blob." operationId: "unpackPackageRevision" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "revisionKey" in: "path" description: "The key of the revision" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/star: post: tags: - "Packages" summary: "Star Package" description: "" operationId: "starPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." delete: tags: - "Packages" summary: "Un-star Package" description: "" operationId: "unStarPackage" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/test-sets: get: tags: - "Test Sets" summary: "List test sets within a package (cross-model browse, paginated)" description: "" operationId: "listTestSets" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "includeContent" in: "query" description: "When true, include the test set content JSON in each response\ \ row. Off by default to keep paged responses cheap." required: false type: "boolean" - name: "modelKey" in: "query" description: "Only return test sets scoped to the given model key." required: false type: "string" - name: "modelType" in: "query" description: "Only return test sets scoped to the given model type." required: false type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" - name: "modelTypes" in: "query" description: "Only return test sets scoped to any of the given model types\ \ (repeated query param)." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "searchText" in: "query" description: "Only return test sets where name, key, model key or scoped model\ \ name matches the search text (case-insensitive)." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "subScopeKey" in: "query" description: "Only return test sets scoped to the given sub-scope key." required: false type: "string" responses: 200: description: "successful operation" schema: $ref: "#/definitions/DataResponseTestSetResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/test-sets/export: post: tags: - "Test Sets" summary: "Export test sets in a package as a downloadable ZIP" description: "" operationId: "exportTestSets" produces: - "application/zip" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/TestSetExportRequest" responses: 200: description: "successful operation" schema: type: "array" items: type: "string" format: "byte" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/test-sets/import: post: tags: - "Test Sets" summary: "Apply a test sets import by re-uploading the previewed ZIP plus the\ \ chosen mappings/strategy" description: "" operationId: "applyImportTestSets" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "file" in: "formData" required: false type: "file" - name: "request" in: "formData" required: false type: "ref" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TestSetImportResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/test-sets/import/preview: post: tags: - "Test Sets" summary: "Parse an uploaded test sets ZIP and return a preview of what would\ \ be imported" description: "" operationId: "previewImportTestSets" consumes: - "multipart/form-data" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "file" in: "formData" required: false type: "file" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TestSetImportPreviewResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/test-sets/publish: post: tags: - "Test Sets" summary: "Publish a package's test sets to Flowable Inspect" description: "" operationId: "publishTestSets" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/TestSetPublishRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TestSetPublishResponse" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/test-sets/{testSetId}/resources: get: tags: - "Test Set Resources" summary: "List binary resources attached to a test set" description: "" operationId: "listTestSetResources" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "testSetId" in: "path" required: true type: "string" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/TestSetResourceResponse" post: tags: - "Test Set Resources" summary: "Upload a binary resource attached to a test set" description: "" operationId: "uploadTestSetResource" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "testSetId" in: "path" required: true type: "string" - name: "fileContent" in: "query" required: true type: "ref" responses: 200: description: "successful operation" schema: $ref: "#/definitions/TestSetResourceResponse" 201: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/test-sets/{testSetId}/resources/{name}: delete: tags: - "Test Set Resources" summary: "Delete a binary resource attached to a test set" description: "" operationId: "deleteTestSetResource" parameters: - name: "workspaceKey" in: "path" required: true type: "string" - name: "packageType" in: "path" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" required: true type: "string" - name: "testSetId" in: "path" required: true type: "string" - name: "name" in: "path" required: true type: "string" pattern: ".+" responses: 204: description: "" /workspaces/{workspaceKey}/{packageType}s/{packageKey}/translations/export-{exportType}: get: tags: - "Packages" summary: "Export package translations" description: "" operationId: "exportPackageTranslations" produces: - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8" - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "exportType" in: "path" description: "The type of the export" required: true type: "string" enum: - "excel" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ExportTranslationsRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to export the\ \ package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/translations/import: post: tags: - "Packages" summary: "Import package translations" description: "" operationId: "importPackageTranslations" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - in: "body" name: "body" required: false schema: $ref: "#/definitions/ImportTranslationsRequest" responses: 204: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to import translations\ \ into the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/unlock: post: tags: - "Packages" summary: "Unlock Package" description: "" operationId: "unlockPackage" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "force" in: "query" description: "Whether to do a force unlock" required: true type: "boolean" default: true - in: "body" name: "body" required: false schema: $ref: "#/definitions/PackageUnlockRequest" responses: 200: description: "Indicates the request was successful." 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/validation-summary: get: tags: - "Packages" summary: "Get package validation summary" description: "" operationId: "getPackageValidationSummary" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/PackageValidationSummaryResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." post: tags: - "Packages" summary: "Update package validation" description: "" operationId: "updatePackageValidation" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/PackageValidationSummaryResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to the package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/versions: get: tags: - "Packages" summary: "Get Package Versions" description: "" operationId: "getPackageVersions" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseModelHistoryResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to package." /workspaces/{workspaceKey}/{packageType}s/{packageKey}/versions/{version}: get: tags: - "Packages" summary: "Get Package Version" description: "" operationId: "getPackageVersion" produces: - "application/json" parameters: - name: "workspaceKey" in: "path" description: "The key of the workspace" required: true type: "string" - name: "packageType" in: "path" description: "The type of the package" required: true type: "string" enum: - "app" - "plugin" - name: "packageKey" in: "path" description: "The key of the package" required: true type: "string" - name: "version" in: "path" description: "The version of the package" required: true type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/ModelHistoryDetailsResponse" 400: description: "Indicates the request was invalid." 403: description: "Indicates the user does not have the rights to package." securityDefinitions: basicAuth: type: "basic" definitions: AccessTokenResponse: type: "object" required: - "creationTime" - "id" - "name" properties: id: type: "string" description: "The id of the token" userId: type: "string" description: "The id of the user that the token belongs to" tenantId: type: "string" description: "The id of the tenant that the token belongs to" name: type: "string" description: "The name of the token" description: type: "string" description: "The description of the token" creationTime: type: "string" description: "The ISO 8601 creation time of the token" expirationTime: type: "string" description: "The ISO 8601 expiry time of the token" description: "Response for an access token" AgentConnectionQueryRequest: type: "object" properties: key: type: "string" searchText: type: "string" description: "Request that is used for querying agent connections" AiContextRule: type: "object" properties: workspaceId: type: "string" stepType: type: "string" tenantId: type: "string" created: type: "string" format: "date-time" lastUpdated: type: "string" format: "date-time" overrideGlobal: type: "boolean" id: type: "string" content: type: "string" AiContextRuleResponse: type: "object" required: - "id" properties: id: type: "string" description: "The id of the AI context rule" tenantId: type: "string" description: "The id of the tenant the rule belongs to" workspaceId: type: "string" description: "The id of the workspace the rule belongs to, or null for a tenant-global\ \ rule" stepType: type: "string" description: "The step type the rule applies to" overrideGlobal: type: "boolean" description: "Whether the workspace rule overrides the tenant-global rule" content: type: "string" description: "The AI context content for the step type" created: type: "integer" format: "int64" description: "The creation timestamp of the rule" lastUpdated: type: "integer" format: "int64" description: "The last updated timestamp of the rule" description: "Response for an AI context rule" AiContextRuleUpdateRequest: type: "object" properties: content: type: "string" description: "The AI context content for the step type" description: "Request that is used for creating or updating an AI context rule" AllowedValue: type: "object" properties: value: type: "string" label: type: "string" AppPublishConfiguration: type: "object" properties: key: type: "string" name: type: "string" deploymentApiUrl: type: "string" unDeploymentApiUrl: type: "string" publishRequestRequired: type: "boolean" description: "Response for the app publish configuration" AppPublishRequest: type: "object" properties: deploymentConfiguration: type: "string" description: "The key of the publish configuration. If not set the default\ \ deployment configuration will be used" newRevisionKey: type: "string" description: "The key of the revision that should be created. If not set then\ \ no revision will be created" newRevisionDescription: type: "string" description: "The description of the revision that should be created. Ignored\ \ if revisionKey is not set" modelTypes: type: "array" description: "The model types that should be published" items: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" description: "Request for publishing an app" AppPublishRequestCommentResponse: type: "object" properties: id: type: "string" description: "The id of the comment" title: type: "string" description: "The title of the comment" content: type: "string" description: "The content of the comment" createdAt: type: "string" example: "2025-01-15T11:01:04.635Z" description: "The timestamp when the comment was created" requestId: type: "string" description: "The id of the publish request this comment belongs to" createdBy: type: "string" description: "The id of the user that created the comment" description: "Response for an app publish request comment" AppPublishRequestResolutionRequest: type: "object" properties: resolutionMessage: type: "string" resolution: type: "string" enum: - "APPROVED" - "REJECTED" AppPublishRequestResponse: type: "object" properties: id: type: "string" description: "The id of the publish request" title: type: "string" description: "The title of the publish request" description: type: "string" description: "The description of the publish request" createdAt: type: "string" example: "2025-01-15T11:01:04.635Z" description: "The timestamp when the publish request was created" workspaceKey: type: "string" description: "The key of the workspace" appKey: type: "string" description: "The key of the app" appModelId: type: "string" description: "The id of the app model" resolution: type: "string" description: "The resolution of the publish request" enum: - "pending" - "published" - "rejected" - "failed" resolutionMessage: type: "string" description: "The resolution message of the publish request" resolvedAt: type: "string" example: "2025-01-15T11:01:04.635Z" description: "The timestamp when the publish request was resolved" resolvedBy: type: "string" description: "The id of the user that resolved the publish request" deploymentId: type: "string" description: "The id of the deployment that was created on the target Work\ \ server when the request was published" createdBy: type: "string" description: "The id of the user that created the publish request" deploymentTarget: type: "string" description: "The deployment target of the publish request" revisionId: type: "string" description: "The id of the revision to publish" revisionKey: type: "string" description: "The key of the revision to publish" workspaceName: type: "string" description: "The name of the workspace" deploymentTargetName: type: "string" description: "The name of the deployment target" description: "Response for an app publish request" Application: type: "object" required: - "id" - "name" - "type" properties: id: type: "string" description: "The id of the application" name: type: "string" description: "The name of the application" type: type: "string" description: "The type of the application" url: type: "string" description: "The public URL of the application" description: "The applications that the user has access to" ArrayNode: type: "object" properties: null: type: "boolean" nodeType: type: "string" enum: - "ARRAY" - "BINARY" - "BOOLEAN" - "MISSING" - "NULL" - "NUMBER" - "OBJECT" - "POJO" - "STRING" array: type: "boolean" empty: type: "boolean" valueNode: type: "boolean" missingNode: type: "boolean" container: type: "boolean" object: type: "boolean" embeddedValue: type: "boolean" string: type: "boolean" short: type: "boolean" double: type: "boolean" bigDecimal: type: "boolean" bigInteger: type: "boolean" textual: type: "boolean" boolean: type: "boolean" binary: type: "boolean" number: type: "boolean" long: type: "boolean" pojo: type: "boolean" int: type: "boolean" integralNumber: type: "boolean" floatingPointNumber: type: "boolean" float: type: "boolean" BaseModelGeneratorSettings: type: "object" properties: generate: type: "boolean" modelKey: type: "string" BaseModelResponse: type: "object" required: - "id" - "key" - "workspaceId" - "workspaceKey" properties: id: type: "string" description: "The technical id of the model" key: type: "string" description: "The key of the model" modelType: type: "string" example: "app" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelSubType: type: "string" example: "text" description: "The sub type of the model" workspaceId: type: "string" description: "The workspace id that the model belongs to" workspaceKey: type: "string" description: "The workspace key that the model belongs to" name: type: "string" description: "The name of the model" description: type: "string" description: "The description of the model" version: type: "integer" format: "int32" description: "The version of the model" paletteDefinitionCategory: type: "string" description: "The category of the palette definition for this model" paletteDefinitionKey: type: "string" description: "The key of the palette definition for this model" createdBy: type: "string" description: "The id of the user that created the model" created: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the model" lastUpdatedBy: type: "string" description: "The id of the user that last the model" lastUpdated: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 last update timestamp of the model" description: "Response for a base model" BeanInfo: type: "object" properties: name: type: "string" type: type: "string" referenceScopeKey: type: "string" referenceScopeType: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" label: type: "string" scopeTypes: type: "array" items: type: "string" Candidate: type: "object" properties: key: type: "string" name: type: "string" ChangeDesignUserPasswordRequest: type: "object" properties: originalPassword: type: "string" password: type: "string" repeatPassword: type: "string" Content: type: "object" CreateAccessTokenRequest: type: "object" required: - "name" properties: name: type: "string" description: "The name of the token" description: type: "string" description: "The description of the token" validFor: type: "string" description: "A positive ISO 8601 duration for which the token should be valid\ \ for. Mutually exclusive with validFor" validUntil: type: "string" description: "The ISO 8601 date until the token should be valid. Mutually\ \ exclusive with validFor" description: "Request for creating an access token for a user" CreateAccessTokenResponse: type: "object" required: - "creationTime" - "id" - "name" - "value" properties: id: type: "string" description: "The id of the token" userId: type: "string" description: "The id of the user that the token belongs to" tenantId: type: "string" description: "The id of the tenant that the token belongs to" name: type: "string" description: "The name of the token" description: type: "string" description: "The description of the token" creationTime: type: "string" description: "The ISO 8601 creation time of the token" expirationTime: type: "string" description: "The ISO 8601 expiry time of the token" value: type: "string" description: "The value of the token. This is only visible when the token\ \ is created. Afterwards it cannot be retrieved." description: "Response for a newly created access token" CreateAppPublishRequestCommentRequest: type: "object" required: - "content" properties: title: type: "string" description: "The title of the comment" content: type: "string" description: "The content of the comment" description: "Request to create an app publish request comment" CreateAppPublishRequestRequest: type: "object" properties: title: type: "string" description: type: "string" deploymentTarget: type: "string" CreateUserRequest: type: "object" required: - "firstName" - "id" - "lastName" properties: id: type: "string" description: "The id of the user" tenantId: type: "string" description: "The tenant id of the user. Only super admin users are allowed\ \ to use this property" firstName: type: "string" description: "The first name of the user." lastName: type: "string" description: "The last name of the user." displayName: type: "string" description: "The display name of the user." email: type: "string" description: "The email of the user." password: type: "string" description: "The password of the user" admin: type: "boolean" description: "Flag indicating that the created user should be an admin user.\ \ Only allowed to be set by admin users" formComponentDeveloper: type: "boolean" description: "Flag indicating that the created user should be a form component\ \ developer user. Only allowed to be set by admin users" description: "Request for creating a user" CustomComponentCreateRequest: type: "object" required: - "key" properties: key: type: "string" description: "The key of the custom component" name: type: "string" description: "The name of the custom component" description: type: "string" description: "The description of the custom component" version: type: "string" description: "The version of the custom component" icon: type: "string" description: "The icon of the custom component" superId: type: "string" description: "The superId of the custom component" groups: type: "array" description: "The groups of the custom component" items: type: "string" description: "Request that is used for creating custom component" CustomComponentResponse: type: "object" required: - "createdAt" - "id" - "installedAt" properties: id: type: "string" description: "The id of the custom component project" key: type: "string" description: "The key of the custom component project" name: type: "string" description: "The name of the custom component project" state: type: "string" description: "The state of the custom component project" uploadedBundleHash: type: "string" description: "The uploaded bundle hash of the custom component project" installedBundleHash: type: "string" description: "The installed bundle hash of the custom component project" appKey: type: "string" description: "The app key reference of the custom component project" workspaceKey: type: "string" description: "The workspace key reference of the custom component project" description: type: "string" description: "The description of the custom component project" createdAt: type: "string" example: "2024-02-15T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the custom component project" installedAt: type: "string" example: "2024-02-15T11:01:04.635Z" description: "The latest ISO 8601 installation date timestamp of the custom\ \ component project" tenantId: type: "string" description: "The tenant id of the custom component project" description: "Response for a custom component project" CustomComponentUpdateRequest: type: "object" properties: name: type: "string" description: "The name of the custom component" description: type: "string" description: "The description of the custom component" version: type: "string" description: "The version of the custom component" icon: type: "string" description: "The icon of the custom component" groups: type: "array" description: "The groups of the custom component" items: type: "string" superId: type: "string" description: "The super id of the custom component" properties: description: "The properties of the custom component" $ref: "#/definitions/JsonNode" description: "Request that is used for creating custom component" CustomProjectCreateRequest: type: "object" required: - "appKey" - "key" - "workspaceKey" properties: key: type: "string" description: "The key of the custom project" name: type: "string" description: "The name of the custom project" state: type: "string" description: "The state of the custom project" uploadedBundleHash: type: "string" description: "The uploaded bundle hash of the custom project" appKey: type: "string" description: "The app reference key of the custom project" workspaceKey: type: "string" description: "The workspace reference key of the custom project" description: type: "string" description: "The description of the custom project" description: "Request that is used for creating custom projects" CustomProjectUpdateRequest: type: "object" required: - "appKey" - "workspaceKey" properties: name: type: "string" description: "The name of the custom project" appKey: type: "string" description: "The app reference key of the custom project" workspaceKey: type: "string" description: "The workspace reference key of the custom project" description: type: "string" description: "The description of the custom project" description: "Request that is used for updating custom projects" CustomRoleAssignmentUpdateRequest: type: "object" properties: identityLinksToAdd: type: "array" description: "The users/groups the global role should be assigned to" items: $ref: "#/definitions/RestIdentityLinkResponse" identityLinksToRemove: type: "array" description: "The users/groups the global role should be unassigned from" items: $ref: "#/definitions/RestIdentityLinkResponse" description: "Request for adding/removing the tenant-wide assignments of a global\ \ custom role" CustomRoleCreateRequest: type: "object" required: - "key" properties: key: type: "string" description: "The unique key of the custom role within the tenant" type: type: "string" description: "The type of the custom role: 'scoped' (assignable on workspaces/apps)\ \ or 'global' (tenant-wide privileges assigned directly to users/groups).\ \ Defaults to 'scoped'." enum: - "scoped" - "global" name: type: "string" description: "The display name of the custom role" description: type: "string" description: "An optional human-readable description of the custom role" permissions: type: "array" description: "The set of permission strings granted by this custom role" uniqueItems: true items: type: "string" tenantId: type: "string" description: "The tenant id of the custom role. Only super-admins may specify\ \ a tenant other than their own." description: "Request body for creating a custom role" CustomRoleIdentityLinkResponse: type: "object" properties: userId: type: "string" description: "The id of the user the custom role is assigned to, or null for\ \ a group assignment" groupId: type: "string" description: "The id of the group the custom role is assigned to, or null\ \ for a user assignment" scopeType: type: "string" description: "The type of the scope the custom role is assigned on" enum: - "workspace" - "model" scopeId: type: "string" description: "The id of the workspace or app model the custom role is assigned\ \ on" scopeName: type: "string" description: "The name of the workspace or app model the custom role is assigned\ \ on" workspaceKey: type: "string" description: "The key of the workspace the custom role is assigned on (for\ \ app scope, the workspace the app belongs to)" packageKey: type: "string" description: "The key of the app the custom role is assigned on, or null for\ \ a workspace assignment" packageType: type: "string" description: "The package type (app or plugin) of the app the custom role\ \ is assigned on, or null for a workspace assignment" description: "A single assignment of a custom role to a user or group on a workspace\ \ or app" CustomRolePermissionsResponse: type: "object" properties: workspace: type: "array" description: "All workspace-level permission strings" uniqueItems: true items: type: "string" global: type: "array" description: "All global (tenant-wide) permission strings assignable to a\ \ global custom role. These are Design privileges resolved into access-\ \ authorities at login." uniqueItems: true items: type: "string" package: type: "array" description: "All package-level permission strings. These are package-type-agnostic\ \ and apply to both app and plugin workspaces; the concrete permission is\ \ derived from the workspace's package type." uniqueItems: true items: type: "string" description: "The catalog of permission strings that can be assigned to a custom\ \ role, grouped by category" CustomRoleResponse: type: "object" required: - "id" - "key" - "tenantId" properties: id: type: "string" description: "The technical id of the custom role" key: type: "string" description: "The unique key of the custom role within the tenant" tenantId: type: "string" description: "The tenant id of the custom role" type: type: "string" description: "The type of the custom role: 'scoped' (assignable on workspaces/apps)\ \ or 'global' (tenant-wide privileges assigned directly to users/groups)." enum: - "scoped" - "global" name: type: "string" description: "The display name of the custom role" description: type: "string" description: "An optional description of the custom role" permissions: type: "array" description: "The permission strings granted by this custom role" uniqueItems: true items: type: "string" createdAt: type: "string" example: "2026-01-15T08:30:00Z" description: "ISO 8601 creation timestamp" createdBy: type: "string" description: "The user that created this custom role" updatedAt: type: "string" example: "2026-01-15T08:30:00Z" description: "ISO 8601 last update timestamp" updatedBy: type: "string" description: "The user that last updated this custom role" description: "Response for a custom role" CustomRoleUpdateRequest: type: "object" properties: name: type: "string" description: "The display name of the custom role" description: type: "string" description: "An optional human-readable description of the custom role" permissions: type: "array" description: "The set of permission strings granted by this custom role" uniqueItems: true items: type: "string" tenantId: type: "string" description: "The tenant id of the custom role. Only super-admins may specify\ \ a tenant other than their own." description: "Request body for updating a custom role. Properties that are not\ \ included are left unchanged." DataModelResponse: type: "object" properties: modelKey: type: "string" modelType: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" variableInfo: type: "array" items: $ref: "#/definitions/ModelVariableInfo" description: "Response for the data model of a model" DataObjectFieldInfoResponse: type: "object" properties: fields: type: "array" items: $ref: "#/definitions/FieldMapping" relatedDataObjects: type: "object" additionalProperties: $ref: "#/definitions/RelatedDataObjectInfo" DataResponse: type: "object" properties: data: type: "array" items: type: "object" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseAccessTokenResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/AccessTokenResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseAppPublishConfiguration: type: "object" properties: data: type: "array" items: $ref: "#/definitions/AppPublishConfiguration" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseAppPublishRequestCommentResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/AppPublishRequestCommentResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseAppPublishRequestResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/AppPublishRequestResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseCustomComponentResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/CustomComponentResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseCustomRoleResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/CustomRoleResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseGroupResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/GroupResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseLinkedPluginResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/LinkedPluginResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseModelDetailsResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ModelDetailsResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseModelHistoryResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ModelHistoryResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseModelResourceResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ModelResourceResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseModelResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ModelResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseModelTagResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ModelTagResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseModelingIdentity: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ModelingIdentity" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponsePackageRevisionResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/PackageRevisionResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponsePluginModelUsageInfo: type: "object" properties: data: type: "array" items: $ref: "#/definitions/PluginModelUsageInfo" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponsePluginResourceResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/PluginResourceResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponsePluginResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/PluginResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseTenantResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/TenantResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseTestSetResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/TestSetResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseUserResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/UserResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseWorkspaceResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/WorkspaceResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataTableInputParameterRepresentation: type: "object" properties: name: type: "string" label: type: "string" type: type: "string" required: type: "boolean" DataTableOutputParameterRepresentation: type: "object" properties: name: type: "string" label: type: "string" type: type: "string" isVariable: type: "boolean" DataTableParametersRepresentation: type: "object" properties: inputParameters: type: "array" items: $ref: "#/definitions/DataTableInputParameterRepresentation" outputParameters: type: "array" items: $ref: "#/definitions/DataTableOutputParameterRepresentation" DeleteModelInWorkspaceRequest: type: "object" properties: deleteChildModels: type: "boolean" description: "Whether to also delete the models that are only referenced by\ \ the model being deleted." forceDelete: type: "boolean" description: "Whether to delete the model even if it is being used by other\ \ models." description: "Request for deleting a model in a workspace" DesignCurrentUserResponse: type: "object" required: - "id" properties: id: type: "string" example: "john.doe" description: "The id of the user" firstName: type: "string" example: "John" description: "The first name if the user" lastName: type: "string" example: "Doe" description: "The last name of the user" displayName: type: "string" example: "John Doe" description: "The display name of the user" email: type: "string" example: "no-reply@flowable.org" description: "The email of the user" allowedFeatures: type: "array" description: "The allowed features for the current user" uniqueItems: true items: type: "string" memberGroups: type: "array" description: "The member groups for the current user" uniqueItems: true items: type: "string" adminType: type: "string" description: "The type of the admin user, if this user is an admin" enum: - "superAdmin" - "tenantAdmin" defaultWorkspace: type: "string" description: "The key of the default workspace for the user" originalAuthentication: description: "The original authentication for the current user. Only present\ \ if the current user is being impersonated." $ref: "#/definitions/OriginalAuthentication" availableApplications: type: "object" description: "The available applications for the current user" additionalProperties: $ref: "#/definitions/Application" description: "The response for a current user" Element: type: "object" properties: id: type: "string" name: type: "string" type: type: "string" propertyId: type: "string" propertyName: type: "string" EntityInfoResponse: type: "object" properties: restApiBaseUrl: type: "string" entityName: type: "string" entityLabel: type: "string" entityLabelPlural: type: "string" entityCreateable: type: "boolean" entityUpdateable: type: "boolean" entityDeleteable: type: "boolean" fields: type: "array" items: $ref: "#/definitions/FieldInfo" EntityListResponse: type: "object" properties: entities: type: "array" items: $ref: "#/definitions/EntityInfoResponse" ExecuteTestSetRequest: type: "object" properties: scopeModelContent: $ref: "#/definitions/JsonNode" testKeys: type: "array" items: type: "string" testSet: $ref: "#/definitions/TestSetExecutionOverride" ExportPackageRequest: type: "object" properties: excludeChildReferences: type: "boolean" description: "Whether the references of the children should be excluded when\ \ exporting the package." excludePackageDocuments: type: "boolean" description: "Whether package documents of the package should be excluded\ \ when exporting the package." modelTypes: type: "array" description: "The model types that should be exported" items: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" description: "Request that is used for exporting a package" ExportTranslationsRequest: type: "object" description: "Request that is used for exporting app translations" ExpressionConfiguration: type: "object" properties: functionDelegates: type: "array" items: $ref: "#/definitions/FunctionDelegateInfo" types: type: "array" items: $ref: "#/definitions/TypeInfo" beans: type: "array" items: $ref: "#/definitions/BeanInfo" FieldInfo: type: "object" properties: name: type: "string" label: type: "string" description: type: "string" updateable: type: "boolean" createable: type: "boolean" nameField: type: "boolean" required: type: "boolean" readonly: type: "boolean" idLookupField: type: "boolean" customField: type: "boolean" type: type: "string" maxLength: type: "integer" format: "int32" FieldMapping: type: "object" properties: label: type: "string" name: type: "string" type: type: "string" lookupId: type: "boolean" defaultValue: type: "object" description: type: "string" dataObjectModelKey: type: "string" dataObjectModelRelationshipType: type: "string" readonly: type: "boolean" required: type: "boolean" FileSystem: type: "object" properties: open: type: "boolean" readOnly: type: "boolean" separator: type: "string" rootDirectories: $ref: "#/definitions/IterablePath" fileStores: $ref: "#/definitions/IterableFileStore" userPrincipalLookupService: $ref: "#/definitions/UserPrincipalLookupService" FunctionDelegateInfo: type: "object" properties: id: type: "string" prefix: type: "string" name: type: "string" label: type: "string" description: type: "string" operatorAlternative: type: "string" returnType: type: "string" scopeTypes: type: "array" items: type: "string" parameters: type: "array" items: $ref: "#/definitions/FunctionParameterInfo" FunctionParameterInfo: type: "object" properties: name: type: "string" allowedTypes: type: "array" items: type: "string" allowedVariableScopes: type: "array" items: type: "string" varArgs: type: "boolean" GeneratorMessage: type: "object" properties: message: type: "string" GitApplyPRResolutionsRequest: type: "object" properties: targetBranch: type: "string" resolutions: type: "array" items: $ref: "#/definitions/Resolution" importEntries: type: "array" items: $ref: "#/definitions/ImportEntry" GitBranchRequest: type: "object" properties: branch: type: "string" GitBranchToWorkspaceRequest: type: "object" properties: branch: type: "string" createBranch: type: "boolean" targetWorkspaceKey: type: "string" appKey: type: "string" appName: type: "string" GitBranchWorkspaceResponse: type: "object" properties: workspaceKey: type: "string" appKey: type: "string" gitConfig: $ref: "#/definitions/GitRepositoryConfigResponse" GitCloneResponse: type: "object" properties: appKey: type: "string" appName: type: "string" gitConfig: $ref: "#/definitions/GitRepositoryConfigResponse" GitCommitRequest: type: "object" properties: message: type: "string" pullFirst: type: "boolean" selectedModels: type: "object" additionalProperties: type: "array" items: type: "string" GitCommitResponse: type: "object" properties: commitHash: type: "string" message: type: "string" author: type: "string" timestamp: type: "integer" format: "int64" changedFiles: type: "array" items: type: "string" GitConflictDetail: type: "object" properties: fileName: type: "string" modelKey: type: "string" modelName: type: "string" modelType: type: "string" remoteCommitMessage: type: "string" remoteCommitAuthor: type: "string" remoteCommitDate: type: "integer" format: "int64" localLastUpdatedBy: type: "string" localLastUpdated: type: "integer" format: "int64" GitCreatePRRequest: type: "object" properties: targetBranch: type: "string" title: type: "string" description: type: "string" commitMessage: type: "string" selectedModels: type: "object" additionalProperties: type: "array" items: type: "string" GitLocalChangeResponse: type: "object" properties: modelKey: type: "string" modelName: type: "string" modelType: type: "string" lastUpdatedBy: type: "string" lastUpdated: type: "integer" format: "int64" GitPRDiffResponse: type: "object" properties: modelKey: type: "string" modelType: type: "string" modelName: type: "string" changeType: type: "string" hasConflict: type: "boolean" locallyModified: type: "boolean" GitProviderConfigResponse: type: "object" properties: id: type: "string" name: type: "string" providerType: type: "string" serverUrl: type: "string" workspaceId: type: "string" hasPrivateKey: type: "boolean" hasAccessToken: type: "boolean" appId: type: "string" installationId: type: "string" username: type: "string" createdBy: type: "string" createdAt: type: "integer" format: "int64" updatedAt: type: "integer" format: "int64" authType: type: "string" defaultProvider: type: "boolean" GitProviderCreateRequest: type: "object" properties: name: type: "string" providerType: type: "string" serverUrl: type: "string" appId: type: "string" privateKey: type: "string" installationId: type: "string" accessToken: type: "string" username: type: "string" workspaceKey: type: "string" authType: type: "string" defaultProvider: type: "boolean" GitProviderTestResponse: type: "object" properties: success: type: "boolean" message: type: "string" GitProviderTypeResponse: type: "object" properties: type: type: "string" displayName: type: "string" supportedAuthTypes: type: "array" items: type: "string" serverUrlSupported: type: "boolean" GitPullRequestResponse: type: "object" properties: prUrl: type: "string" prNumber: type: "integer" format: "int32" title: type: "string" GitPullResponse: type: "object" properties: success: type: "boolean" hasConflicts: type: "boolean" conflicts: type: "array" items: $ref: "#/definitions/GitConflictDetail" GitRemoteRepositoryResponse: type: "object" properties: fullName: type: "string" name: type: "string" description: type: "string" cloneUrl: type: "string" defaultBranch: type: "string" private: type: "boolean" GitRepositoryConfigResponse: type: "object" properties: id: type: "string" repositoryUrl: type: "string" branch: type: "string" syncStatus: type: "string" lastSyncTime: type: "integer" format: "int64" providerId: type: "string" providerName: type: "string" providerType: type: "string" repositoryWebUrl: type: "string" subPath: type: "string" GitResolveConflictsRequest: type: "object" properties: commitMessage: type: "string" resolutions: type: "array" items: $ref: "#/definitions/Resolution" push: type: "boolean" GitRevertRequest: type: "object" properties: models: type: "object" additionalProperties: type: "array" items: type: "string" GitSetupRequest: type: "object" properties: branch: type: "string" providerId: type: "string" repositoryFullName: type: "string" subPath: type: "string" GitStashEntryResponse: type: "object" properties: id: type: "string" message: type: "string" createdBy: type: "string" createdAt: type: "integer" format: "int64" models: type: "object" additionalProperties: type: "array" items: type: "string" GitStashRequest: type: "object" properties: message: type: "string" models: type: "object" additionalProperties: type: "array" items: type: "string" GitStatusResponse: type: "object" properties: syncStatus: type: "string" errorMessage: type: "string" GroupResponse: type: "object" required: - "key" properties: key: type: "string" example: "admin" description: "The key of the group" name: type: "string" example: "admin" description: "The name of the group" tenantId: type: "string" example: "megacorp" description: "The tenant id of the group" type: type: "string" example: "admin" description: "The type of the group" description: "The response for a Group" ImportEntry: type: "object" properties: modelKey: type: "string" modelType: type: "string" ImportModelRequest: type: "object" properties: file: $ref: "#/definitions/MultipartFile" importStrategy: type: "string" description: "Request that is used for importing a model" ImportModelResponse: type: "object" properties: modelType: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelKey: type: "string" ImportTranslationsRequest: type: "object" properties: file: $ref: "#/definitions/MultipartFile" description: "Request that is used for importing app translations" InputStream: type: "object" InstallPluginPackageRequest: type: "object" properties: tenantId: type: "string" global: type: "boolean" InstallPluginRevisionRequest: type: "object" properties: tenantId: type: "string" global: type: "boolean" Iterable: type: "object" IterableFileStore: type: "object" IterablePath: type: "object" JsonNode: type: "object" properties: string: type: "boolean" valueNode: type: "boolean" missingNode: type: "boolean" short: type: "boolean" double: type: "boolean" bigDecimal: type: "boolean" bigInteger: type: "boolean" textual: type: "boolean" boolean: type: "boolean" container: type: "boolean" object: type: "boolean" binary: type: "boolean" number: type: "boolean" nodeType: type: "string" enum: - "ARRAY" - "BINARY" - "BOOLEAN" - "MISSING" - "NULL" - "NUMBER" - "OBJECT" - "POJO" - "STRING" long: type: "boolean" pojo: type: "boolean" int: type: "boolean" integralNumber: type: "boolean" floatingPointNumber: type: "boolean" array: type: "boolean" empty: type: "boolean" null: type: "boolean" float: type: "boolean" embeddedValue: type: "boolean" LicenseResponse: type: "object" properties: licensee: type: "string" primaryContact: type: "string" issueDate: type: "string" format: "date-time" productLicenses: type: "array" items: $ref: "#/definitions/ProductLicenseResponse" LinkedPluginResponse: type: "object" required: - "fixedVersion" - "id" - "installationDate" - "key" - "releaseDate" - "version" properties: id: type: "string" description: "The technical id of the plugin" key: type: "string" description: "The key of the plugin" version: type: "string" description: "The version of the plugin" tenantId: type: "string" description: "The tenant id that the plugin belongs to" global: type: "boolean" description: "Flag indicating whether the plugin is a global plugin" name: type: "string" description: "The name of the plugin" description: type: "string" description: "The description of the plugin" releaseDate: type: "string" example: "2024-05-02T11:01:04.635Z" description: "The ISO 8601 release date of the plugin" installationDate: type: "string" example: "2024-05-02T11:01:04.635Z" description: "The ISO 8601 installation date of the plugin" fixedVersion: type: "boolean" description: "Flag indicating whether the plugin is linked with a fixed version" description: "Response for a plugin that is linked to a scope" McpDiscoverToolsRequest: type: "object" properties: url: type: "string" headers: type: "object" additionalProperties: type: "string" McpDiscoverToolsResponse: type: "object" properties: tools: type: "array" items: $ref: "#/definitions/McpToolInfoResponse" McpInvokeToolRequest: type: "object" properties: url: type: "string" headers: type: "object" additionalProperties: type: "string" toolName: type: "string" arguments: type: "object" additionalProperties: type: "object" McpInvokeToolResponse: type: "object" properties: content: type: "array" items: $ref: "#/definitions/Content" structuredContent: type: "object" error: type: "boolean" McpToolInfoResponse: type: "object" properties: name: type: "string" title: type: "string" description: type: "string" inputParameters: type: "array" items: $ref: "#/definitions/Parameter" MissingModelRef: type: "object" properties: modelType: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelKey: type: "string" candidates: type: "array" items: $ref: "#/definitions/Candidate" ModelCompareResponse: type: "object" properties: diff: type: "object" description: "The diff object holding additions, removals and changes" sourceModel: type: "object" description: "The model definition of the source side of the comparison." targetModel: type: "object" description: "The model definition of the target side of the comparison." baseModel: type: "object" description: "The base model definition (common ancestor) for three-way comparison." description: "Response for a model comparison" ModelContentUpdateRequest: type: "object" required: - "content" properties: content: type: "object" description: "The model definition content. Depending on the modelType this\ \ can be a json object or a string" svg: type: "string" description: "The model definition SVG. If the model does not have an SVG\ \ this should not be set" png: type: "string" description: "The model definition PNG image, sent as a base64 encoded string.\ \ If the model does not have a PNG image this should not be set" newVersion: type: "boolean" description: "Whether a new version to be created when updating the model" description: "Request for updating a model" ModelCreateRequest: type: "object" required: - "key" - "type" properties: key: type: "string" description: "The key of the model" type: type: "string" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" name: type: "string" description: "The name of the model" description: type: "string" description: "The description of the model" paletteDefinitionCategory: type: "string" description: "The category of the available palette definitions for models\ \ in this app" paletteDefinitionKey: type: "string" description: "The key of the palette definition for this model" visibility: type: "string" description: "The optional visibility of the model. If not set it will be\ \ created based on the type of the model" enum: - "public" - "private" - "internal" tags: type: "array" description: "The tags that should be set on the model when creating it" items: type: "string" useAsModelTemplate: type: "boolean" description: "Flag indicating that this model should be used as a model template" modelTemplateKey: type: "string" description: "The key of the model that should be used as a template when\ \ creating this model" content: type: "object" description: "The content of the model that should be created. This should\ \ either be a string or an object" relatedModelKey: type: "string" description: "The key of the model that the created model is related it. Mandatory\ \ if relatedModelType is set." relatedModelType: type: "string" description: "The model type of the model that the created model is related\ \ it. Mandatory if relatedModelKey is set." enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" description: "Request for creating a new model" ModelDetailsResponse: type: "object" required: - "id" - "key" - "workspaceId" - "workspaceKey" properties: id: type: "string" description: "The technical id of the model" key: type: "string" description: "The key of the model" modelType: type: "string" example: "app" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelSubType: type: "string" example: "text" description: "The sub type of the model" workspaceId: type: "string" description: "The workspace id that the model belongs to" workspaceKey: type: "string" description: "The workspace key that the model belongs to" name: type: "string" description: "The name of the model" description: type: "string" description: "The description of the model" version: type: "integer" format: "int32" description: "The version of the model" paletteDefinitionCategory: type: "string" description: "The category of the palette definition for this model" paletteDefinitionKey: type: "string" description: "The key of the palette definition for this model" createdBy: type: "string" description: "The id of the user that created the model" created: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the model" lastUpdatedBy: type: "string" description: "The id of the user that last the model" lastUpdated: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 last update timestamp of the model" visibility: type: "string" description: "The visibility of the model" enum: - "public" - "private" - "internal" lockedBy: type: "string" description: "The id of the user that has the lock on the model" lockedAt: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 timestamp of the lock time of the model" tags: type: "array" description: "The tags of the model" items: type: "string" template: type: "boolean" example: true description: "Flag indicating whether this model is a model template" child: type: "boolean" description: "Flag indicating whether this model is a direct child of the\ \ app in which it was requested. If not set then it is not known" starred: type: "boolean" description: "Flag indicating whether this model is starred by the user querying\ \ it. If not set then it is not known" modelState: type: "array" description: "The state that the model is at. If not set then it is not known" items: type: "string" enum: - "EDITABLE" - "LOCKING_ENABLED" - "NEEDS_MIGRATION" validationStatus: type: "string" description: "The validation status of the model" permissions: type: "array" description: "The permissions that the user requesting the model is allowed\ \ to do" items: type: "string" content: type: "object" description: "The model definition content. Depending on the modelType this\ \ can be a json object or a string" description: "Detailed response for a model" ModelDuplicateRequest: type: "object" required: - "key" properties: key: type: "string" description: "The new key of the model" name: type: "string" description: "The new name of the model. If not provided the one from the\ \ model being duplicated will be used" description: type: "string" description: "The new description of the model. If not provided the one from\ \ the model being duplicated will be used" visibility: type: "string" description: "The new visibility of the model. If not provided the one from\ \ the model being duplicated will be used" enum: - "public" - "private" - "internal" tags: type: "array" description: "The new tags of the model. If not provided the ones from the\ \ model being duplicated will be used" items: type: "string" duplicateReferences: type: "boolean" description: "Whether referenced models should be duplicated as well." description: "Request for duplicating a model" ModelGeneratorResponse: type: "object" properties: generatorMessages: type: "array" items: $ref: "#/definitions/GeneratorMessage" service: $ref: "#/definitions/ObjectNode" dataDictionary: $ref: "#/definitions/ObjectNode" dataObject: $ref: "#/definitions/ObjectNode" forms: type: "object" additionalProperties: $ref: "#/definitions/ObjectNode" pages: type: "object" additionalProperties: $ref: "#/definitions/ObjectNode" ModelHistoryDetailsResponse: type: "object" required: - "id" - "key" - "modelId" - "workspaceId" - "workspaceKey" properties: id: type: "string" description: "The technical id of the model" key: type: "string" description: "The key of the model" modelType: type: "string" example: "app" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelSubType: type: "string" example: "text" description: "The sub type of the model" workspaceId: type: "string" description: "The workspace id that the model belongs to" workspaceKey: type: "string" description: "The workspace key that the model belongs to" name: type: "string" description: "The name of the model" description: type: "string" description: "The description of the model" version: type: "integer" format: "int32" description: "The version of the model" paletteDefinitionCategory: type: "string" description: "The category of the palette definition for this model" paletteDefinitionKey: type: "string" description: "The key of the palette definition for this model" createdBy: type: "string" description: "The id of the user that created the model" created: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the model" lastUpdatedBy: type: "string" description: "The id of the user that last the model" lastUpdated: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 last update timestamp of the model" modelId: type: "string" description: "The id of the model that this model is linked to" tags: type: "array" description: "The tags of the model" items: type: "string" content: type: "object" description: "The model definition content. Depending on the modelType this\ \ can be a json object or a string" description: "Response for a model history details" ModelHistoryRequest: type: "object" properties: action: type: "string" enum: - "useAsNewVersion" comment: type: "string" description: "Request for executing an action on a historic model" ModelHistoryResponse: type: "object" required: - "id" - "key" - "modelId" - "workspaceId" - "workspaceKey" properties: id: type: "string" description: "The technical id of the model" key: type: "string" description: "The key of the model" modelType: type: "string" example: "app" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelSubType: type: "string" example: "text" description: "The sub type of the model" workspaceId: type: "string" description: "The workspace id that the model belongs to" workspaceKey: type: "string" description: "The workspace key that the model belongs to" name: type: "string" description: "The name of the model" description: type: "string" description: "The description of the model" version: type: "integer" format: "int32" description: "The version of the model" paletteDefinitionCategory: type: "string" description: "The category of the palette definition for this model" paletteDefinitionKey: type: "string" description: "The key of the palette definition for this model" createdBy: type: "string" description: "The id of the user that created the model" created: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the model" lastUpdatedBy: type: "string" description: "The id of the user that last the model" lastUpdated: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 last update timestamp of the model" modelId: type: "string" description: "The id of the model that this model is linked to" tags: type: "array" description: "The tags of the model" items: type: "string" description: "Response for a model history" ModelImportResultResponse: type: "object" properties: details: description: "The details of the imported model" $ref: "#/definitions/ModelResponse" importedModels: type: "array" description: "The information about all the models that were imported" items: $ref: "#/definitions/ImportModelResponse" description: "Response for a result of a model import" ModelInfo: type: "object" required: - "key" - "type" properties: key: type: "string" description: "The key of the model" name: type: "string" description: "The name of the model" type: type: "string" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" root: type: "boolean" description: "Whether this is a root model, i.e. it is not used by any other\ \ model" children: type: "array" description: "All the models linked to this model" uniqueItems: true items: $ref: "#/definitions/ModelInfo" ModelParentRelationSummary: type: "object" properties: usedInPackage: type: "boolean" description: "Flag indicating whether the model is used in the package directly" packageCount: type: "integer" format: "int64" description: "Count indicating in how many apps / plugins the model is used" modelsCount: type: "integer" format: "int64" description: "Count indicating in how many modes the model is used" description: "Response for a model parent relation summary" ModelRelationInfoResponse: type: "object" required: - "modelKey" - "modelName" - "modelType" properties: packageModelKey: type: "string" description: "The key of the package if the model is included in a package" packageModelName: type: "string" description: "The name of the package if the model is included in a package" modelKey: type: "string" description: "The key of the model" modelType: type: "string" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelName: type: "string" description: "The key of the model" workspaceKey: type: "string" description: "The key of the workspace" workspaceName: type: "string" description: "The name of the workspace" description: "Response for a model relation information" ModelRemoveRequest: type: "object" properties: deleteChildModels: type: "boolean" description: "Whether to also delete the models that are only referenced by\ \ the model being deleted." deleteModel: type: "boolean" description: "Delete the model. The deletion will fail if the model is used\ \ by other models." forceDelete: type: "boolean" description: "Force delete the model. This will delete the model even if it\ \ is used linked by other models." description: "Request for deleting a model in a package" ModelResourceResponse: type: "object" required: - "id" properties: id: type: "string" description: "The technical id of the resource" name: type: "string" description: "The name of the resource" creationTime: type: "string" example: "2022-10-15T10:21:15Z" description: "The creation time of the resource in ISO 8601 format" creatorId: type: "string" description: "The user id of the user who created the resource" updateTime: type: "string" example: "2022-10-15T10:21:15Z" description: "The updated time of the resource in ISO 8601 format" updaterId: type: "string" description: "The user id of the user who updated the resource the last time" contentType: type: "string" description: "The content type of the resource" description: "Response for a model resource" ModelResponse: type: "object" required: - "id" - "key" - "workspaceId" - "workspaceKey" properties: id: type: "string" description: "The technical id of the model" key: type: "string" description: "The key of the model" modelType: type: "string" example: "app" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelSubType: type: "string" example: "text" description: "The sub type of the model" workspaceId: type: "string" description: "The workspace id that the model belongs to" workspaceKey: type: "string" description: "The workspace key that the model belongs to" name: type: "string" description: "The name of the model" description: type: "string" description: "The description of the model" version: type: "integer" format: "int32" description: "The version of the model" paletteDefinitionCategory: type: "string" description: "The category of the palette definition for this model" paletteDefinitionKey: type: "string" description: "The key of the palette definition for this model" createdBy: type: "string" description: "The id of the user that created the model" created: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the model" lastUpdatedBy: type: "string" description: "The id of the user that last the model" lastUpdated: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 last update timestamp of the model" visibility: type: "string" description: "The visibility of the model" enum: - "public" - "private" - "internal" lockedBy: type: "string" description: "The id of the user that has the lock on the model" lockedAt: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 timestamp of the lock time of the model" tags: type: "array" description: "The tags of the model" items: type: "string" template: type: "boolean" example: true description: "Flag indicating whether this model is a model template" child: type: "boolean" description: "Flag indicating whether this model is a direct child of the\ \ app in which it was requested. If not set then it is not known" starred: type: "boolean" description: "Flag indicating whether this model is starred by the user querying\ \ it. If not set then it is not known" modelState: type: "array" description: "The state that the model is at. If not set then it is not known" items: type: "string" enum: - "EDITABLE" - "LOCKING_ENABLED" - "NEEDS_MIGRATION" validationStatus: type: "string" description: "The validation status of the model" permissions: type: "array" description: "The permissions that the user requesting the model is allowed\ \ to do" items: type: "string" description: "Response for a model" ModelStartFormResponse: type: "object" properties: hasStartForm: type: "boolean" startFormKey: type: "string" ModelTagCreateRequest: type: "object" required: - "name" properties: name: type: "string" description: "The name of the tag" tenantId: type: "string" description: "The id of the tenant in which the tag needs to be created. Only\ \ allowed for super admins" description: "Request for creating a model tag" ModelTagResponse: type: "object" required: - "id" - "name" - "tenantId" properties: id: type: "string" description: "The technical id of the model tag" name: type: "string" description: "The name of the model tag" tenantId: type: "string" description: "The tenant id that the model belongs to" description: "Response for a model tag" ModelTagUpdateRequest: type: "object" required: - "name" properties: name: type: "string" description: "The name of the tag" description: "Request for updating a model tag" ModelUpdateKeyRequest: type: "object" properties: key: type: "string" description: "The new key of the model." description: "Request for updating a model key" ModelUpdateRequest: type: "object" properties: name: type: "string" description: "The name of the model." description: type: "string" description: "The description of the model." tags: type: "array" description: "The tags of the model." items: type: "string" useAsModelTemplate: type: "boolean" description: "Flag indicating whether the model should be used as model template." description: "Request for updating a model" ModelValidationResponse: type: "object" properties: validations: type: "array" items: $ref: "#/definitions/ValidationDto" validationStatus: type: "string" description: "Response for the model validations" ModelVariableInfo: type: "object" properties: scopeKey: type: "string" scopeType: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" scopeName: type: "string" types: type: "array" items: $ref: "#/definitions/TypeInfo" variables: type: "array" items: $ref: "#/definitions/Variable" readVariables: type: "array" items: $ref: "#/definitions/ReadVariable" referenceVariables: type: "array" items: $ref: "#/definitions/ReferenceVariable" ModelingIdentity: type: "object" required: - "id" properties: id: type: "string" description: "The id of the modelling identity" displayName: type: "string" description: "The display name of the modelling identity" type: type: "string" description: "The type of the modelling identity" enum: - "user" - "group" description: "The response for a modeling identity" ModelingSearchRequest: type: "object" properties: sourceIndex: type: "string" queryModel: $ref: "#/definitions/JsonNode" queryParams: type: "object" additionalProperties: type: "object" sort: type: "string" order: type: "string" MultipartFile: type: "object" properties: contentType: type: "string" originalFilename: type: "string" name: type: "string" bytes: type: "array" items: type: "string" format: "byte" empty: type: "boolean" resource: $ref: "#/definitions/Resource" size: type: "integer" format: "int64" inputStream: $ref: "#/definitions/InputStream" ObjectNode: type: "object" properties: object: type: "boolean" nodeType: type: "string" enum: - "ARRAY" - "BINARY" - "BOOLEAN" - "MISSING" - "NULL" - "NUMBER" - "OBJECT" - "POJO" - "STRING" empty: type: "boolean" valueNode: type: "boolean" missingNode: type: "boolean" container: type: "boolean" embeddedValue: type: "boolean" array: type: "boolean" null: type: "boolean" string: type: "boolean" short: type: "boolean" double: type: "boolean" bigDecimal: type: "boolean" bigInteger: type: "boolean" textual: type: "boolean" boolean: type: "boolean" binary: type: "boolean" number: type: "boolean" long: type: "boolean" pojo: type: "boolean" int: type: "boolean" integralNumber: type: "boolean" floatingPointNumber: type: "boolean" float: type: "boolean" OriginalAuthentication: type: "object" required: - "id" properties: id: type: "string" description: "The id of the user doing the impersonation" description: "The original authentication for a current user." PackageDeleteRequest: type: "object" properties: deleteChildModels: type: "boolean" description: "Whether to also delete the models that are only referenced by\ \ the model being deleted." undeployApp: type: "boolean" description: "Whether to also undeploy the application being deleted" undeployConfiguration: type: "string" description: "The undeploy configuration that should be used. If this is set\ \ then the value of undeployApp is ignored" description: "Request for deleting a package" PackageModelHierarchy: type: "object" required: - "key" properties: key: type: "string" description: "The key of the package" name: type: "string" description: "The name of the package" children: type: "array" description: "All the models linked to the package" uniqueItems: true items: $ref: "#/definitions/ModelInfo" description: "Response for the package hierarchy" PackageModelUpdateModelsRequest: type: "object" properties: modelsToInclude: type: "array" description: "The models that should be included in the package" items: $ref: "#/definitions/ModelInfo" modelsToRemove: type: "array" description: "The models that should be removed from the package" items: $ref: "#/definitions/ModelInfo" description: "Request for updating the package included models" PackageModelUpdateRequest: type: "object" properties: name: type: "string" description: "The name of the model." description: type: "string" description: "The description of the model." tags: type: "array" description: "The tags of the model." items: type: "string" useAsModelTemplate: type: "boolean" description: "Flag indicating whether the model should be used as model template." content: type: "object" description: "The model definition content. Depending on the modelType this\ \ can be a json object or a string" newVersion: type: "boolean" description: "Whether a new version to be created when updating the model" description: "Request for updating a package model" PackageModelingConfiguration: type: "object" properties: primaryLanguage: type: "string" example: "en_us" description: "The primary language used for modeling" secondaryLanguages: type: "array" example: "fr_fr" description: "The secondary languages used for modeling" items: type: "string" scriptingLanguages: type: "array" example: "javascript" description: "The available scripting languages for modeling" items: type: "string" expressions: $ref: "#/definitions/ExpressionConfiguration" description: "Response for the package modeling configuration" PackageMoveWorkspaceRequest: type: "object" properties: targetWorkspaceKey: type: "string" description: "The key of the target workspace" clashStrategy: type: "string" description: "renewKeyOnClash or overwriteOnClash. A clash occurs if the the\ \ key of a model already exists in the target workspace." conflictStrategy: type: "string" description: "copyConflictedModels or copyConflictedSharedWorkspaceModels.\ \ A conflict occurs if a model of the app has a reference to a model in\ \ a different workspace, or if a model from a different workspace references\ \ to a model in the app." description: "Request for moving a package to a different workspace" PackageRevisionActionRequest: type: "object" required: - "action" properties: action: type: "string" description: "The action that should be executed" enum: - "revertCurrentApp" - "revertCurrentPackage" - "copyIntoApp" - "copyIntoPackage" - "copyIntoWorkspace" packageKey: type: "string" description: "The key of the package that the revision should be copied to.\ \ Required when the action is copyIntoPackage" workspaceKey: type: "string" description: "The key of workspace app that the revision should be copied\ \ to. Optional when the action copyIntoApp, when it is not set then it will\ \ use the workspace of the app revision. Required when the action is copyIntoWorkspace" tenantId: type: "string" description: "The tenant id in which the action should be executed. Only allowed\ \ to be set by super admins" description: "Request for executing an action for a package revision" PackageRevisionCreateRequest: type: "object" required: - "key" properties: key: type: "string" description: "The key of the revision" description: type: "string" description: "The description of the revision" description: "Request for creating a new package revision" PackageRevisionModelCompareResponse: type: "object" required: - "modelKey" - "state" properties: modelKey: type: "string" description: "The key of the model" modelName: type: "string" description: "The name of the model as captured in the relevant revision" modelType: type: "string" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" revisionKey: type: "string" description: "Key of the revision the model snapshot came from: target revision\ \ for ADDED / MODIFIED, source revision for DELETED" state: type: "string" description: "Whether the model was ADDED, MODIFIED or DELETED relative to\ \ the source revision" enum: - "ADDED" - "MODIFIED" - "DELETED" description: "One model entry from comparing two package revisions, classified\ \ as ADDED / MODIFIED / DELETED" PackageRevisionResponse: type: "object" required: - "id" - "key" properties: id: type: "string" description: "The technical id of the revision" key: type: "string" description: "The key of the revision" description: type: "string" description: "The description of the revision" createdBy: type: "string" description: "The id of the user that created the revision" created: type: "string" example: "2022-04-17T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the revision" packageName: type: "string" description: "The name of the package that this revision belongs to" workspaceKey: type: "string" description: "The key of the workspace that this revision belongs to" revisionState: type: "array" description: "State flags about the revision (e.g. needsUnpack when the revision\ \ still requires legacy unpacking)" items: type: "string" enum: - "NEEDS_UNPACK" description: "Response for a package revision" PackageUnlockRequest: type: "object" properties: strategy: type: "string" description: "The unlock strategy. The unlock strategy that should be applied.\ \ package means only unlock the package, allByCurrentUser means unlock all\ \ the child models locked by the current user, all means unlock all locked\ \ child models" enum: - "app" - "package" - "allByCurrentUser" - "all" description: "The request for unlocking a package" PackageUpdatePermissionsRequest: type: "object" properties: identityLinksToAdd: type: "array" description: "The identity links that should be added to the package" items: $ref: "#/definitions/RestIdentityLinkResponse" identityLinksToRemove: type: "array" description: "The identity links that should be removed from the package" items: $ref: "#/definitions/RestIdentityLinkResponse" description: "Request for updating the package permissions" PackageValidationSummaryResponse: type: "object" required: - "modelErrors" - "modelWarnings" properties: modelErrors: type: "integer" format: "int64" description: "The amount of models with errors" modelWarnings: type: "integer" format: "int64" description: "The amount of models with warnings" needsExecution: type: "boolean" description: "A flag indicating if the app validation needs to be executed" description: "Summary for package validation" PageGeneratorSettings: type: "object" properties: generate: type: "boolean" modelKey: type: "string" showDataTableSearch: type: "boolean" PaletteDefinitionCategoryResponse: type: "object" required: - "categoryKey" properties: categoryKey: type: "string" description: "The unique key of a palette definition" description: "The response for an palette definition category" Parameter: type: "object" Path: type: "object" properties: absolute: type: "boolean" parent: $ref: "#/definitions/Path" root: $ref: "#/definitions/Path" fileName: $ref: "#/definitions/Path" fileSystem: $ref: "#/definitions/FileSystem" nameCount: type: "integer" format: "int32" PluginModelUsageInfo: type: "object" required: - "key" - "name" - "packageKey" - "packageName" - "packageType" - "type" properties: key: type: "string" description: "The key of the model" type: type: "string" description: "The type of the model" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" name: type: "string" description: "The name of the model" packageKey: type: "string" description: "The key of the package" packageType: type: "string" description: "The type of the package" enum: - "app" - "plugin" packageName: type: "string" description: "The name of the package" workspaceKey: type: "string" description: "The key of the workspace" workspaceName: type: "string" description: "The name of the workspace" tenantId: type: "string" description: "The tenant id" PluginResourceResponse: type: "object" required: - "id" - "name" properties: id: type: "string" description: "The technical id of the resource" name: type: "string" description: "The name of the resource" reference: type: "string" description: "The reference that this resource is for" referenceType: type: "string" description: "The type of the resource reference" description: "Response for a plugin resource" PluginResponse: type: "object" required: - "id" - "installationDate" - "key" - "releaseDate" - "version" properties: id: type: "string" description: "The technical id of the plugin" key: type: "string" description: "The key of the plugin" version: type: "string" description: "The version of the plugin" tenantId: type: "string" description: "The tenant id that the plugin belongs to" global: type: "boolean" description: "Flag indicating whether the plugin is a global plugin" name: type: "string" description: "The name of the plugin" description: type: "string" description: "The description of the plugin" releaseDate: type: "string" example: "2024-05-02T11:01:04.635Z" description: "The ISO 8601 release date of the plugin" installationDate: type: "string" example: "2024-05-02T11:01:04.635Z" description: "The ISO 8601 installation date of the plugin" description: "Response for a plugin" ProductLicenseResponse: type: "object" properties: productName: type: "string" version: type: "string" expiryDate: type: "string" format: "date-time" type: type: "string" enum: - "PRODUCTION_LICENSE" - "DEVELOPMENT_LICENSE" - "EXPERIMENTAL_LICENSE" - "TRIAL_LICENSE" entitlements: type: "object" additionalProperties: type: "string" QueryPreviewRequest: type: "object" required: - "content" properties: content: type: "string" description: "The content that should be parsed" payload: type: "object" description: "Additional properties that should be passed to the template\ \ processing" additionalProperties: type: "object" description: "Request for a query preview" QueryPreviewResponse: type: "object" required: - "previewResult" - "processingFailed" properties: previewResult: type: "string" description: "The preview result. Depending on the processingFailed flag this\ \ can be the error or the processed template" processingFailed: type: "boolean" description: "Whether the processing was successful" description: "Response for a query preview" ReadVariable: type: "object" properties: name: type: "string" type: type: "string" variables: type: "array" items: $ref: "#/definitions/ReadVariable" elements: type: "array" items: $ref: "#/definitions/Element" ReferenceElementResponse: type: "object" properties: elementId: type: "string" description: "The id of the referencing element" elementName: type: "string" description: "The display name of the referencing element" operationKey: type: "string" description: "The operation key invoked on the target model. Only applies\ \ when target model is a service or agent" description: "An element inside a caller model that references a target model" ReferenceVariable: type: "object" properties: scopeKey: type: "string" scopeType: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" type: type: "string" variables: type: "array" items: $ref: "#/definitions/Variable" RelatedDataObjectInfo: type: "object" properties: key: type: "string" name: type: "string" fields: type: "array" items: $ref: "#/definitions/FieldMapping" Renamed: type: "object" properties: originalKey: type: "string" newKey: type: "string" Resolution: type: "object" properties: modelKey: type: "string" modelType: type: "string" resolvedContent: $ref: "#/definitions/JsonNode" Resource: type: "object" properties: filename: type: "string" filePath: $ref: "#/definitions/Path" description: type: "string" uri: type: "string" format: "uri" contentAsByteArray: type: "array" items: type: "string" format: "byte" open: type: "boolean" file: type: "file" readable: type: "boolean" url: type: "string" format: "url" inputStream: $ref: "#/definitions/InputStream" RestIdentityLinkResponse: type: "object" required: - "type" properties: user: type: "string" description: "The id of the user that the identity link belongs to" group: type: "string" description: "The id of the group that the identity link belongs to" type: type: "string" description: "The type of the identity link" description: "Rest representation of an identity link" RunTestSetsRequest: type: "object" properties: testSetKeys: type: "array" items: type: "string" scopeModelContent: $ref: "#/definitions/JsonNode" testKeys: type: "array" items: type: "string" SalesforceGeneratorSettings: type: "object" properties: connectedAppClientName: type: "string" baseUrl: type: "string" accessToken: type: "string" apiVersion: type: "string" dataObject: $ref: "#/definitions/BaseModelGeneratorSettings" dataDictionary: $ref: "#/definitions/BaseModelGeneratorSettings" service: $ref: "#/definitions/BaseModelGeneratorSettings" adminPage: $ref: "#/definitions/PageGeneratorSettings" form: $ref: "#/definitions/BaseModelGeneratorSettings" fieldsToInclude: type: "array" items: type: "string" getsObjectName: type: "string" ServiceDataObjectResponse: type: "object" properties: dataObject: description: "The model response for the data object" $ref: "#/definitions/BaseModelResponse" dataObjectMemberOfPackage: type: "boolean" description: "Whether the data object is a member of the same package as the\ \ service model" description: "Response for a data object for a service" SetUserDefaultWorkspaceRequest: type: "object" properties: key: type: "string" description: "The key of the default workspace for the user" description: "Request for updating the user default workspace" SharedWorkspace: type: "object" required: - "id" - "key" properties: id: type: "string" description: "The id of the shared workspace" key: type: "string" description: "The key of the shared workspace" name: type: "string" description: "The name of the shared workspace" Skipped: type: "object" properties: reason: type: "string" key: type: "string" TenantCreateRequest: type: "object" properties: id: type: "string" description: "The id of the tenant" name: type: "string" description: "The name of the tenant" description: type: "string" description: "The description of the tenant" adminUser: type: "string" description: "The admin user for the tenant" adminFirstName: type: "string" description: "The admin user first name" adminLastName: type: "string" description: "The admin user last name" adminDisplayName: type: "string" description: "The admin user display name" adminEmail: type: "string" description: "The admin user email" adminPassword: type: "string" description: "The admin user password for the tenant" description: "Request that is used for creating tenants" TenantResponse: type: "object" required: - "createdAt" - "id" properties: id: type: "string" description: "The id of the tenant" name: type: "string" description: "The name of the tenant" description: type: "string" description: "The description of the tenant" createdAt: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the tenant" description: "Response for a tenant" TenantUpdateRequest: type: "object" properties: name: type: "string" description: "The name of the tenant" description: type: "string" description: "The description of the tenant" description: "Request that is used for updating tenants" TestSetEntry: type: "object" properties: key: type: "string" name: type: "string" modelType: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelKey: type: "string" subScopeKey: type: "string" modelExists: type: "boolean" conflictsWithExistingKey: type: "boolean" TestSetExecutionOverride: type: "object" properties: key: type: "string" name: type: "string" subScopeKey: type: "string" content: $ref: "#/definitions/JsonNode" TestSetExportRequest: type: "object" properties: ids: type: "array" items: type: "string" TestSetImportPreviewResponse: type: "object" properties: sourceAppKey: type: "string" testSets: type: "array" items: $ref: "#/definitions/TestSetEntry" missingModelRefs: type: "array" items: $ref: "#/definitions/MissingModelRef" TestSetImportResponse: type: "object" properties: created: type: "array" items: $ref: "#/definitions/TestSetResponse" updated: type: "array" items: $ref: "#/definitions/TestSetResponse" skipped: type: "array" items: $ref: "#/definitions/Skipped" renamed: type: "array" items: $ref: "#/definitions/Renamed" TestSetPublishRequest: type: "object" properties: deploymentConfiguration: type: "string" ids: type: "array" items: type: "string" TestSetPublishResponse: type: "object" properties: deploymentId: type: "string" TestSetRequest: type: "object" properties: key: type: "string" name: type: "string" subScopeKey: type: "string" content: $ref: "#/definitions/JsonNode" TestSetResourceResponse: type: "object" properties: id: type: "string" testSetId: type: "string" name: type: "string" fileName: type: "string" mimeType: type: "string" TestSetResponse: type: "object" properties: id: type: "string" key: type: "string" name: type: "string" appId: type: "string" modelType: type: "string" enum: - "bpmn" - "form" - "app" - "dmn" - "cmmn" - "action" - "document" - "user" - "page" - "security" - "dataObject" - "template" - "service" - "liquibase" - "channel" - "event" - "decisionService" - "query" - "variableExtractor" - "sequence" - "dataDictionary" - "palette" - "sla" - "dashboardComponent" - "plugin" - "pluginTask" - "agent" - "knowledgeBase" - "masterData" modelKey: type: "string" modelName: type: "string" subScopeKey: type: "string" content: $ref: "#/definitions/JsonNode" creatorId: type: "string" created: type: "string" format: "date-time" lastUpdatedBy: type: "string" lastUpdated: type: "string" format: "date-time" TestSetUpdateKeyRequest: type: "object" properties: key: type: "string" TypeFieldInfo: type: "object" properties: label: type: "string" name: type: "string" type: type: "string" referenceScopeKey: type: "string" referenceScopeType: type: "string" referenceTypeId: type: "string" description: type: "string" readonly: type: "boolean" required: type: "boolean" previousBeanName: type: "string" TypeInfo: type: "object" properties: id: type: "string" baseType: type: "string" label: type: "string" description: type: "string" methods: type: "array" items: $ref: "#/definitions/TypeMethodInfo" fields: type: "array" items: $ref: "#/definitions/TypeFieldInfo" TypeMethodInfo: type: "object" properties: name: type: "string" label: type: "string" description: type: "string" returnType: type: "string" parameters: type: "array" items: $ref: "#/definitions/FunctionParameterInfo" UpdateUserRequest: type: "object" required: - "firstName" - "lastName" properties: firstName: type: "string" description: "The first name of the user." lastName: type: "string" description: "The last name of the user." displayName: type: "string" description: "The display name of the user." email: type: "string" description: "The email of the user." admin: type: "boolean" description: "Flag indicating whether the user admin privileges should be\ \ updated. Only allowed to be set by admin users" formComponentDeveloper: type: "boolean" description: "Flag indicating whether the user form component developer privileges\ \ should be updated. Only allowed to be set by admin users" description: "Request for updating a user" UserBaseInformationResponse: type: "object" required: - "id" properties: id: type: "string" example: "john.doe" description: "The id of the user" firstName: type: "string" example: "John" description: "The first name if the user" lastName: type: "string" example: "Doe" description: "The last name of the user" displayName: type: "string" example: "John Doe" description: "The display name of the user" description: "The response for the User base information" UserPrincipalLookupService: type: "object" UserResponse: type: "object" required: - "id" properties: id: type: "string" example: "john.doe" description: "The id of the user" firstName: type: "string" example: "John" description: "The first name if the user" lastName: type: "string" example: "Doe" description: "The last name of the user" displayName: type: "string" example: "John Doe" description: "The display name of the user" email: type: "string" example: "john@example.com" description: "The email of the user" tenantId: type: "string" example: "megacorp" description: "The tenant id of the user" admin: type: "boolean" description: "Flag indicating whether the user is an admin. Only fetching\ \ a single user" formComponentDeveloper: type: "boolean" description: "Flag indicating whether the user is a form component developer.\ \ Only fetching a single user" description: "The response for a User" ValidationDto: type: "object" properties: validatorSetName: type: "string" problemId: type: "string" description: type: "string" scopeDefinitionId: type: "string" scopeDefinitionName: type: "string" scopeType: type: "string" lineNumber: type: "integer" format: "int32" columnNumber: type: "integer" format: "int32" activityId: type: "string" activityName: type: "string" type: type: "string" enum: - "WARNING" - "ERROR" Variable: type: "object" properties: name: type: "string" type: type: "string" scopeKey: type: "string" scopeType: type: "string" label: type: "string" description: type: "string" element: $ref: "#/definitions/Element" allowedValues: type: "array" uniqueItems: true items: $ref: "#/definitions/AllowedValue" variables: type: "array" items: $ref: "#/definitions/Variable" referenceVariables: type: "array" items: $ref: "#/definitions/ReferenceVariable" WorkspaceAiContextRuleUpdateRequest: type: "object" properties: content: type: "string" description: "The AI context content for the step type" overrideGlobal: type: "boolean" description: "Whether the workspace rule overrides the tenant-global rule" description: "Request that is used for creating or updating a workspace AI context\ \ rule" WorkspaceCreateRequest: type: "object" required: - "key" properties: key: type: "string" description: "The key of the workspace" name: type: "string" description: "The name of the workspace" description: type: "string" description: "The description of the workspace" allowedPackageType: type: "string" description: "The type of packages that this workspace is for. If not provided\ \ then it is for apps" enum: - "app" - "plugin" visibility: type: "string" description: "The visibility of the workspace. Public means visible to everyone\ \ in the tenant (this is the default visibility). Private means visible\ \ only to admins and users given explicit access" enum: - "public" - "private" tenantId: type: "string" description: "The tenant id in which the workspace needs to be created. Only\ \ allowed to be used by super admins" description: "Request that is used for creating workspaces" WorkspaceLinkPluginRequest: type: "object" properties: pluginId: type: "string" description: "The id of the plugin. When this is used then the workspace is\ \ linked with the exact version of the plugin. Mutually exclusive with pluginKey" pluginKey: type: "string" description: "The key of the plugin. When this is used then the workspace\ \ is linked the latest version of the plugin always. Mutually exclusive\ \ with pluginId" description: "Request that is used for linking a workspace with a plugin" WorkspaceResponse: type: "object" required: - "createdAt" - "id" - "key" - "tenantId" properties: id: type: "string" description: "The technical id of the workspace" key: type: "string" description: "The key of the workspace" tenantId: type: "string" description: "The tenant id that the workspace belongs to" name: type: "string" description: "The name of the workspace" description: type: "string" description: "The description of the workspace" visibility: type: "string" description: "The visibility of the workspace" enum: - "public" - "private" allowedPackageType: type: "string" description: "The type of packages that the workspace is allowed to have" enum: - "app" - "plugin" sharedWorkspace: description: "The information for the shared workspace of the workspace" $ref: "#/definitions/SharedWorkspace" createdAt: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the workspace" createdBy: type: "string" description: "The id of the user that created the workspace" updatedAt: type: "string" example: "2021-02-15T11:01:04.635Z" description: "The ISO 8601 update timestamp of the workspace" updatedBy: type: "string" description: "The id of the user that updated the workspace" state: type: "array" description: "The state of the workspace" items: type: "string" enum: - "READ_ONLY" permissions: type: "array" description: "The permissions that the user requesting the workspace is allowed\ \ to do" items: type: "string" description: "Response for a workspace" WorkspaceSetSharedWorkspaceRequest: type: "object" properties: sharedWorkspaceId: type: "string" description: "The id of the new workspace. Mutually exclusive with sharedWorkspaceId" sharedWorkspaceKey: type: "string" description: "The key of the new workspace. Mutually exclusive with sharedWorkspaceId" forceUpdate: type: "boolean" description: "If true, the shared workspace will be updated even if there\ \ are shared models used from it. Default is false." description: "Request that is used for updating workspace shared workspace" WorkspaceUpdateAllowedPackageTypeRequest: type: "object" required: - "allowedPackageType" properties: allowedPackageType: type: "string" description: "The new allowed package type of the workspace" enum: - "app" - "plugin" description: "Request that is used for updating workspace allowed package type" WorkspaceUpdatePermissionsRequest: type: "object" properties: identityLinksToAdd: type: "array" description: "The identity links that should be added to the workspace" items: $ref: "#/definitions/RestIdentityLinkResponse" identityLinksToRemove: type: "array" description: "The identity links that should be removed from the workspace" items: $ref: "#/definitions/RestIdentityLinkResponse" description: "Request for updating the workspace permissions" WorkspaceUpdateRequest: type: "object" properties: key: type: "string" description: "The key of the workspace" name: type: "string" description: "The name of the workspace" description: type: "string" description: "The description of the workspace" description: "Request that is used for updating workspaces" WorkspaceUpdateVisibilityRequest: type: "object" required: - "visibility" properties: visibility: type: "string" description: "The new visibility of the workspace" enum: - "private" - "public" description: "Request that is used for updating workspace visibilities"