Get Versioning

Get the versioning status of a bucket.
EndpointMethodAdmin Required
/api/v1/buckets/:bucketName/versioningGETNo

Returns the versioning status of a bucket you own.

Path Parameters

bucketName
string required
The name of the bucket.

Response

{
    "status": "Enabled"
}

Versioning Status Values

StatusDescription
DisabledVersioning has never been enabled
EnabledVersioning is active, all object changes create new versions
SuspendedVersioning was enabled but is now paused; existing versions are retained

Errors

StatusReason
400Missing bucket name
404Bucket not found (or not owned by you)