Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
I'm just starting to delve into the APIs, with an initial interest in automating the download and install of the Java Agent onto a Linux or Solaris host server.
My very early playing around has led me to be able to interrogate the controller to find the schema version....
curl --user me@myaccount:mypassword http://mycontroller:8090/controller/rest/configuration?name=schema\.version
... which returns...
<description>Current version of the controller's schema, used to track upgrades.</description>
Now that I can do some scripting to find out my controller version (i.e. 004-002-007-001), it'd be great to use that version number in a rest call to the downloads.
Are there a restful api endpoints for the 18.104.22.168 Java Agent for Sun and for IBM JVMs?
Solved! Go to Solution.
There's no rest interface to the AppDynamics downloads site as far as I can tell, you could however simply do a get as the filename can be determined:
https://aperture.appdynamics.com/download/prox/download-file/sun-jvm/22.214.171.124/AppServerAgent-126.96.36.199.... - this is the agent for the SUN
Alernatively, you could host the versions in your own internal network and simply get this by your own naming standard. You may want to deploy a later version of the agent (same major/minor version) than you are running on the controller so if you always copy/GET the latest 4.2.X version. This would require the versions/media to be maintained however.