<?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 Dropbox API FileMetadata - How to determine a file is a new file added to Dropbox or a file update? in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-API-FileMetadata-How-to-determine-a-file-is-a-new-file/m-p/531624#M2003</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using DropBox API and WebHook to monitor the file changes on DropBox server side. When new files are added, or existing files are updated, my app will be notified by WebHook, and I can call&amp;nbsp;&lt;SPAN&gt;/list_folder to get list of FileMetadata to see file changes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But the questions is, in the FileMetadadta, how can I know this file is a new file added to DropBox, or it's a existing file that are updated? My App only needs to process the files that are update or changed. I cannot see any data fields in the&amp;nbsp;FileMetadadta to indicate whether this file is a new file or a update to an existing file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please advise how to achieve this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 13:22:17 GMT</pubDate>
    <dc:creator>Coolioo</dc:creator>
    <dc:date>2021-07-08T13:22:17Z</dc:date>
    <item>
      <title>Dropbox API FileMetadata - How to determine a file is a new file added to Dropbox or a file update?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-API-FileMetadata-How-to-determine-a-file-is-a-new-file/m-p/531624#M2003</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using DropBox API and WebHook to monitor the file changes on DropBox server side. When new files are added, or existing files are updated, my app will be notified by WebHook, and I can call&amp;nbsp;&lt;SPAN&gt;/list_folder to get list of FileMetadata to see file changes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But the questions is, in the FileMetadadta, how can I know this file is a new file added to DropBox, or it's a existing file that are updated? My App only needs to process the files that are update or changed. I cannot see any data fields in the&amp;nbsp;FileMetadadta to indicate whether this file is a new file or a update to an existing file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please advise how to achieve this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 13:22:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-API-FileMetadata-How-to-determine-a-file-is-a-new-file/m-p/531624#M2003</guid>
      <dc:creator>Coolioo</dc:creator>
      <dc:date>2021-07-08T13:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API FileMetadata - How to determine a file is a new file added to Dropbox or a file upda</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-API-FileMetadata-How-to-determine-a-file-is-a-new-file/m-p/531741#M2006</link>
      <description>&lt;P&gt;[Cross-linking for reference: &lt;A href="https://stackoverflow.com/questions/68294541/dropbox-api-filemetadata-how-to-determine-a-file-is-a-new-file-added-to-dropbo" target="_blank"&gt;https://stackoverflow.com/questions/68294541/dropbox-api-filemetadata-how-to-determine-a-file-is-a-new-file-added-to-dropbo&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without comparing with your previously retrieved metadata for the file (i.e., to see if there was any), the Dropbox Metadata information doesn't offer a way to determine if the file is new or not. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could call /2/files/list_revisions to see the file version history, but that would require an extra API call for each file you want to check.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 15:54:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-API-FileMetadata-How-to-determine-a-file-is-a-new-file/m-p/531741#M2006</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-07-08T15:54:47Z</dc:date>
    </item>
  </channel>
</rss>

