Storage
Get Volume (PVC)
Get a single volume (persistent volume claim) by name.
Get a single volume (persistent volume claim) by name.
Authorization
bearerAuth AuthorizationBearer <token>
Access token or API key (unb_...) passed as Authorization: Bearer <token>.
In: header
Query Parameters
type*PvcScope
Value in
- "team"
- "project"
- "environment"
team_id*string
Format
uuidproject_id?string
Format
uuidenvironment_id?string
Format
uuidid*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/storage/pvc/get?type=team&team_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&id=string"{ "data": { "can_delete": true, "capacity_gb": 0.1, "created_at": "2019-08-24T14:15:22Z", "description": "string", "environment_id": "40ef0e48-a11f-4963-a229-e396c9f7e7c4", "id": "string", "is_available": true, "is_database": true, "is_deleting": true, "is_pending_resize": true, "mount_path": "string", "mount_status": "unattached", "mounted_on_service_id": "6de1f4a4-7b8e-4432-bffa-782791ce061a", "name": "string", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "requested_gb": 0.1, "status": "Pending", "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba", "type": "team", "used_gb": 0.1 }}List S3 Buckets GET
List the S3 buckets stored for a team. Database services back up to one of them, picked by its ID through s3_backup_bucket_id. The secret key is never returned.
Get S3 Bucket GET
Get a single S3 bucket by ID: its name, endpoint, region, bucket and access key ID. The secret key is never returned.