Create BPM process using REST API

I've been reading through the REST API documentation on using GET to query the values of various process objects, and PUT to update the values of various process objects, but there seems to be no POST or similar method to build a process using the REST API.

Is the REST API restricted to only being able to update processes objects after they have been manually drawn, or can you build processes via the REST API too?

You can start processes with POST requests. You can check vacation management example. In page there is post request for creating process.

https://community.bonitasoft.com/project/vacation-management-example

Thanks for that information, but that wasn't my question. My question is, can I BUILD the process via the REST API.

Your example starts by building the processes from .bos files, not the REST API.

Hi,

Here you have an example describing how to create a process and how to deploy it programmatically. The example is using the Java API though

best

 

I could be wrong but, in my knowledge you can’t build process with REST, but you can deploy, enable, disable, remove a process with REST API.

Yeah, something like that. Being able to place events, activities, decisions etc, put them into a particular swimlane.

Seems like the REST API isn't advanced enough for that sort of thing