Skip to content

Interact with Trashbin #3

Description

@rjhenry

Interaction with the Trashbin is as simple as sending a regular WebDAV PROPFIND to /remote.php/dav/trashbin/USER/trash rather than remote.php/dav/files/USER (src).

As far as I can tell, this would essentially be a matter of being able to set the API_URL in the WebDAV wrapper to remote.php/dav/trashbin and use the existing functions as they are, but as a Python noob I can't see if there's a way to relatively easily do that in application code, or whether there needs to be some library changes.

If the former - it's a change in application code - a nudge in the right direction (which I can then probably document!) would be appreciated - if it's the latter, I'd like to submit this as a feature request. The Python noob-iness would unfortunately interfere with adding the necessary code myself, I'm afraid (too many moving cogs!)

Thanks for an excellent product!

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions