Download deployed external scripts(Js/python/groovy)

Hi,

I would like to download the external scripts which are deployed with Process definitions. I get the bpmn files as input stream but not scripts.

Could someone help me with this?

Thanks,
Sowmiya

Hi @Sowmiya,

The below api will return the list of deployed resources (including deployed scripts)

https://docs.camunda.org/manual/latest/reference/rest/deployment/get-resources/

Find a resourceid from the above api response and get the resource as bytestream by the resourceid to the below api:
https://docs.camunda.org/manual/latest/reference/rest/deployment/get-resource-binary/