v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
drive

Attach a drive to a local path

Mounts an agent drive using the blfs binary to a local path, optionally mounting a subpath within the drive. Supports optional UID/GID mapping to remap file ownership between the local sandbox and the filer (always mapped to filer UID/GID 0). Mapping values can be set per-request via uidMap/gidMap fields, or globally via BLFS_UID_MAP/BLFS_GID_MAP environment variables (request values take precedence).

post/drives/mount

Request body

driveNamestring required
drivePathstring

Optional, defaults to "/"

gidMapstring

Optional, local GID to map (filer GID is always 0)

mountPathstring required
readOnlyboolean

Optional, defaults to false

uidMapstring

Optional, local UID to map (filer UID is always 0)

Response

OK

driveNamestring
drivePathstring
gidMapstring

The local GID used for this mount

messagestring
mountPathstring
readOnlyboolean
successboolean
uidMapstring

The local UID used for this mount