Hi Dave, You can try http://localhost:8080/api/v1/services/AMBARI/components/AMBARI_SERVER
where the “component_version” field should get you what you need. - Jonathan On Aug 14, 2014, at 12:09 PM, David McCauley <[email protected]> wrote: > Hi All, > Is there any call to the rest api I can make which can deliver the current > version of Ambari? i.e. 1.5.0, 1.6.1 etc. I can obtain the HDP version ok > but not the Ambari version. I am currently resorting to an rpm query. 'rpm > -qa --queryformat \'%{version}\' ambari-server' > > Thanks, > Dave -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
