Free version editable bpmn file


#1

Hello,

I was wondering if with the cockpit rest API we could update the binary content of a deployment resource (updating the XML in the BPMN file)?

Thank you :slight_smile:


#2

@Antoine_Peyrin for updating bpmn file use the rest api as per docs.

https://docs.camunda.org/manual/7.9/reference/rest/deployment/post-deployment/

And never use the Cockpit rest api which is specifically designed for webapps.


#3

Hello,

Thank you for sharing the documentation. So I tried and I’ve had success with every route except the one I’m interested in, /deployment/create. Trying with http://someUrl/camunda/api/engine/engine/default/deployment/create

I’m getting this from server :

And the logs on the camunda container :

Feels like this route doesn’t exist, get the same error when I try some random route like this: http://someUrl/camunda/api/engine/engine/default/deployment/sqpdisjdsiqj

Thank you


#4

Whey you using this endpoint?
http://someUrl/camunda/api/engine/engine/default/...
instead of
http://someUrl/engine-rest/..


#5

Hello,

Thank you, for some reason I got confused. Everything is ok now