GET object lifecycle policy
GET {{baseUrl}}/n/:namespaceName/b/:bucketName/l
Gets the object lifecycle policy for the bucket.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-client-request-id | string | The client request ID for tracing. | |
Accept | string |
RESPONSES
status: OK
{"items":[{"action":"pariatur voluptate labore","isEnabled":true,"name":"occaecat culpa exercitation","timeAmount":-16073511,"timeUnit":"DAYS","objectNameFilter":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"target":"objects"},{"action":"amet minim","isEnabled":true,"name":"aliqua voluptate pariatur","timeAmount":-24252037,"timeUnit":"YEARS","objectNameFilter":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"target":"objects"}],"timeCreated":"1966-12-03T00:45:05.191Z"}