incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-2260) Bad hosts query example in API docs
Date Mon, 03 Jun 2013 16:47:21 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tom Beerbower updated AMBARI-2260:
----------------------------------

    Attachment: AMBARI-2260.patch
    
> Bad hosts query example in API docs
> -----------------------------------
>
>                 Key: AMBARI-2260
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2260
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>         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

Mime
View raw message