-
Notifications
You must be signed in to change notification settings - Fork 188
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
create WebDAV API tests for accessing files by fileID #6737
Comments
using |
@amrita-shrestha yes that is true, these tests should only be written for the spaces endpoint |
Follow up on the issues mentioned in the above description. |
@saw-jan @SwikritiT All the issues mentioned in the |
Closing this issue as per this comment |
It is possible to do WebDAV operations using only the fileID. That file can be located in any subfolder, the folder name does not need to be known:
e.g.:
curl -uadmin:admin -k 'https://localhost:9200/remote.php/dav/spaces/<fileId>' -XPROPFIND
curl -uadmin:admin -k 'https://localhost:9200/remote.php/dav/spaces/33c9baa8-450f-4873-a049-7beb8227face$136ffc9b-d317-4219-a0c3-084d5e070c60!0b8eff1a-8401-4bda-a7e7-8333e44e4ded' -XMOVE -H 'Destination: https://localhost:9200/remote.php/dav/spaces/33c9baa8-450f-4873-a049-7beb8227face%24136ffc9b-d317-4219-a0c3-084d5e070c60/Neuer%20Ordner/Artur.txt'
I don't think we have tests for that, but we should.
fileid
#6981folder
to received sharefile/folder
seems to work but no change in shares - lost share mountpoint inme/drives
#6999Personal
toShares Jail
behaves differently #4393try that all inside of subfolders & different spaces
try that all with fileIds of other users
try that all with fileId of shared files / folders
try that all with and without
remote.php
in the Destination URL, this seems to make a difference see: #6739The text was updated successfully, but these errors were encountered: