get method

Returns the bucket object lifecycle configuration from Object Storage.

Request

GET /{bucket}?lifecycle HTTP/1.1

Path parameters

Parameter Description
bucket Name of the bucket.

Query parameters

Parameter Description
lifecycle Required parameter that indicates the type of operation.

Headers

Use the necessary common request headers in requests.

Response

Headers

Responses can only contain common response headers.

Response codes

If there's no configuration, Object Storagereturns a 404 NoSuchLifecycleConfiguration error code.

For a list of other possible responses, see Responses.

Data schema

The structure of returned data is the same as that of the data passed by the upload method. The structure is described in Bucket object lifecycle configuration.