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...
<configuration-item>
<name>schema.version</name>
<value>004-002-007-001</value>
<description>Current version of the controller's schema, used to track upgrades.</description>
<updateable>false</updateable>
<scope>cluster</scope>
</configuration-item>
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 4.2.7.1 Java Agent for Sun and for IBM JVMs?