Queries backup records.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
MachineRemark | string | No | The information that you want to use to identify the servers protected by the anti-ransomware policy. You can enter the IP address or ID of a server. | 192.168.XX.XX |
StatusList | array | No | The backup task status. Valid values:
| |
string | No | The details of the backup task status. | ["BACKUP_COMPLETE"] | |
BackupStartTime | long | No | The timestamp when the backup task started. Unit: milliseconds. | 1699514211000 |
BackupEndTime | long | No | The timestamp when the backup task ended. Unit: milliseconds. | 1699600611000 |
CurrentPage | integer | No | The page number. Default value: 1. Pages start from page 1. | 1 |
PageSize | integer | No | The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page. Note
We recommend that you do not leave this parameter empty.
| 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "3956048F-9D73-5EDB-834B-4827BB48****",
"BackupRecordList": [
{
"Uuid": "b93cccb9-f19f-4886-97fe-47df26ba****",
"ClientId": "c-0002bgagelj3d2sc****",
"BackupPlanId": "plan-000c4tt43nolmx96****",
"BackupJobId": "a006f24d069843c88688672d74ee****",
"BackupStartTime": 1699514211000,
"BackupEndTime": 1699600611000,
"BackupStatus": "BACKUP_COMPLETE",
"ErrorCode": "FILE_CACHE_NO_SPACE",
"ErrorMessage": "FILE_CACHE_NO_SPACE",
"InstanceName": "openapi",
"Ip": "1.1.1.1",
"InstanceId": "i-wz9ikn44p46krnic****",
"InternetIp": "1.1.1.1\n",
"IntranetIp": "192.168.1.1",
"RegionId": "cn-hangzhou"
}
],
"PageInfo": {
"CurrentPage": 2,
"PageSize": 20,
"TotalCount": 100,
"Count": 20
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.