Skip to content

snapshotFilesDeltaV2

Browse or search the given path for files and directories along with their deltas in a given snapshot.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
path (required) String! The path under which you want your search to run.
snapshotFid (required) UUID! Snapshot persistent UUID in RSC.
filter SnapshotDeltaFilterInput Filter snapshot delta based on delta types.
searchPrefix String Prefix arg for searching for files within a snapshot.
quarantineFilters [QuarantineFilter!] Filter entries based on quarantine status of the entries in the base snapshot.
sensitiveDataDiscoveryFilters SensitiveDataDiscoveryFiltersInput Filters for sensitive data discovery results.
sort FileResultSortInput Sorts to apply when listing file results.
workloadFieldsArg WorkloadFieldsInput Workload fields in BrowseSnapshotFileDelta request.

Returns

SnapshotFileDeltaV2Connection!

Sample

query SnapshotFilesDeltaV2($path: String!, $snapshotFid: UUID!) {
  snapshotFilesDeltaV2(
    path: $path
    snapshotFid: $snapshotFid
    first: 10
  ) {
    nodes {

    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "path": "example-string",
  "snapshotFid": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "snapshotFilesDeltaV2": {
      "nodes": [
        [
          {}
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}