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

deeuu's avatar
deeuu
Explorer | Level 4
7 years ago

Does DeletedMetadata expire?

Hi,   I'm using the Python Dropbox SDK, and wondered about the lifetime of deleted metadata.   Does this metadata expire, e.g.  after 30 days as with deleted Dropbox files?   Many thanks....
  • Greg-DB's avatar
    7 years ago
    DeletedMetadata objects don't "expire" exactly, but whether or not old ones would still be returned (e.g., when calling files_list_folder/files_list_folder_continue again) after a significant period of time depends on a few specifics, based on the particular account's features, file activity, and some specifics of how the Dropbox backend works.

    The guarantee that the API provides is that as long as you implement files_list_folder and files_list_folder_continue as documented, you'll end up with the correct state matching what's on the server:

    https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html?highlight=download_to#dropbox.dropbox.Dropbox.files_list_folder

    (You can even store cursors for long periods of time and call back to files_list_folder_continue later to retrieve just what changed in the interim.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days 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!