Deployments can contain custom code in form of scripts or EL expressions to customize process behavior. This may be abused for remote execution of arbitrary code. See the section on in the user guide for details.
Method
POST
Parameters
Result
A JSON object corresponding to the DeploymentWithDefinitions
interface in the engine.Its properties are as follows:
Response Codes
Example
Post data for a new deployment:
Status 200.
{
"links": [
{
"href": "http://localhost:38080/rest-test/deployment/aDeploymentId",
}
],
"id": "aDeploymentId",
"name": "aName",
"source": "process application",
"deploymentTime": "2013-01-23T13:59:43.000+0200",
"tenantId": null,
"deployedProcessDefinitions": {
"aProcDefId": {
"id": "aProcDefId",
"key": "aKey",
"description": "aDescription",
"version": 42,
"resource": "aResourceName",
"deploymentId": "aDeploymentId",
"diagram": "aResourceName.png",
"suspended": true,
"tenantId": null,
"versionTag": null
}
},
"deployedCaseDefinitions": null,
"deployedDecisionDefinitions": null,
}