Object Storage
Create bucket
/object-storage/bucketsCreate an S3 compatible bucket in the storage tier you choose. It is ready in a few seconds and is billed by the hour for what it stores, serves and the requests it receives.
Autorización
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Cuerpo de la petición
Create a bucket.
Globally unique bucket name
length ≤ 255Tier slug or uuid
length ≤ 64Project (default: the organization's first project)
Create the bucket with versioning enabled
falseLabels {key: value}, at most 50
Lifecycle rules applied when the bucket is created (same as PUT .../lifecycle)
items ≤ 1000Propiedades (8)
length ≤ 255truePropiedades (4)
length ≤ 4096items ≤ 50Propiedades (2)
length ≤ 512length ≤ 512Propiedades (3)
Days after the object was written
YYYY-MM-DD (midnight UTC), after today
Remove delete markers left without any version (versioned buckets)
Propiedades (2)
Days after a version stopped being the current one
Keep this many newer versions
Propiedades (1)
Not supported
Not supported
Create the bucket with Object Lock (WORM). Only possible now, never later; implies versioning
falseDefault retention of new objects (only with object_lock); null for none
Propiedades (3)
governance: keys with the bypass permission can still delete; compliance: nobody can
"governance""compliance"Retention in days
Retention in years
Required (true) with object_lock: you accept the Object Lock terms
falseRespuestas
Successful Response
application/json
Propiedades (4)
{}Propiedades (2)
Propiedades (3)
"governance""compliance"