This API allows you to browse a File System Drive.
Input Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
id | Drive revision id, obtained via the Get list of drives API call. |
page | Optional paging parameters. If not specified, the default is to fetch 50 items starting from index 0. |
startIndex | Index where to start fetching. |
count | How many records to fetch. |
Example
{
"Id": 30
}.
Output Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
type | Type of record. Either Folder or File. |
id | Integer value. ID of the 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 to restore this record. |
name | String value. Display name of volume. |
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, File or Revision level is possible. |
Example
{
"items": [
{
"type": "Folder",
"id": 31,
"name": "a",
"path": "C:\\a",
"hasChildren": true
},
{
"type": "Folder",
"id": 146,
"name": "large file",
"path": "C:\\large file",
"hasChildren": true
},
{
"type": "Folder",
"id": 147,
"name": "Logs",
"path": "C:\\Logs",
"hasChildren": true
}
]
}
Example GET
GET /v2/accounts/{accountUsername}/computers/{subaccountId}/restore/filesandfolders/browse/filesystem/drive/{filesystemId}
Example Output
{
"data": {
"items": [
{
"type": "Folder",
"id": 37,
"name": "Minibats",
"path": "F:\\Minibats",
"hasChildren": true,
"backupTime": "0001-01-01T00:00:00"
}
]
}
}