cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to figure out which files have been deleted using the api?

Highlighted

How to figure out which files have been deleted using the api?

Explorer | Level 3

I am working on a personal project that, when a file is deleted, will update a JSON file that stores whether or not a file has been deleted. The issue is I am having trouble figuring out how to get information on deleted files. Any help would be appreciated. Thank you! 

1 Reply 1
Highlighted

Re: How to figure out which files have been deleted using the api?

Dropboxer

To see file deletions over time, you should use the /2/files/list_folder[/continue] endpoints (or corresponding native methods, if you're using an SDK). If you store the latest cursor you receive, and later call back to /2/files/list_folder/continue, the result will include DeletedMetadata entries for items that have been deleted, to be processed as described in the /2/files/list_folder documentation.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?