<?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>topic Open Data API: How to filter by sitesids in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/open-data-api-how-to-filter-by-sitesids/m-p/350854#M1771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to get a list of datasets and metadata that are hosted on the site:&amp;nbsp;&lt;A class="link-titled" href="http://data-ral.opendata.arcgis.com/datasets" title="http://data-ral.opendata.arcgis.com/datasets"&gt;http://data-ral.opendata.arcgis.com/datasets&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following the example &lt;A _jive_internal="true" href="https://community.esri.com/thread/226451-arcgis-open-data-api"&gt;here&lt;/A&gt;, I tried the following query:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://opendata.arcgis.com/api/v2/datasets?filter[source]=City%20of%20Raleigh" title="https://opendata.arcgis.com/api/v2/datasets?filter[source]=City%20of%20Raleigh"&gt;https://opendata.arcgis.com/api/v2/datasets?filter[source]=City%20of%20Raleigh&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works. However at the domain (&lt;A href="http://data-ral.opendata.arcgis.com/datasets" style="color: #2989c5; text-decoration: none;" title="http://data-ral.opendata.arcgis.com/datasets"&gt;http://data-ral.opendata.arcgis.com/datasets&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;) there are multiple sources. I would really like to filter by siteId (which I understand as all datasets available through this domain). From the page source, it seems that the sideid is either&amp;nbsp;&lt;SPAN style="color: #000000; font-size: medium;"&gt;"siteId":"9afa0ba9c92f4cf6b0eb4356e40423ab" or&amp;nbsp;&lt;SPAN style="font-size: medium;"&gt;"siteId":"14086", but neither of these values returns any results when I tried the following query:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; "&gt;&lt;A class="link-titled" href="https://opendata.arcgis.com/api/v2/datasets?filter[sitesIds]=9afa0ba9c92f4cf6b0eb4356e40423ab" title="https://opendata.arcgis.com/api/v2/datasets?filter[sitesIds]=9afa0ba9c92f4cf6b0eb4356e40423ab"&gt;https://opendata.arcgis.com/api/v2/datasets?filter[sitesIds]=9afa0ba9c92f4cf6b0eb4356e40423ab&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; "&gt;What is the correct value to use here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; "&gt;Thanks very much in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2019 17:26:13 GMT</pubDate>
    <dc:creator>TheodoreLim</dc:creator>
    <dc:date>2019-02-11T17:26:13Z</dc:date>
    <item>
      <title>Open Data API: How to filter by sitesids</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/open-data-api-how-to-filter-by-sitesids/m-p/350854#M1771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to get a list of datasets and metadata that are hosted on the site:&amp;nbsp;&lt;A class="link-titled" href="http://data-ral.opendata.arcgis.com/datasets" title="http://data-ral.opendata.arcgis.com/datasets"&gt;http://data-ral.opendata.arcgis.com/datasets&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following the example &lt;A _jive_internal="true" href="https://community.esri.com/thread/226451-arcgis-open-data-api"&gt;here&lt;/A&gt;, I tried the following query:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://opendata.arcgis.com/api/v2/datasets?filter[source]=City%20of%20Raleigh" title="https://opendata.arcgis.com/api/v2/datasets?filter[source]=City%20of%20Raleigh"&gt;https://opendata.arcgis.com/api/v2/datasets?filter[source]=City%20of%20Raleigh&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works. However at the domain (&lt;A href="http://data-ral.opendata.arcgis.com/datasets" style="color: #2989c5; text-decoration: none;" title="http://data-ral.opendata.arcgis.com/datasets"&gt;http://data-ral.opendata.arcgis.com/datasets&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;) there are multiple sources. I would really like to filter by siteId (which I understand as all datasets available through this domain). From the page source, it seems that the sideid is either&amp;nbsp;&lt;SPAN style="color: #000000; font-size: medium;"&gt;"siteId":"9afa0ba9c92f4cf6b0eb4356e40423ab" or&amp;nbsp;&lt;SPAN style="font-size: medium;"&gt;"siteId":"14086", but neither of these values returns any results when I tried the following query:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; "&gt;&lt;A class="link-titled" href="https://opendata.arcgis.com/api/v2/datasets?filter[sitesIds]=9afa0ba9c92f4cf6b0eb4356e40423ab" title="https://opendata.arcgis.com/api/v2/datasets?filter[sitesIds]=9afa0ba9c92f4cf6b0eb4356e40423ab"&gt;https://opendata.arcgis.com/api/v2/datasets?filter[sitesIds]=9afa0ba9c92f4cf6b0eb4356e40423ab&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; "&gt;What is the correct value to use here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium; "&gt;Thanks very much in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 17:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/open-data-api-how-to-filter-by-sitesids/m-p/350854#M1771</guid>
      <dc:creator>TheodoreLim</dc:creator>
      <dc:date>2019-02-11T17:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Open Data API: How to filter by sitesids</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/open-data-api-how-to-filter-by-sitesids/m-p/350855#M1772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;By use /data.json, I can get all dataset for that city.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;City of Raleigh&lt;/P&gt;&lt;P&gt;http://data-ral.opendata.arcgis.com/data.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;city of los angeles&lt;/P&gt;&lt;P&gt;https://geohub.lacity.org/data.json&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 21:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/open-data-api-how-to-filter-by-sitesids/m-p/350855#M1772</guid>
      <dc:creator>hoogw</dc:creator>
      <dc:date>2019-04-25T21:26:54Z</dc:date>
    </item>
  </channel>
</rss>

