Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
jasmine_r
7 years agoHelpful | Level 6
Dropbox API v2 to find whether the files are synced, deleted, renamed, moved or copied.
Dropbox API v2 in java provides methods to upload a file, read content of a file, etc. But is there a way to find that a file is either synced, deleted, renamed, moved or copied using these API's ?
jasmine_r
7 years agoHelpful | Level 6
Hi, Can you please explain how file ID can be used to keep track of these changes, because when a file is deleted the file ID is not available in the Deletedmetadata. I get only these attributes for a deleted file.
{
".tag":"deleted",
"name":"javacompile.txt",
"path_lower":"/first/hai/javacompile.txt",
"path_display":"/first/hai/javacompile.txt"
}
If a file is renamed it is actually under deleted files and also renamed in the same path. To find if the file is renamed i tried correlating the path of the deleted file and renamed file, but to be accurate i need file ID for correlating renamed events. How do i get the file ID of deleted files ?
Greg-DB
Dropbox Community Moderator
7 years agoThe file ID isn't included in DeletedMetadata, so you should make sure to store the previous metadata, and check the file ID of the file that was previously at that path specified by the DeletedMetadata.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!