Skip to main content
POST
Execute a command with multiple disks mounted

Authorizations

Authorization
string
header
required

API key

Body

application/json
disks
object
required

Map of relative path under /mnt/archil to the disk to mount there. At least one entry is required. Relative paths must be non-empty, non-absolute, and contain no . or .. segments.

Each value is either a plain disk ID string (mounts the disk's root, read-write) or an object that additionally selects a subdirectory of the disk and/or marks the mount as read-only.

Example:
command
string
required

Shell command to execute inside the container

Example:

"ls -la /mnt/archil/data /mnt/archil/logs"

Response

Command completed

success
boolean
required
Example:

true

data
object
required