Queries the time range within which the data of an instance can be restored to a point in time.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | DescribeBackupTimes |
The operation that you want to perform. Set the value to DescribeBackupTimes. |
| DrdsInstanceId | String | Yes | drdshbga71nn**** |
The ID of the PolarDB-X 1.0 instance. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 4780A19F-5ECB-4C56-AD20-966A3FF9DE5R |
Indicates the ID of the request. |
| RestoreTime | Struct |
Indicates the information about the time range within which the data of the instance can be restored to a point in time. |
|
| EndTime | String | 1568636922671 |
Indicates the end time. The time is in the UNIX timestamp format. The time is in UTC. Unit: ms. |
| StartTime | String | 1568632853000 |
Indicates the start time. The time is in the UNIX timestamp format. The time must be in UTC. Unit: ms. |
| Success | Boolean | true |
Indicates whether the request is successful. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeBackupTimes
&DrdsInstanceId=drdshbga71nn****
&<Common request parameters>
Sample success responses
XML format
<RequestId>4780A19F-5ECB-4C56-AD20-966A3FF9DE5R</RequestId>
<Success>true</Success>
<RestoreTime>
<EndTime>1568636922671</EndTime>
<StartTime>1568632853000</StartTime>
</RestoreTime>
JSON format
{"RequestId":"4780A19F-5ECB-4C56-AD20-966A3FF9DE5R","Success":"true","RestoreTime":{"EndTime":"1568636922671","StartTime":"1568632853000"}}
Error codes
| HttpCode | Error code | Error message | Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | The error message returned because an internal error has occurred. |
For a list of error codes, visit the API Error Center.