This API allows you to browse a Snapshot File.
Input Parameters
The following table provides the parameters and descriptions.
Parameter | Description |
id | File revision id obtained via the Browse folder or Browse Drive API calls. |
snapshotDate | Date of the snapshot, originally obtained via the Get list of snapshots call. |
Example
{
"id": 1465,
"snapshotDate": "2020-01-04T23:59:59"
}
Paging is not supported at the revision level on the backup agent side (it is only supported for browsing a folder for files).
Output Parameters
The following table provides the paraments and descriptions.
Parameter | Description |
type | Type of revision. Either Full or Revision (incremental/differential). |
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 in order 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. |
backupTime | Time when the backup of that revision has been made. |
Example
Array of revisions, with the following structure:
{
"items": [
{
"type": "Base",
"lastModifiedDate": "2016-09-12T11:34:59",
"size": 69632,
"id": 1464,
"name": "9/12/2016 2:34:59 PM",
"hasChildren": false,
"backupTime": "2016-09-12T14:34:59"
}
]
}
Example GET
GET /v2/accounts/{accountUsername}/computers/{subaccountId}/restore/filesandfolders/browse/snapshot/file/{snapshotDriveId}?snapshot={snapshotDate}
Example Output
{
"data": {
"items": [
{
"type": "Base",
"lastModifiedDate": "2016-09-12T11:34:59",
"size": 69632,
"id": 1464,
"name": "9/12/2016 2:34:59 PM",
"hasChildren": false,
"backupTime": "2016-09-12T14:34:59"
}
]
}
}