| Method | Context | Description | Mime Types |
|---|---|---|---|
Process Management |
|||
| GET | /rs/process/definitions | A list of process definitions | application/json |
| POST | /rs/process/definitions/{processId}/remove | Removes a particular process definition | application/json |
| GET | /rs/process/definitions/{id}/instances | A list of process instances for a given process definition | application/json |
| POST | /rs/process/instances/{id}/state/{next} | Change instance state (RUNNING, SUSPENDED, ENDED) | */* |
| POST | /rs/process/definitions/{processId}/instances/new | Create a new process instance | application/json |
User Management |
|||
| GET | /rs/user/roles?roleCheck=a,b,c | A list of assigned roles matching the query parameter (Comma seperated list) | application/json |
Task Management |
|||
| GET | /rs/tasks/actor/{actorId} | A list of available tasks (OPEN and IN_PROGRESS) for an actor | application/json |
| GET | /rs/tasks/{taskId}/assignment/{actorId} | Assign a task to an actor actor. If you leave out the actorId it will release (IN_PROGRESS->OPEN) the task | application/json |
| POST | /rs/tasks/{taskId}/close/transition?signal={signalName} | Complete a task with signal | application/json |
| POST | /rs/tasks/{taskId}/close/transition/default | Complete a task with default transition | application/json |
jBPM3 proprietary extensions |
|||
| GET | /rs/jbpm3/definitions/{processId}/image | Retrieve a process definition image (GPD), if deployed | image/jpeg |
| GET | /rs/jbpm3/definitions/{processId}/diagramInfo | Retrieve a process definition coordinates (GPD) | application/json |
| GET | /rs/jbpm3/instances/{instanceId}/activeNodeInfo | Retrieve a process definition coordinates (GPD) of the active node | application/json |
| POST | /rs/jbpm3/definitions/new | Upload a new process definition | Accept:multipart/form-data Produce:application/json |
| POST | /rs/jbpm3/tokens/{tokenId}/transition?signal={signalName} | Signal a token by specifiy a transition | |
| POST | /rs/jbpm3/tokens/{tokenId}/transition/default | Signal a token to take the default transition | |
curl -u "user:password" -H 'Accept: application/json' http://localhost:8080/gwt-console-server/rs/process/definitions curl -H 'Accept: application/json' http://localhost:8080/gwt-console-server/rs/process/definitions/1/instances