Skip to main content

Crate nextcloud_trashbin

Crate nextcloud_trashbin 

Source
Expand description

Nextcloud Trashbin WebDAV API client.

Provides TrashClient for interacting with a user’s trashbin via WebDAV, and TrashItem representing deleted files and folders.

Endpoints wrapped:

  • PROPFIND /remote.php/dav/trashbin/{user}/trash/ to list deleted items
  • MOVE /remote.php/dav/trashbin/{user}/trash/{id} to restore an item
  • DELETE /remote.php/dav/trashbin/{user}/trash/{id} to permanently delete an item
  • DELETE /remote.php/dav/trashbin/{user}/trash/ to empty the trashbin

Official documentation: https://docs.nextcloud.com/server/latest/developer_manual/client_apis/WebDAV/trashbin.html

Structs§

TrashClient
WebDAV client for interacting with Nextcloud’s trashbin endpoints.
TrashItem
A deleted item in a user’s Nextcloud trashbin.