REST Endpoint for getting bpmn diagram for a non-executable deployed process?

I understand that there is a rest endpoint to get Process Definition diagrams but how can I get the diagrams for Deployments (processes that were deployed without having the executable checkbox checked)?

I have integrated a bpmn modeller into my application and once the user deploys their diagram without having the Executable checkbox checked, I still want to be able to retrieve that diagram for the user to modify later using a rest endpoint.

Hello @devin-aot ,

the resources contained in a deployment can be retrieved here:

I hope this helps

Jonathan

Thank you! This helped.