Copy Resources
Summary
Copy a set of existing files/folders to a folder in your site.
If an operation is partially successful, you will receive an error message for the first failure, and the response will not include information about any files that were successfully processed or any files that were not attempted.
Endpoint
POST https://mysite.files.com/api/v2/resources/copy
Replace mysite.files.com with your site address.
Request Body Schema
Name | Data Type | Notes |
---|---|---|
resources | array(string) | Required. Array of resources to be copied. Each should be specified either as the complete path (e.g. my/folder/file.txt ) or with the internal resource ID (e.g. id:31415926535 ) |
parentResource | string | Required. The folder the items will be copied to. It can be specified as either the complete path (e.g. my/folder ) or as a resource ID (e.g. id:66260702 ) |
Get Instant Access to Files.com
The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.
Start My Free Trial