Queries the information about one or more backup snapshots that meet the specified conditions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SourceType | string | Yes | The type of the data source. Valid values:
| ECS_FILE |
Query | array | No | The query conditions. Example:
| |
any | No | |||
Limit | integer | No | The maximum number of rows that you want the current query to return. To query only the number of matched rows without the need to return specific data, you can set the Limit parameter to | 10 |
NextToken | string | No | The token that is required to obtain the next page of backup snapshots. | caeba0bbb2be03f84eb48b699f0a**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"NextToken": "BE",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": true,
"Limit": 10,
"Code": "200",
"Message": "successful",
"TotalCount": 20,
"Snapshots": {
"Snapshot": [
{
"Status": "COMPLETE",
"SnapshotHash": "f2fe...",
"VaultId": "v-0003rf9m17pap3ltpqx5",
"ActualItems": 6,
"BackupType": "COMPLETE",
"CreateTime": 1607436917,
"ActualBytes": 600,
"SourceType": "ECS_FILE",
"Prefix": "example/",
"ClientId": "c-*********************",
"BytesTotal": 1000,
"ItemsDone": 8,
"CompleteTime": 1554347313,
"Retention": 7,
"CreatedTime": 1554347313,
"Bucket": "hbr-backup-oss",
"ParentSnapshotHash": "f2fe..",
"InstanceId": "i-*********************",
"FileSystemId": "005494",
"ErrorFile": "Item\tError Message C:\\Program Files (x86)\\Symantec\\Symantec Endpoint Protection\\14.3.558.0000.105\\Bin\\service.dat\tOpen: open \\\\?\\C:\\Program Files (x86)\\Symantec\\Symantec Endpoint Protection\\14.3.558.0000.105\\Bin\\service.dat: The process cannot access the file because it is being used by another process. C:\\ProgramData\\McAfee\\Agent\\data\\InstallerFiles\\172e8a3b04b7ab0fd0215f4fb7707e3744b37d83b6743b3eacb94447c74dc9af_contrib.ini\tOpen: open \\\\?\\C:\\ProgramData\\McAfee\\Agent\\data\\InstallerFiles\\172e8a3b04b7ab0fd0215f4fb7707e3744b37d83b6743b3eacb94447c74dc9af_contrib.ini: Access is denied.",
"StartTime": 1554347313,
"UpdatedTime": 1554347313,
"SnapshotId": "s-*********************",
"JobId": "v-*********************",
"Path": "[\"/home\"]",
"ItemsTotal": 10,
"BytesDone": 800,
"Paths": {
"Path": [
"\"/home\""
]
},
"InstanceName": "instancename",
"TableName": "table2",
"RangeStart": 1642492553038,
"RangeEnd": 1642521709966,
"ExpireTime": 1640334062
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||
---|---|---|---|---|---|---|---|---|
2024-01-05 | The request parameters of the API has changed | see changesets | ||||||
| ||||||||
2023-07-18 | The response structure of the API has changed | see changesets | ||||||
| ||||||||
2023-03-29 | The response structure of the API has changed | see changesets | ||||||
|