Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 27B29200C09 for ; Wed, 25 Jan 2017 22:27:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 265C0160B4E; Wed, 25 Jan 2017 21:27:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 48470160B3D for ; Wed, 25 Jan 2017 22:27:18 +0100 (CET) Received: (qmail 84018 invoked by uid 500); 25 Jan 2017 21:27:17 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 84007 invoked by uid 99); 25 Jan 2017 21:27:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2017 21:27:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DAD1AC0E29 for ; Wed, 25 Jan 2017 21:27:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.398 X-Spam-Level: ** X-Spam-Status: No, score=2.398 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=1.119, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 2H_fAZDg0XZI for ; Wed, 25 Jan 2017 21:27:12 +0000 (UTC) Received: from relayvx12c.securemail.intermedia.net (relayvx12c.securemail.intermedia.net [64.78.52.187]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 19A2E5F2F2 for ; Wed, 25 Jan 2017 21:27:12 +0000 (UTC) Received: from emg-ca-1-2.securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 9776753DFF for ; Wed, 25 Jan 2017 13:27:10 -0800 (PST) Subject: Re: Is there a REST API to request Ambari Quick Links as full URL? MIME-Version: 1.0 x-echoworx-msg-id: 0fe9171a-6774-4150-a6cc-2b575f49266e x-echoworx-emg-received: Wed, 25 Jan 2017 13:27:10.544 -0800 x-echoworx-message-code-hashed: 879fd2b3cb6659c11687976a1bab642a7f469274123d24fd9933eb521fe2766d x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 728 for ; Wed, 25 Jan 2017 13:27:10 -0800 (PST) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 55AFA53DFF for ; Wed, 25 Jan 2017 13:27:10 -0800 (PST) Received: from MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 25 Jan 2017 13:27:09 -0800 Received: from MBX080-W4-CO-1.exch080.serverpod.net ([10.224.117.101]) by mbx080-w4-co-1.exch080.serverpod.net ([10.224.117.101]) with mapi id 15.00.1178.000; Wed, 25 Jan 2017 13:27:09 -0800 From: Jaimin Jetly To: "user@ambari.apache.org" Thread-Topic: Is there a REST API to request Ambari Quick Links as full URL? Thread-Index: AdJ3A2APUnkEc7ctQ5uwQ9ydddOLmgATcoQi Date: Wed, 25 Jan 2017 21:27:08 +0000 Message-ID: <1485379628716.10402@hortonworks.com> References: <1F72749FF0D55C4287B0825CB2919B1F2003362F@se-ex024.groupinfra.com> In-Reply-To: <1F72749FF0D55C4287B0825CB2919B1F2003362F@se-ex024.groupinfra.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.175.27.10] x-source-routing-agent: Processed Content-Type: multipart/alternative; boundary="_000_148537962871610402hortonworkscom_" archived-at: Wed, 25 Jan 2017 21:27:19 -0000 --_000_148537962871610402hortonworkscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Rob, There is ambari api that provides semantics for the quick links associated = to a service and service component. But actual construction of quick link is done on client side with the help = of metadata provided by the ambari stacks API Example of the quicklinks metadata API: http://c6401.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.5/services= /HDFS/quicklinks/quicklinks.json? -- Thanks Jaimin ________________________________ From: Hancox, Rob Sent: Wednesday, January 25, 2017 4:05 AM To: user@ambari.apache.org Subject: Is there a REST API to request Ambari Quick Links as full URL? Hi all, I am looking for method to query the full URL of a "Quick Link" for a speci= fic Ambari service. It appears as though the Quick Links url can be requested via the REST API,= but unfortunately not in its full expanded form: https://cwiki.apache.org/confluence/display/AMBARI/Quick+Links#QuickLinks-R= ESTAPI Is there any suggestion how this can be done, or possible workarounds? Many thanks, Rob Hancox --_000_148537962871610402hortonworkscom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi Rob,


There is ambari api that provides semantics for the quick links associat= ed to a service and service component.

But actual construction of quick link is done on client side with the he= lp of metadata provided by the ambari stacks API


Example of the quicklinks metadata API:

http://c6401.ambari.apache.= org:8080/api/v1/stacks/HDP/versions/2.5/services/HDFS/quicklinks/quicklinks= .json



-- Thanks

    Jaimin


From: Hancox, Rob <rob.h= ancox@cgi.com>
Sent: Wednesday, January 25, 2017 4:05 AM
To: user@ambari.apache.org
Subject: Is there a REST API to request Ambari Quick Links as full U= RL?
 

Hi all,

 

I am looking for method to query the ful= l URL of a “Quick Link” for a specific Ambari service.

 

It appears as though the Quick Links url= can be requested via the REST API, but unfortunately not in its full expan= ded form:

 

https://cwiki.apa= che.org/confluence/display/AMBARI/Quick+Links#QuickLinks-RESTAPI

 

Is there any suggestion how this can be = done, or possible workarounds?

 

Many thanks,

 

Rob Hancox

 

--_000_148537962871610402hortonworkscom_--