<?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 Re: /files/search_v2 returning files that are not in the specified 'path' in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-search-v2-returning-files-that-are-not-in-the-specified/m-p/616275#M28410</link>
    <description>&lt;P&gt;Yes, the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-search" target="_blank"&gt;search&lt;/A&gt; results are subject to delays and staleness due to indexing/caching, which can result in this behavior for moved files. This should automatically catch up after a short time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more definitive results not subject to this, you may want to use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;/continue&lt;/A&gt;] instead.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2022 13:32:15 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-08-16T13:32:15Z</dc:date>
    <item>
      <title>/files/search_v2 returning files that are not in the specified 'path'</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-search-v2-returning-files-that-are-not-in-the-specified/m-p/616188#M28407</link>
      <description>&lt;P&gt;Hi, I am experiencing an issue with API requests to /files/search_v2 (and /files_search) where files are being returned that are outside of the specified 'path' option that is being sent with the API request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To explain my use case:&lt;/P&gt;&lt;P&gt;We have a directory /output. When files appear in this directory, we use the Dropbox endpoint /files/search_v2 to locate specific files and then use /files/move_batch_v2 to move them elsewhere in the Dropbox account. These files all share similar traits in their filename, for example they may all end in '-0000.jpg'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we perform a search using /files/search_v2, we may use the query "-0000.jpg" and supply the path "/output", which will return matching files in that directory, however it will also return matching files in other directories where we have moved files to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is it that the 'path' option is being ignored in these requests? Is it something to do with some kind of caching on Dropbox's end?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 03:31:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-search-v2-returning-files-that-are-not-in-the-specified/m-p/616188#M28407</guid>
      <dc:creator>bb-jacin</dc:creator>
      <dc:date>2022-08-16T03:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: /files/search_v2 returning files that are not in the specified 'path'</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-search-v2-returning-files-that-are-not-in-the-specified/m-p/616275#M28410</link>
      <description>&lt;P&gt;Yes, the &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-search" target="_blank"&gt;search&lt;/A&gt; results are subject to delays and staleness due to indexing/caching, which can result in this behavior for moved files. This should automatically catch up after a short time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more definitive results not subject to this, you may want to use &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder" target="_blank"&gt;/2/files/list_folder&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder-continue" target="_blank"&gt;/continue&lt;/A&gt;] instead.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 13:32:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-search-v2-returning-files-that-are-not-in-the-specified/m-p/616275#M28410</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-08-16T13:32:15Z</dc:date>
    </item>
  </channel>
</rss>

