Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A2CECF4D for ; Mon, 3 Jun 2013 18:44:37 +0000 (UTC) Received: (qmail 21407 invoked by uid 500); 3 Jun 2013 18:44:37 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 21386 invoked by uid 500); 3 Jun 2013 18:44:37 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 21378 invoked by uid 99); 3 Jun 2013 18:44:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 18:44:37 +0000 Date: Mon, 3 Jun 2013 18:44:37 +0000 (UTC) From: "Tom Beerbower (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-2260) Bad hosts query example in API docs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673420#comment-13673420 ] Tom Beerbower commented on AMBARI-2260: --------------------------------------- Committed revision 1489101. - updated to include release note. > Bad hosts query example in API docs > ----------------------------------- > > Key: AMBARI-2260 > URL: https://issues.apache.org/jira/browse/AMBARI-2260 > Project: Ambari > Issue Type: Bug > Affects Versions: 1.2.4 > Reporter: Tom Beerbower > Assignee: Tom Beerbower > Fix For: 1.2.5 > > Attachments: AMBARI-2260.patch > > > The example ... > {code} > "hosts" : [ > { > "href" : "http://your.ambari.server/api/v1/clusters/c1/hosts/host1", > "Hosts" : { > "cluster_name" : "c1", > "host_name" : "some.cluster.host" > } > }, > { > "href" : "http://your.ambari.server/api/v1/clusters/c1/hosts/host2", > "Hosts" : { > "cluster_name" : "c1", > "host_name" : "another.cluster.host" > } > ] > {code} > ... should read ... > {code} > "hosts" : [ > { > "href" : "http://your.ambari.server/api/v1/clusters/c1/hosts/some.host", > "Hosts" : { > "cluster_name" : "c1", > "host_name" : "some.host" > } > }, > { > "href" : "http://your.ambari.server/api/v1/clusters/c1/hosts/another.host", > "Hosts" : { > "cluster_name" : "c1", > "host_name" : "another.host" > } > } > ] > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira