#
/copy
#
Route Details
#
POST /copy
Copy 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 copy.{ "pathToFiles": [ "/path/to/file1", "/path/to/file2" ], "newPath": "directory-to-copy-files-to" }
#
Response
Example 200 partial success response body:
{
"message": "Some files failed",
"failedFiles": [
"file1",
"file2"
]
}