Closed dpakach closed 2 years ago
Add api endpoint for moving a file in server root. Related issue https://github.com/owncloud/core/issues/39350, to make the mounted local external storage unavailable to the server by renaming the mount point.
endpoint- http:///ocs/v2.php/apps/testing/api/v1/file params-
eg.
curl http://localhost/ocs/v2.php/apps/testing/api/v1/file\?source\=test.txt\&target\=hello.txt -XMOVE -u admin:admin
https://drone.owncloud.com/owncloud/testing/1663/3/4 phpstan complains
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
0.0% Coverage 15.9% Duplication
Description
Add api endpoint for moving a file in server root. Related issue https://github.com/owncloud/core/issues/39350, to make the mounted local external storage unavailable to the server by renaming the mount point.
Usage
endpoint- http:///ocs/v2.php/apps/testing/api/v1/file
params-
eg.
Checklist: