This API allows you to GET List of Snapshots with Restorable Revisions.
Input Parameters
None.
Output Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
type | Type of record. DailySnapshot is the only value for this API. |
id | Integer value. ID of the drive record. Use this parameter for subsequent browse requests for the next level. |
name | String value. Date of the snapshot. |
hasChildren | Boolean. Indicates whether a subsequent browse at the next level is possible. |
backupTime | Time when the snapshot was taken (the time portion is constant). Together with the id, this parameter is needed for browsing the next level, so store this value for later use. Important: This value must be used for all subsequent requests, at any level, via the "snapshotDate" field at the particular level. |
Example
Array of snapshots contain restorable revisions, with the following structure:
{
"items": [
{
"type": "DailySnapshot",
"id": 4,
"name": "1/3/2020",
"hasChildren": true,
"backupTime": "2020-01-03T23:59:59"
},
{
"type": "DailySnapshot",
"id": 3,
"name": "1/4/2020",
"hasChildren": true,
"backupTime": "2020-01-04T23:59:59"
}
]
}
Example GET
GET /v2/accounts/{accountUsername}/computers/{subaccountId}/restore/filesandfolders/browse/snapshot/list
Example Output
{
"data": {
"items": [
{
"type": "DailySnapshot",
"id": 2,
"name": "2/11/2020",
"path": "",
"hasChildren": true,
"backupTime": "2020-02-11T23:59:59"
}
]
}
}