GetBucketReplicationProgress
Updated at:2025-11-03
API description
This API retrieves the process status of data synchronous replication for a specified ID.
Request
-
Request syntax
Plain Text1Get /?replicationProgress&id=sample-bucket HTTP/1.1 2Host: <BucketName>.bj.bcebos.com 3Date: GMT Date 4Authorization: AuthorizationString -
Request headers
No special parameters
-
Request parameters
No special parameters
Response
| Parameters | Description |
|---|---|
| status | It indicates whether data synchronization is enabled, with options of enabled and disabled. |
| historyReplicationPercent | Percentage of historical file data synchronization completed. 0 will be returned when it is no longer valid. |
| latestReplicationTime | UNIX timestamp, indicating the time of the latest data replication. |
Example
-
Request example
Plain Text1Get /?replicationProgress&id=sample-bucket HTTP/1.1 2Host: bucket.bj.bcebos.com 3Date: Thu, 15 May 2017 00:17:23 GMT 4Authorization: AuthorizationString -
Response example
Plain Text1HTTP/1.1 200 OK 2Date: Thu, 15 May 2017 00:17:23 GMT 3Server: BceBos 4x-bce-request-id: xxxx-xxxxx-xxxx 5Connection: keep-alive 6Content-Length: xxx 7{ 8 "status":"enabled", 9 "historyReplicationPercent":5, 10 "latestReplicationTime":1504448315 11}
