Forum Discussion

Coolioo's avatar
Coolioo
New member | Level 2
4 years ago

Dropbox API FileMetadata - How to determine a file is a new file added to Dropbox or a file update?

Hi,

 

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 /list_folder to get list of FileMetadata to see file changes.

 

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 FileMetadadta to indicate whether this file is a new file or a update to an existing file.

 

Please advise how to achieve this.

 

Thank you

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers804 PostsLatest Activity: 3 days ago
217 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!