Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
object-storage
/
buckets
/
{dataCenterId}
/
{id}
Get a bucket
curl --request GET \
  --url https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/buckets/{dataCenterId}/{id} \
  --header 'Authorization: <api-key>'
{
  "billableBytes": "<string>",
  "dataCenterId": "<string>",
  "endpoint": "<string>",
  "id": "<string>",
  "objectCount": "<string>",
  "projectId": "<string>",
  "sizeBytes": "<string>",
  "storageGibPriceHr": {
    "value": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

projectId
string
required
dataCenterId
string
required
id
string
required

Response

A successful response.

dataCenterId
string
required
id
string
required
projectId
string
required
billableBytes
string<int64>
endpoint
string
objectCount
string<int64>
sizeBytes
string<int64>
storageGibPriceHr
object

A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's BigDecimal or Python's decimal.Decimal.