file_actions
File Actions

Copy File/Folder

Changed on

Copy File/Folder

post/file_actions/copy/{path}

Request

  • Base URL
    https://app.files.com/api/rest/v1
  • URL
    https://app.files.com/api/rest/v1/file_actions/copy/{path}
  • Auth
    none declared

Path parameters

pathstring required

Path to operate on.

Request body multipart/form-data

destinationstring required

Copy destination path.

copy_behaviorsboolean

If copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?

structureboolean

Copy structure only?

overwriteboolean

Overwrite existing file(s) in the destination?

Response

The FileActions object.

statusstring

Status of file operation.

file_migration_idinteger

If status is pending, this is the id of the File Migration to check for status updates. Delete actions include it whenever the deletion runs as a File Migration, including while it is processing.

Example response

{
  "status": "pending",
  "file_migration_id": 1
}

Changes