-
Type:
Feature Request
-
Resolution: Fixed
-
Priority:
L3 - Default
-
Affects Version/s: None
-
Component/s: None
-
None
In the frontend, we display the process definitions in a way that groups process definitions with their respective versions. For that, we need a REST-Endpoint to send the data in a way that reflects this structure.
1. Get available processDefinitions
Response:
[
{
key: 'processKey',
versions: [
{
id: 'processDefinitionId',
version: 1,
name: 'Process Name'
}
]
}
]
2. Get XML for definitions
Request (POST):
["processId", "anotherProcessId"]
Response:
{
"processId": "some XML String",
"anotherProcessId": "some other XML String"
}