For point # 2 - There is open Jira issue :
https://issues.apache.org/jira/browse/AMBARI-4963

Regards,
Saurabh

On 11/11/2014 02:14 AM, Greg Hill wrote:
Thanks man. That works wonderfully. Not sure how I missed the root services section.

Greg

From: Jeff Sposetti <[email protected] <mailto:[email protected]>>
Reply-To: "[email protected] <mailto:[email protected]>" <[email protected] <mailto:[email protected]>>
Date: Monday, November 10, 2014 3:22 PM
To: "[email protected] <mailto:[email protected]>" <[email protected] <mailto:[email protected]>>
Subject: Re: a couple API questions

    On your Question #1:

    /api/v1/services/AMBARI/components/AMBARI_SERVER

    You'll see something like this:

    "component_version" : "1.7.0",


    On Mon, Nov 10, 2014 at 3:15 PM, Greg Hill
    <[email protected] <mailto:[email protected]>> 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



    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.


Reply via email to