This API allows you to browse a Snapshot Folder.
Input Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
id | Folder revision id. Obtained by the Get list of drives API call, or in the case of subfolders by another Browse folder request, |
snapshotDate | Date of the snapshot, originally obtained via the Get list of snapshots call. |
page | Optional paging parameters. If not specified, the default is to fetch 50 items, starting from index 0. startIndex Index from where to start fetching. count Total how many records to fetch. |
Example
{
"id": 147,
"snapshotDate": "2020-01-04T23:59:59"
}
Output Parameters
The following table provides the paraments and descriptions.
Parameter | Description |
type | Type of record. Either Folder or File. |
id | Integer value. ID of the file/folder record. Use this parameter for subsequent browse requests for the next level (browse by Folder or File) or for sending it over to the restore API in order to restore this record. |
size | For type = File only: size of file in bytes. |
name | String value. Display name of the file/folder. |
path | String. Path of the file/folder. |
lastModifiedDate | Available for type = File only: last modified date and time of the backed-up file. |
hasChildren | Boolean. Indicates whether a subsequent browse at the Folder, next level is possible. |
Example
Array of files or folders that contain restorable revisions, with the following structure:
{
"items": [
{
"type": "File",
"lastModifiedDate": "2016-09-12T11:36:42",
"size": 69632,
"id": 1464,
"name": "Application.evtx",
"path": "C:\\Logs\\Application.evtx",
"hasChildren": true
},
{
"type": "File",
"lastModifiedDate": "2016-09-12T11:34:59",
"size": 69632,
"id": 1465,
"name": "HardwareEvents.evtx",
"path": "C:\\Logs\\HardwareEvents.evtx",
"hasChildren": true
}
]
}
Example GET
GET /v2/accounts/{accountUsername}/computers/{subaccountId}/restore/filesandfolders/browse/snapshot/folder/{snapshotDriveId}?snapshot={snapshotDate}
Example Output
{
"data": {
"items": [
{
"type": "File",
"lastModifiedDate": "2016-09-12T11:36:42",
"size": 69632,
"id": 1464,
"name": "Application.evtx",
"path": "C:\\Logs\\Application.evtx",
"hasChildren": true
}
]
}
}