v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
S3-Compatible Storage

Get bucket

Returns bucket configuration including CORS, Lifecycle, and Policy settings in a consolidated response.

get/storage/v4/object_storages/{storage_id}/buckets/{name}

Path parameters

storage_idinteger required

Storage ID

namestring required

Bucket name

Response

BucketDetailResV4

namestring required

Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.

storage_idinteger required

Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.

Example response

{
  "cors": {
    "allowed_origins": [
      "https://example.com",
      "*"
    ]
  },
  "lifecycle": {
    "expiration_days": 30
  },
  "name": "my-bucket",
  "policy": {
    "is_public": true
  },
  "storage_id": 123
}