Volumes
Persistent storage volumes that can be bound to applications or functions. Volumes persist data across container restarts and redeployments.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v1/volumes | List volumes (?projectId=) |
POST | /api/v1/volumes | Create volume |
GET | /api/v1/volumes/:id | Get volume |
PUT | /api/v1/volumes/:id | Update volume |
DELETE | /api/v1/volumes/:id | Delete volume |
Binding
| Method | Path | Description |
|---|---|---|
POST | /api/v1/volumes/:id/bind | Bind to a workload |
POST | /api/v1/volumes/:id/unbind | Unbind from workload |
Backups
| Method | Path | Description |
|---|---|---|
POST | /api/v1/volumes/:id/backup | Trigger backup |
GET | /api/v1/volumes/:id/backups | List backups |
POST /api/v1/volumes
{
"project_id": "uuid",
"environment_id": "uuid",
"server_id": "uuid",
"name": "app-data",
"backup_enabled": true,
"backup_interval_minutes": 60,
"backup_destination_id": "uuid",
"retention_count": 5
}POST /api/v1/volumes/:id/bind
{
"workload_type": "application",
"workload_id": "uuid",
"mount_path": "/data"
}Workload types: application, function
Last updated on