v1
latestOpenAPI 3.0.02026-07-135965404.0 KBResources
Copy resources
Copies a set of exisiting files/folders (provided by an array resources) to the requested parentResource in your account. In the resources array, you may specify paths pointing files/folders throughout the account, but everything will be copied to the root of the parentResource.
Notes:
- Authenticated user should have modify permission.
post/resources/copy
Headers
ev-api-keystring required
API Key required to make the API call.
ev-access-tokenstring required
Access token required to make the API call.
Request body
Response
Successful Operation
Example response
{
"data": {
"id": 1,
"type": "resource",
"attributes": {
"hash": "ec4aa9a91be282666a165899a14f29b1",
"name": "examplefolder",
"createdBy": "exampleuser",
"uploadDate": "2011-03-21T00:18:56-07:00",
"createdAt": "2011-03-21T00:18:56-07:00",
"updatedAt": "2011-03-21T00:18:56-07:00",
"accessedAt": "2011-03-21T00:18:56-07:00",
"path": "/examplefolder",
"previewable": true
},
"relationships": {
"share": {
"data": {
"id": 2345,
"type": "share"
}
},
"notifications": [
{
"data": {
"id": 2,
"type": "notification"
}
}
],
"directFile": {
"data": {
"id": 2,
"type": "directFile"
}
},
"parentResource": {
"data": {
"id": 2,
"type": "resource"
}
}
}
},
"meta": {
"id": 2321
}
}