Volumes
Named-volume management under a stack — inspect, backup/restore, scheduled backup config, and seed (upload / inline / file write).
Get a stack volume
Returns metadata for a single named volume, including its backup configuration.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Get a stack volume › Responses
Volume metadata
List a volume's file tree
Returns the directory tree of the volume's contents on the VM. The stack must have been deployed.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
List a volume's file tree › Responses
File tree
Set the scheduled-backup config for a volume
Enable/disable and schedule automatic backups for the volume.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Set the scheduled-backup config for a volume › Request Body
presetretentionNumber of backups to retain
enabledat_time"HH:MM" UTC — optional for hourly
Set the scheduled-backup config for a volume › Responses
Backup config saved
Trigger a volume backup now
Starts an on-demand backup of the volume to S3. Returns the backup job handle. The stack must have been deployed.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Trigger a volume backup now › Responses
Backup job started
Delete a stored backup
Permanently deletes a single backup archive, identified by its key in the request body (the key contains slashes, hence not a path param).
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Delete a stored backup › Responses
Backup deleted
List a volume's backups
Lists the backup archives stored in S3 for this volume.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
List a volume's backups › Responses
List of backups
Restore a volume from a backup
Restores the volume's contents from a stored backup (by key) into the volume's path on the VM. The stack must have been deployed.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Restore a volume from a backup › Responses
Restore applied
List backup/restore jobs for a volume
Lists the recent asynchronous backup and restore jobs for this volume.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
List backup/restore jobs for a volume › Responses
List of jobs
Get a backup/restore job
Returns the status of a single backup or restore job.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
jobIdBackup/restore job identifier
Get a backup/restore job › Responses
Job status
List restore jobs for a volume
Returns the recent restore jobs recorded for this volume, newest first.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
query Parameters
limitMax number of rows to return. Capped at 200.
List restore jobs for a volume › Responses
List of restore jobs (empty array if none)
Get a restore job
Returns the status of a single restore job. Polls the backbone and write-through updates the stored job when it is still in progress.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
jobIdRestore job identifier
Get a restore job › Responses
Restore job status
Issue a presigned upload URL for seeding
Returns a presigned S3 URL the client uploads a .tar archive to, before calling seed/apply. The stack must have been deployed.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Issue a presigned upload URL for seeding › Responses
Presigned upload URL (and object key)
Apply a previously-uploaded seed archive
Extracts the .tar archive (referenced by its upload key) into the volume's path on the VM. Journaled as a seed stack activity.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Apply a previously-uploaded seed archive › Request Body
keyObject key returned by seed/upload-url
Apply a previously-uploaded seed archive › Responses
Seed applied
Seed a single inline file
Writes one small file directly into the volume, content passed inline (no upload round-trip). Journaled as a seed stack activity.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Seed a single inline file › Request Body
filenamecontentmodeOptional unix mode (e.g. 420 for 0644); 0 falls back to 0644
Seed a single inline file › Responses
File written
Read a file from a volume
Returns the contents of a single file inside the volume. The stack must have been deployed.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
query Parameters
pathFile path within the volume
Read a file from a volume › Responses
File contents
Write a file to a volume
Creates or overwrites a single file inside the volume. The stack must have been deployed.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Write a file to a volume › Request Body
pathcontentmodeOptional unix mode, e.g. "0644"
encodingOptional content encoding (e.g. base64)
Write a file to a volume › Responses
File written
Delete a file from a volume
Removes a single file inside the volume, path passed in the body. The stack must have been deployed.
path Parameters
projectIdProject unique identifier
stackIdStack unique identifier
volumeNameNamed volume identifier (as declared in the stack's docker compose)
Delete a file from a volume › Responses
File deleted
