Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

aschmid's avatar
aschmid
Explorer | Level 4
9 years ago
Solved

API v2 listFolder with include_deleted: How far does that look back in history?

Hi,

 

the documentation says about include_deleted: "If true, the results will include entries for files and folders that used to exist but were deleted."

 

My question is: if I call listFolder with include_deleted, does that deliver all deleted items that *ever* existed in that folder, or is the scope limited by something like the 30-day version history?

 

Thanks.

  • When calling with include_deleted=true, you should receive deleted entries for items that can still be restored, but not for entries that have been permanently deleted.

    The amount of time that the account stores deleted files depends on the account's plan.

2 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    When calling with include_deleted=true, you should receive deleted entries for items that can still be restored, but not for entries that have been permanently deleted.

    The amount of time that the account stores deleted files depends on the account's plan.
  • aschmid's avatar
    aschmid
    Explorer | Level 4
    9 years ago
    Thank you for the clarification, Greg. It is an important addition to the text in the documentation, I think.

    Best,
    Alfons

About Dropbox API Support and Feedback

Node avatar for 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!