<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ambari API Question in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-API-Question/m-p/111947#M30294</link>
    <description>&lt;P&gt;The design was to leave space to handle more than one cluster at a time in a single Ambari Server instance.&lt;/P&gt;&lt;P&gt;Maybe Ambari could have a convenient resource /api/v1/cluster (like you mention) that will convert to the [0] cluster automatically? If that makes sense, maybe file that JIRA in Ambari project?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2016 01:42:11 GMT</pubDate>
    <dc:creator>jeff1</dc:creator>
    <dc:date>2016-06-01T01:42:11Z</dc:date>
    <item>
      <title>Ambari API Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-API-Question/m-p/111946#M30293</link>
      <description>&lt;P&gt;I was wondering - since Ambari manages one cluster - why does the Ambari API require the cluster name?  for example: localhost:8080/api/v1/clusters/{clusterName}/hosts &lt;/P&gt;&lt;P&gt;Is this because:&lt;/P&gt;&lt;P&gt;1) The future Ambari will manage more than one cluster at a time? &lt;/P&gt;&lt;P&gt;2) It follows an API standard where it is good practice to ask for the cluster?&lt;/P&gt;&lt;P&gt;Is it 1 or 2 or both or something else?  &lt;/P&gt;&lt;P&gt;I'd think localhost:8080/api/v1/cluster/hosts/ makes more sense - because we are only dealing with one cluster at a time per Ambari instance and if the future Ambari manages more than one cluster, I'd do v2 of the api and have localhost:8080/api/v2/clusters/{clusterName}&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 01:30:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-API-Question/m-p/111946#M30293</guid>
      <dc:creator>RyanCicak</dc:creator>
      <dc:date>2016-06-01T01:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari API Question</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-API-Question/m-p/111947#M30294</link>
      <description>&lt;P&gt;The design was to leave space to handle more than one cluster at a time in a single Ambari Server instance.&lt;/P&gt;&lt;P&gt;Maybe Ambari could have a convenient resource /api/v1/cluster (like you mention) that will convert to the [0] cluster automatically? If that makes sense, maybe file that JIRA in Ambari project?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 01:42:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-API-Question/m-p/111947#M30294</guid>
      <dc:creator>jeff1</dc:creator>
      <dc:date>2016-06-01T01:42:11Z</dc:date>
    </item>
  </channel>
</rss>

