How to download the source code of the running application in bluemix?
Tried this solution Download Application files from Bluemix . But it's not working any more:
To install the plugin follow the below commands:
$ cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org/
$ cf install-plugin cf-download -r CF-Community
Once the plugin is installed you can download the files using the command
$ cf download <<APP_NAME>> [path]
Eg: $ cf download myapp
                        
I think you want this API end point.
http://apidocs.cloudfoundry.org/253/apps/downloads_the_bits_for_an_app.html
It will let you download the app bits for your app. This is what was sent up to the application with
cf push. That may or may not be your source code, depending on your build pack.Usage:
This should work for any modern version of CF.