ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Sposetti <>
Subject Re: a couple API questions
Date Mon, 10 Nov 2014 20:22:10 GMT
On your Question #1:


You'll see something like this:

"component_version" : "1.7.0",

On Mon, Nov 10, 2014 at 3:15 PM, Greg Hill <> wrote:

>  1. Is there a way to query the API to see what version of ambari the
> server is running?  This would make auto-negotiation in the client easy, so
> it can automatically account for version differences.  If this doesn't
> exist, I can open a JIRA to have it added.  We have a dev on the team that
> is planning on doing some contributions to the server code soon.
> 2. Is there any documentation of user privileges?  Like, how do I add
> privileges to a new user via the API?  What privileges are possible to
> assign (maybe this is retrievable via a different URL)?
>  If there's an easier way to find this information, let me know so I can
> just look there in the future.  I can't seem to find any authoritative
> source in the code for what URLs exist and what parameters they expect, but
> maybe I just am searching for the wrong thing.
>  Thanks in advance.
>  Greg

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.

View raw message