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/4.2.7.1/AppServerAgent-4.2.7...