GET v1/bunits/{bunitId}/consumers/{consumerId}/cohesitydatasource/filerestore/snapshots/{snapshotId}/volumes
Get the volumes of a snapshot. Empty if the snapshot is browsed without volumes (e.g. a NAS share).
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
bunitId |
The ID of the business unit | integer |
Required |
consumerId |
The ID of the consumption unit the data-source is related to | integer |
Required |
snapshotId |
The ID of the snapshot | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CohesityVolume| Name | Description | Type | Additional information |
|---|---|---|---|
Name |
Name of the volume, e.g. "/C" |
string |
None. |
FilesystemType |
Type of the filesystem, e.g. "ntfs" |
string |
None. |
VolumeInfoCookie |
Cookie of the volume mapping the volumes were read with. It must be passed back when browsing the volume. |
integer |
None. |
IsRestorable |
True if files and folders on the volume can be restored. A volume without a drive letter (e.g. "lvol_1") can only be browsed, as Cohesity can't tell where its files belong on the object. |
boolean |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArrayOfCohesityVolume xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CohesityVolume>
<Name>sample string 1</Name>
<FilesystemType>sample string 2</FilesystemType>
<VolumeInfoCookie>1</VolumeInfoCookie>
<IsRestorable>true</IsRestorable>
</CohesityVolume>
<CohesityVolume>
<Name>sample string 1</Name>
<FilesystemType>sample string 2</FilesystemType>
<VolumeInfoCookie>1</VolumeInfoCookie>
<IsRestorable>true</IsRestorable>
</CohesityVolume>
</ArrayOfCohesityVolume>