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

YawHide's avatar
YawHide
New member | Level 2
8 years ago

Id given back in delete event

Can I make a feature request?
I would be great if the delete events coming back from `/list_folder(/continue)` include the id of the thing deleted. Seems a bit odd that they dont alredy.

 

Current:

{
".tag": "deleted",
"name": "General_Engingeering_Test_Project.pdf",
"path_lower": "/h22/h2/general_engingeering_test_project.pdf",
"path_display": "/h22/h2/General_Engingeering_Test_Project.pdf"
}

 

Want: 

 

{
".tag": "deleted",
"id": "id:JOP3N_6VLJAAAAAAAAAJ-A", <- notice there is an id now
"name": "General_Engingeering_Test_Project.pdf",
"path_lower": "/h22/h2/general_engingeering_test_project.pdf",
"path_display": "/h22/h2/General_Engingeering_Test_Project.pdf"
}

 

thanks

 

ps. i can see how it would be unfair to make comparisons across services but i just wanted to point out that both google drive and box return an id in their delete events.

  • Thanks for the post! I can't make any promises, but I'm sending this feature request along to the team.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Thanks for the post! I can't make any promises, but I'm sending this feature request along to the team.
    • YawHide's avatar
      YawHide
      New member | Level 2

      how would I know if the team accepts or declines this request?

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        I'll make a note to follow up on this thread if/when I have an update for you.
    • quandt's avatar
      quandt
      Explorer | Level 3

      Its now 2023, and the list_folder api call is still broken (in my mind) regarding 'deleted' files!

       

      Here's the problem.   

       

      Simple App that responds to change notices:

       

      With User:

               Get Cursor

               While deltapages (on cursor):

                             if .tag = 'file' record info in db (path, and most importantly unique ID as supplied by list_folder)

                             if .tag = 'deleted' update record in db for given data supplied (list_folder only provides 'path', it DOES NOT provide the ID)

       

      So now only way to look up info in our database is via path on deletes.   Which of course you can have duplicate file names in any given folder, each with its own objID.   Deleting files fails when using the dropbox API, only way to use it is tell customer to not create duplicate filenames in any given folder (dumb)!

       

      Dropbox please add 'id' to your list_folder call for any .tag = 'deleted' files!!!

       

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,884 PostsLatest Activity: 3 hours ago
326 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!