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

API for the trash-bin #1332

Closed
MariusBluem opened this issue Sep 8, 2016 · 3 comments
Closed

API for the trash-bin #1332

MariusBluem opened this issue Sep 8, 2016 · 3 comments

Comments

@MariusBluem
Copy link
Member

To implement the Trash Bin into the iOS app we need an API for the trash-bin.v
Requested here: https://help.nextcloud.com/t/wishlist-trash/3049/2

cc @schiessle @croessner @marinofaggiana

Copied over from nextcloud/nextcloud.com#128

@marinofaggiana
Copy link
Member

Thanks @MariusBluem

@emresaracoglu
Copy link

Can we use this feature for next version?:)

@rullzer
Copy link
Member

rullzer commented Sep 27, 2017

To me this would go hand in hand with a cleanup of the trashbin code (which is loooong overdue).

However the API should be straight forward I think: webdav endpoint at: remote.php/dav/trashbin/<userid>/

  • Deleting from the trashbin is simple then.
  • Deleting everything is just sending a DELETE to remote.php/dav/trashbin/<userid>
  • Do need to come up with a restore VERB but I'm sure we can manage

Still this won't be an easy one to solve I think.

@rullzer rullzer self-assigned this Apr 9, 2018
rullzer added a commit that referenced this issue Apr 16, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
@rullzer rullzer mentioned this issue Apr 16, 2018
9 tasks
rullzer added a commit that referenced this issue Apr 16, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
@rullzer rullzer added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Apr 16, 2018
rullzer added a commit that referenced this issue Apr 17, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
rullzer added a commit that referenced this issue Apr 18, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
rullzer added a commit that referenced this issue Apr 22, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
rullzer added a commit that referenced this issue Apr 23, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
rullzer added a commit that referenced this issue Apr 23, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
rullzer added a commit that referenced this issue Apr 25, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
rullzer added a commit that referenced this issue Apr 25, 2018
First steps for #1332

* Add a new DAV collection
* List all files in the trashbin for this user
* Deleting files from trashbin
* Get files from trashbin (just read)

Signed-off-by: Roeland Jago Douma <[email protected]>
@MorrisJobke MorrisJobke added this to the Nextcloud 14 milestone May 1, 2018
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

5 participants