Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

Patrik H.'s avatar
Patrik H.
Explorer | Level 4
8 years ago
Solved

Get deletion time for deleted files in a folder?

Is there any way to, in API v2, when listing the folder contents (using list_folder or its various versions), get the time of deletion for deleted items (files in particular, but folders might also be good)?

 

From what I've seen so far, the only way to find a time of deletion of a file is to do a list_revisions call on the file, and from the response read the server_deleted field.

 

In API v1, a "metadata" call on a folder returned an array containing the contents of that folder, including for deleted items the modification time, i.e. the time when the item was deleted. Also, the time of deletion is available in the Dropbox web interface when looking at the contents of a folder and showing deleted files, so it seems the information should be available more easily than by quering each individual file with a list_revisions call?

 

Thanks for any help!

 

  • Unfortunately, API v2 doesn't directly return the deleted time in DeletedMetadata, but I'll pass this along as a feature request.

6 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    Unfortunately, API v2 doesn't directly return the deleted time in DeletedMetadata, but I'll pass this along as a feature request.
  • Patrik H.'s avatar
    Patrik H.
    Explorer | Level 4
    8 years ago
    Ok, too bad. But thanks for confirming this.
  • ndapost's avatar
    ndapost
    New member | Level 2
    8 years ago
    Hello.
    How about of this feature request.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    I don't have an update on this unfortunately.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,038 PostsLatest Activity: 11 hours ago
415 Following

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 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!