file_actions
File Actions

Extract a ZIP file to a destination folder.

Changed on

Extract a ZIP file to a destination folder.

post/file_actions/unzip

Request

  • Base URL
    https://app.files.com/api/rest/v1
  • URL
    https://app.files.com/api/rest/v1/file_actions/unzip
  • Auth
    none declared

Request body multipart/form-data

pathstring required

ZIP file path to extract.

destinationstring required

Destination folder path for extracted files.

filenamestring

Optional single entry filename to extract.

overwriteboolean

Overwrite existing files 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