Deployment

Create a new deployment

The request body should contain data of type multipart/form-data. There should be exactly one file in the request, any additional files will be ignored. The deployment name is the name of the file-field passed in. If multiple resources need to be deployed in a single deployment, compress the resources in a zip and make sure the file-name ends with .bar or .zip.

An additional parameter (form-field) can be passed in the request body with name tenantId. The value of this field will be used as the id of the tenant this deployment is done in.

post/cmmn-repository/deployments

Request

Query parameters

deploymentKeystring
deploymentNamestring
tenantIdstring

Request body multipart/form-data

filestring binary required

Response

Indicates the deployment was created.

idstring
namestring
deploymentTimestring date-time
categorystring
parentDeploymentIdstring
urlstring
tenantIdstring

Example response

{
  "id": "10",
  "name": "flowable-examples.bar",
  "deploymentTime": "2010-10-13T14:54:26.750+02:00",
  "category": "examples",
  "parentDeploymentId": "12",
  "url": "http://localhost:8081/service/cmmn-repository/deployments/10"
}

Changes

No recorded changes to this operation across all 1 revision of this API.