Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropbox.files_delete_batch and similiar methods to support deleting a specific version #491

Open
gmonkman opened this issue May 7, 2024 · 1 comment

Comments

@gmonkman
Copy link

gmonkman commented May 7, 2024

We are running an unattended process which uploads files from a raspberry pi. These files can become corrupt.
The corrupt files remain in the file history.

I would like to detect these corrupt file versions and remove them from the version history.

Could the family of Dropbox.file_delete* (e.g. Dropbox.files_delete_batch) support passing the file version ID? DeleteArgs I believe is passed (as opposed to the a dropbox file path), hence it maybe necessary to add another field to DeleteArgs.

It would actually be amazing these methods would also accept FileMetadata instances to save messing around extracting ids, paths etc. But that is another feature: :)

thanks.

@gmonkman gmonkman changed the title Dropbox.files_delete_batch and Dropbox.files_delete to support deleting a specific version Dropbox.files_delete_batch and similiar methods to support deleting a specific version May 7, 2024
@greg-db
Copy link
Contributor

greg-db commented May 7, 2024

The Dropbox API doesn't offer this functionality, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants