cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it here.

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?

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

jjyy
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

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

Greg-DB
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.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?