This API allows you to browse a Backup Set's Folder.
Input Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
id | Folder revision id. Obtained via the Get list of drives API call, or in the case of subfolders by another Browse folder request. |
page | Optional paging parameters. If not specified, the default is to fetch 50 items, starting from index 0. startIndex Index where to start fetching from. count Total how many records to fetch. |
Example
{
"id": 146,
"page": {
"startIndex": 0,
"count": 10
}
}
Output Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
type | Type of record: Folder or File. |
lastModifiedDate | Last modified date and time of the backed-up file. |
size | Size of file in bytes. |
id | Integer value. ID of the revision record. Use this parameter for sending it over to the restore API to restore this record. |
name | String value. Display name of path of the revision. |
hasChildren | Boolean. Indicates whether a subsequent browse at the next level is possible. |
Example
Array of files or folders that contain restorable revisions, with the following structure
{
"items": [
{
"type": "File",
"lastModifiedDate": "2016-02-26T15:32:36",
"size": 261315950,
"id": 1446,
"name": "largefile.zip",
"path": "C:\\large folder\\largefile.zip",
"hasChildren": true
}
]
}
Example GET
GET /v2/accounts/{accountUsername}/computers/{subaccountId}/restore/filesandfolders/browse/backupset/folder/{backupsetFolderId}
Example Output
{
"data": {
"items": [
{
"type": "File",
"lastModifiedDate": "2016-03-01T15:27:18",
"size": 694784,
"id": 17,
"name": "test_Backup_file.bak",
"path": "F:\\test folder\\test_Backup_file.bak",
"hasChildren": true,
"backupTime": "2020-01-01T00:00:00"
}
]
}
}