This API allows you to GET List of Snapshot Drives with Restorable Revisions.
Input Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
id | Snapshot id. Obtained via the Snapshot List API call. |
snapshotDate | Date of the snapshot, originally obtained via the Get list of snapshots call. |
Example
{
"id": 3,
"snapshotDate": "2020-01-04T23:59:59"
}
Output Parameters
The following table provides the paraments and descriptions.
Parameter | Description |
type | Type of record. Drive is the only possible value for this API. |
id | Integer value. ID of the drive 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. |
name | String value. Display name of volume. |
hasChildren | Boolean. Indicates whether a subsequent browse at the next level is possible. |
Example
Array of drives that contain restorable revisions, with the following structure:
{
"items": [
{
"type": "Drive",
"id": 72,
"name": "F:",
"hasChildren": true
},
{
"type": "Drive",
"id": 30,
"name": "Windows Volume (C:)",
"hasChildren": true
}
]
}
Example GET
GET /v2/accounts/{accountUsername}/computers/{subaccountId}/restore/filesandfolders/browse/snapshot/{snapshotId}?snapshot={snapshotDate}
Example Output
{
"items": [
{
"type": "Drive",
"id": 72,
"name": "F:",
"hasChildren": true
},
{
"type": "Drive",
"id": 30,
"name": "Windows Volume (C:)",
"hasChildren": true
}
]
}