Zerto APIs : File Level Recovery : Browse The Disk
  
Browse The Disk
Retrieve a list of files or folders existing in a disk.
The information can be retrieved for one path at a time.
 
method
url
POST
https://zvm_ip:port/v1/flrs/{flrsessionIdentifier}/browse
 
 
Where:
 
zvm_ip
The IP address of the Zerto Virtual Manager where the API is run.
port
The port to access the Zerto Virtual Manager. The default port is 9669.
flrsessionIdentifier
The File Level Recovery session identifier.
Request Body Using Json Format
The following is an example of a Json request body for https://zvm_ip:port/v1/flrs/{flrsessionIdentifier}/browse.
 
{
  "path": "partition#1 Ext3"
}
 
Parameter
description
type
mandatory
Path
The path to a partition, folder or file.
An empty Path value returns all existing partitions in the disk.
Use a single forward slash (/) to separate the components of a path. For example:
ZertoVMs/dummy_vra_znest175hv02.zertolab.local/RecoveryVolumes/41b4fac2/vm44/VM-1.vhdx.
Backslash (\) is not supported.
string
Yes
Response In Json Format
The following is an example of a Json response for https://zvm_ip:port/v1/flrs/{flrsessionIdentifier}/browse
 
{
  "MainPathItem": {
    "CreationTime": "2018-03-05T12:13:22.365Z",
    "DownloadInformation": {
      "AdditionalInformation": null,
      "IsDownloadable": true
    }
    "IsBrowsable": true,
    "LastAccessTime": "2018-03-05T12:13:22.365Z",
    "LastWriteTime": "2018-03-05T12:13:22.365Z",
    "Path": "",
    "SizeInBytes": null,
    "Type": "Partition"
  },
  "PathItems": [
  {
    "CreationTime": "2018-03-05T12:13:22.365Z",
    "DownloadInformation": {
      "AdditionalInformation": "Cannot restore. Links are not supported.",
      "IsDownloadable": false
    },
    "IsBrowsable": false,
    "LastAccessTime": "2018-03-05T12:13:22.365Z",
    "LastWriteTime": "2018-03-05T12:13:22.365Z",
    "Path": "partition#0 Ext3\\cdrom",
    "SizeInBytes": 0,
    "Type": "File"
  }]
}
 
Parameter
Description
MainPathItem
Details regarding the path mentioned in the request body.
CreationTime
The time in which the API was run, in the format yyyy-mm-ddThh:mm:ss.fffZ, set to UTC.
DownloadInformation
Details regarding downloading the partition, folder or file.
AdditionalInformation
Additional information regarding the ability to download the partition, folder or file.
IsDownloadable
True: The partition can be downloaded.
False: The partition cannot be downloaded.
IsBrowsable
True: The partition can be browsed.
False: The partition cannot be browsed.
LastAccessTime
The date and time the item was last accessed in the disk, in the format yyyy-mm-ddThh:mm:ss.fffZ, set to UTC.
LastWriteTime
The date and time the item was last edited, in the format yyyy-mm-ddThh:mm:ss.fffZ, set to UTC.
Path
The path to the partition.
When the path value in the request body is empty, the MainPathItem path is empty.
SizeInBytes
The size of the item, in bytes.
Type
The type of item.
Possible values are:
Partition
Folder
File
PathItems
Details regarding the sub items of the main path item.
If the value of the path in the request body is a file, the PathItems list is empty.
If the path value in the request body is empty, PathItems displays details regarding the highest partition.
CreationTime
The time in which the API was run in the format, yyyy-mm-ddThh:mm:ss.fffZ, set to UTC.
DownloadInformation
Details regarding the download.
AdditionInformation
Additional information regarding the partition, folder or file.
IsDownloadable
True: The partition, folder or file can be downloaded.
False: The partition, folder or file cannot be downloaded.
IsBrowsable
True: The item is a folder or a partition and is browsable.
False: The item is a file, and is not browsable.
LastAccessTime
The date and time the item was last accessed in the disk, in the format yyyy-mm-ddThh:mm:ss.fffZ, set to UTC.
LastWriteTime
The date and time the item was last edited, in the format yyyy-mm-ddThh:mm:ss.fffZ, set to UTC.
Path
The path to the item.
SizeInBytes
The size of the item, in bytes.
Type
The type of item. Possible values are:
Partition
Folder
File
Back to File Level Recovery
Back to All APIs