Get bucket lifecycle configuration
GET/backend/api/object-storage/storage/:id/lifecycle
Host: https://core.ocplanet.cloud
Retrieve the lifecycle configuration of a bucket. Lifecycle rules define automated transitions and expirations of objects.
Request
Path Parameters
A UUID string identifying this Object Bucket.
Responses
- 200
Bucket lifecycle configuration.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Rules object[]
Unique identifier of the rule within the bucket.
Object key prefix the rule applies to. Empty string means the rule applies to all objects.
Possible values: [Enabled, Disabled]
Whether the rule is currently active.
Expiration object
Specifies when objects are deleted (current versions).
Possible values: >= 1
Number of days after object creation when the rule takes effect.
Specific date when the rule takes effect (ISO 8601).
Whether to remove expired object delete markers.
Transition object
Defines when objects transition to a different storage class.
Possible values: [STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE]
NoncurrentVersionTransition object
Defines when noncurrent object versions transition to a different storage class.
Possible values: >= 1
Possible values: [STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE]
NoncurrentVersionExpiration object
Defines when noncurrent object versions are permanently deleted.
Possible values: >= 1
AbortIncompleteMultipartUpload object
Aborts incomplete multipart uploads after the specified number of days.
Possible values: >= 1
{}