You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2013/06/03 18:27:20 UTC
[jira] [Created] (AMBARI-2260) Bad hosts query example in API docs
Tom Beerbower created AMBARI-2260:
-------------------------------------
Summary: 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
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