How can I download a package using the Appian API that has previously been deployed from a previous environment?

Certified Associate Developer

Hello Appian Community,

In the project I'm working on we are designing a flow to automate deployments using Jenkins. I have tested Appian APIs to download packages automatically. But when I use the API (https://docs.appian.com/suite/help/latest/Application_Package_Details_API.html)  to obtain package information from an Application, it only returns the packages created in that environment. But I want to download a package that I have deployed using "Compare And Deploy" and therefore I have not created in this environment. 

Could you tell me how to download the package that has been deployed?

Thanks in advance!

  Discussion posts and replies are publicly visible