userID: ********************curl --location --request GET 'http://ct-global.ctapi-internal.ctyun.local:31111/v4/oss/get-bucket-lifecycle-conf?regionID=nm8&bucket=bucket-mx0jvfhj' \
--header 'x-ctyun-user-id: {{userID}}' \
--header 'Accept-Language: zh-CN' \
--header 'userId: ef378f73-1c52-435e-90f2-6a9cd2258c8e' \
--header 'userID: <api-key>'{
"description": "成功",
"error": "Success",
"errorCode": "Success",
"message": "success",
"returnObj": {
"rules": [
{
"ID": "5f2e3845-2a6e-4d6c-ba13-5534f7e3f577",
"expiration": {
"date": "2024-10-10T00:00:00Z",
"days": 0,
"expiredObjectDeleteMarker": null
},
"status": "Enabled",
"noncurrentVersionExpiration": {
"noncurrentDays": 220
},
"noncurrentVersionTransitions": [
{
"noncurrentDays": 200,
"storageClass": "GLACIER"
},
{
"noncurrentDays": 123,
"storageClass": "STANDARD_IA"
}
],
"filter": {
"and": {
"prefix": "",
"tags": [
{
"key": "k2",
"value": "v2"
},
{
"key": "k3",
"value": "v3"
}
]
},
"prefix": "prefixStr02",
"tag": {
"key": "",
"value": ""
}
},
"prefix": "",
"abortIncompleteMultipartUpload": {
"daysAfterInitiation": 120
},
"transitions": [
{
"date": "2024-10-10T00:00:00Z",
"days": 0,
"storageClass": "GLACIER"
}
]
}
]
},
"statusCode": 800
}