{
"regionID": "TestRegionID",
"bucket": "bucket-zhr-732",
"replicationConfiguration": {
"role": "owner",
"rules": [
{
"id": "TestRegionID",
"status": "Enabled",
"priority": "1",
"prefix": "null",
"filter": {
"prefix": "null",
"tag": {
"key": "key",
"value": "value"
}
}
}
]
}
}
curl --location --request POST '/v4/oss/put-bucket-replication' \
--header 'Content-Type: application/json' \
--data-raw '{
"regionID": "TestRegionID",
"bucket": "bucket-zhr-732",
"replicationConfiguration": {
"role": "owner",
"rules": [
{
"id": "TestRegionID",
"status": "Enabled",
"priority": "1",
"prefix": "null",
"filter": {
"prefix": "null",
"tag": {
"key": "key",
"value": "value"
}
}
}
]
}
}'
{
"description": "string",
"errorCode": "string",
"message": "string",
"returnObj": {},
"statusCode": 0
}