Skip to content

listDiffFilesForSnapshot

List files with their deltas in a given snapshot, with optional search string filtering.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
snapshotFid (required) UUID! Snapshot persistent UUID in RSC.
searchString String Optional search string to filter files by filename.
filter SnapshotDeltaFilterInput Filter snapshot delta based on delta types.
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.

Returns

SnapshotFileDeltaV2Connection!

Sample

query ListDiffFilesForSnapshot($snapshotFid: UUID!) {
  listDiffFilesForSnapshot(
    snapshotFid: $snapshotFid
    first: 10
  ) {
    nodes {

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