<?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 HTTP API v2 files/search: not recursive until select top-level folder? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158805#M5386</link>
    <description>&lt;P&gt;I'm using v2 of the API and running into an unexpected situation with the files/search HTTP endpoint. &amp;nbsp;Wondering if this is a configuration issue or expected behavior.&lt;/P&gt;
&lt;P&gt;I'm trying to list of a user's files of a certain type. &amp;nbsp;With v1 of the api, you could set path: '' and query: '.xls'.&lt;/P&gt;
&lt;P&gt;When I use v2 of the API and hit the files/search endpoint, it seems that the same&amp;nbsp;parameters return nothing. &amp;nbsp;Only when I set the path to be one of the top-level folders (eg returned from files/list_folder) does it seem to return results (and then it does return results recursively, ie any .xls file in any subfolder).&lt;/P&gt;
&lt;P&gt;Is there something special about these top-level folders that prevents an overall search from finding all results? &amp;nbsp;Is there any way to get around that so I can do a search like "Show me all .xls files in a user's dropbox"?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:38:21 GMT</pubDate>
    <dc:creator>Dan L.10</dc:creator>
    <dc:date>2019-05-29T09:38:21Z</dc:date>
    <item>
      <title>HTTP API v2 files/search: not recursive until select top-level folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158805#M5386</link>
      <description>&lt;P&gt;I'm using v2 of the API and running into an unexpected situation with the files/search HTTP endpoint. &amp;nbsp;Wondering if this is a configuration issue or expected behavior.&lt;/P&gt;
&lt;P&gt;I'm trying to list of a user's files of a certain type. &amp;nbsp;With v1 of the api, you could set path: '' and query: '.xls'.&lt;/P&gt;
&lt;P&gt;When I use v2 of the API and hit the files/search endpoint, it seems that the same&amp;nbsp;parameters return nothing. &amp;nbsp;Only when I set the path to be one of the top-level folders (eg returned from files/list_folder) does it seem to return results (and then it does return results recursively, ie any .xls file in any subfolder).&lt;/P&gt;
&lt;P&gt;Is there something special about these top-level folders that prevents an overall search from finding all results? &amp;nbsp;Is there any way to get around that so I can do a search like "Show me all .xls files in a user's dropbox"?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:38:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158805#M5386</guid>
      <dc:creator>Dan L.10</dc:creator>
      <dc:date>2019-05-29T09:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP API v2 files/search: not recursive until select top-level folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158806#M5387</link>
      <description>&lt;P&gt;Hi Dan, I'm not seeing the same behavior when trying this out myself. Can you share your code and output? (Just be sure the redact the access token.)&amp;nbsp;Thanks in advance!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you'd prefer to share privately, you can open an API ticket here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/contact" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/contact&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 02:05:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158806#M5387</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-11-20T02:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP API v2 files/search: not recursive until select top-level folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158807#M5388</link>
      <description>&lt;P&gt;Just using the straight HTTP files/search endpoint. &amp;nbsp;I get results like {matches: [], more: false, start: 0} with a path of '', and I get matches&amp;nbsp;when I search in one of the folders.&lt;/P&gt;
&lt;P&gt;One possible&amp;nbsp;complication: I use a dropbox business account, and the top-level folders have a different icon (red) than the sub-folders that do work recursively (green):&lt;/P&gt;
&lt;P&gt;&lt;IMG id="wysiwyg_image_1" src="https://www.dropboxforum.com/hc/user_images/VqHIf3ZweMkeBca7erjOIg.png" alt="&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;Not familiar enough with admin side to know what that different icon indicates (a group folder?), but it seems like the search doesn't go down into those. If I start the search inside those it works fine.&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;The /files/list_folder endpoint&amp;nbsp;doesn't seem to have any special identification for those -- they come back as {'.tag': 'folder', name: ...} just like any other folder, so if it is behavior specific to those types of folders, is there any way of identifying them?&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;Does that help? &amp;nbsp;If not, I'll open up a private API ticket.&amp;lt;/p&amp;gt;" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 03:03:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158807#M5388</guid>
      <dc:creator>Dan L.10</dc:creator>
      <dc:date>2015-11-20T03:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP API v2 files/search: not recursive until select top-level folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158808#M5389</link>
      <description>&lt;P&gt;Thanks! That's helpful, and I can reproduce this now. This seems to only occur for shared folders (which is what that icon signifies). We're looking into it.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 03:12:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158808#M5389</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-11-20T03:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP API v2 files/search: not recursive until select top-level folder?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158809#M5390</link>
      <description>&lt;P&gt;This should be working properly now.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 08:12:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/HTTP-API-v2-files-search-not-recursive-until-select-top-level/m-p/158809#M5390</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-12-03T08:12:32Z</dc:date>
    </item>
  </channel>
</rss>

