Skip to main content
POST
/
file-entries
/
{entryId}
/
extract
# Extract unencrypted archive
curl -X POST "https://app.drime.cloud/api/v1/file-entries/123/extract?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "parentId": 456,
    "password": null
  }'

# Extract password-protected archive
curl -X POST "https://app.drime.cloud/api/v1/file-entries/123/extract?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "parentId": 456,
    "password": "secretpassword"
  }'
{
  "message": "Archive extracted successfully.",
  "status": "success"
}

Overview

Extracts the contents of a ZIP archive to a specified folder. Supports password-protected archives.

Path Parameters

entryId
integer
required
The ZIP file entry ID

Query Parameters

workspaceId
integer
Workspace context

Request Body

parentId
integer
required
Destination folder ID. Use 0 for root.
password
string
Password for encrypted archives. Use null for unencrypted.

Response

message
string
Success message
status
string
Request status (success)
# Extract unencrypted archive
curl -X POST "https://app.drime.cloud/api/v1/file-entries/123/extract?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "parentId": 456,
    "password": null
  }'

# Extract password-protected archive
curl -X POST "https://app.drime.cloud/api/v1/file-entries/123/extract?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "parentId": 456,
    "password": "secretpassword"
  }'
{
  "message": "Archive extracted successfully.",
  "status": "success"
}