#
/move
#
Route Details
#
POST /move
Moves files and/or folders into a given directory.
#
Request
Method:
HTTP POST
Request body: JSON object with
pathToFiles
, string array of any length with path of files to move.{ "pathToFiles": [ "/path/to/file1", "/path/to/file2" ], "newPath": "directory-to-place-files-in" }
#
Response
Example 200 partial success response body:
{
"message": "Some files failed",
"failedFiles": [
"file1",
"file2"
]
}