List the retention rules for a bucket.

GET {{baseUrl}}/n/:namespaceName/b/:bucketName/retentionRules?page=ea ut anim

List the retention rules for a bucket. The retention rules are sorted based on creation time, with the most recently created retention rule returned first.

Request Params

KeyDatatypeRequiredDescription
pagestringFor list pagination. The value of the opc-next-page response header from the previous "List" call. For important
details about how pagination works, see List Pagination.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"items":[{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"etag":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeCreated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeModified":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"duration":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeRuleLocked":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"displayName":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"etag":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeCreated":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeModified":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"duration":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timeRuleLocked":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}