You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Akshata G.'s avatar
Akshata G.
Helpful | Level 5
8 years ago

How to differentiate between file and folder delete in list_folder_continue call

Hi, I am working on webhooks for dropbox and struggling to find a way to differentiate between file and folder deletion for https://api.dropboxapi.com/2/files/list_folder/continue API call.   Cu...
  • Greg-DB's avatar
    8 years ago

    The API doesn't distinguish between files and folders in DeletedMetadata, but I'll be sure to pass this along as a feature request.

     

    For reference though, a deleted entry just indicates that whatever was at that path was deleted, and at different points in time, a single path could have been either a file and folder. You may want to refer to whatever previous metadata you received for that path to see what was there.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,911 PostsLatest Activity: 4 hours ago
333 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!