GET v1/bunits/{bunitId}/consumers/{consumerId}/cohesitydatasource/filerestore/snapshots/{snapshotId}/files?volumeName={volumeName}&volumeInfoCookie={volumeInfoCookie}&path={path}&cookie={cookie}

List a folder in a snapshot

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

volumeName The volume to browse, from the volumes of the snapshot. Omit if the snapshot has no volumes. string

None.

volumeInfoCookie The volume info cookie of the volume, from the volumes of the snapshot integer

None.

path The folder to list. Omit for the root. string

None.

cookie The cookie of the previous page, to get the next page string

None.

Body Parameters

None.

Response Information

Resource Description

CohesityDirectoryListing
NameDescriptionTypeAdditional information
Entries Collection of CohesityFileEntry

None.

Cookie Set when there are more entries. Pass it on to get the next page.
string

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<CohesityDirectoryListing xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Entries>
    <CohesityFileEntry>
      <Name>sample string 1</Name>
      <Path>sample string 2</Path>
      <RestorePath>sample string 3</RestorePath>
      <IsFolder>true</IsFolder>
      <SizeBytes>5</SizeBytes>
      <ModifiedTime>2026-11-28T03:08:04.611254+01:00</ModifiedTime>
    </CohesityFileEntry>
    <CohesityFileEntry>
      <Name>sample string 1</Name>
      <Path>sample string 2</Path>
      <RestorePath>sample string 3</RestorePath>
      <IsFolder>true</IsFolder>
      <SizeBytes>5</SizeBytes>
      <ModifiedTime>2026-11-28T03:08:04.611254+01:00</ModifiedTime>
    </CohesityFileEntry>
  </Entries>
  <Cookie>sample string 1</Cookie>
</CohesityDirectoryListing>