Feature Description
The GET Bucket CrossCloudReplication API is used to query the cross-cloud replication rules configured for the source bucket.
Request
First, obtain the cross-cloud replication request domain name. In a private cloud environment, log in to the platform machine and run the following command to obtain it:
Request Example
POST /capi HTTP/1.1
Host: ocloud-cos-lazarus.xxxx.fsphere.cn
Accept: */*
Content-Type: application/json
request body
Request Body
Users can specify information for querying the bucket in the request body.
{
"Action": "GetBucketCrossCloudReplication",
"Appid": 1255000000,
"Params": {
"Bucket": "test-1-1255000000",
"Region": "region"
}
}
Response
Response Header
HTTP/1.1 200 OK
Date: Tue, 23 Sep 2025 07:58:40 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 810
Connection: keep-alive
Response Body
{
"RequestId": "",
"Code": "ok",
"Message": "",
"Data": [
{
"Status": "Enabled",
"Destination": {
"Endpoint": "http://cos.region.domain",
"Bucket": "test-2-1255000000",
"SecretID": "AKIDQDXnxxxxxxxxxxxxxxxqc5ltHpjJf",
"SecretKey": "nyxljpwolxxxxxxxxxxxxx50pTRwkgLU",
"SecretToken": ""
},
"SourcePrefix": "test/",
"DestinationPrefix": "test/",
"Concurrency": 0,
"RequestLimit": 0,
"TrafficLimit": 0,
"PrefixType": false
}
]
}