v1

latestOpenAPI 3.0.1Apache 2.02026-07-1476137102.3 KB
Volumes

Create Volume

Create a volume for a specific app using the details provided in the request body.

post/apps/{app_name}/volumes

Path parameters

app_namestring required

Fly App Name

Request body

auto_backup_enabledboolean

enable scheduled automatic snapshots. Defaults to true

compute_imagestring
encryptedboolean
fstypestring
namestring
regionstring
require_unique_zoneboolean
size_gbinteger
snapshot_idstring

restore from snapshot

snapshot_retentioninteger
source_volume_idstring

fork from remote volume

unique_zone_app_wideboolean

Response

OK

attached_alloc_idstring
attached_machine_idstring
auto_backup_enabledboolean
block_sizeinteger
blocksinteger
blocks_availinteger
blocks_freeinteger
bytes_totalinteger
bytes_usedinteger
created_atstring
encryptedboolean
fstypestring
host_status'ok' | 'unknown' | 'unreachable'
idstring
namestring
regionstring
size_gbinteger
snapshot_retentioninteger
statestring
type'local' | 'cache'
zonestring