Skip to content

snapshotFilesDelta

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.
workloadFieldsArg WorkloadFieldsInput Workload fields in BrowseSnapshotFileDelta request.

Returns

SnapshotFileDeltaConnection!

Sample

query SnapshotFilesDelta($path: String!, $snapshotFid: UUID!) {
  snapshotFilesDelta(
    path: $path
    snapshotFid: $snapshotFid
    first: 10
  ) {
    nodes {

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