Skip to content

snappableEventSearch

SearchSnappableEvents returns a paginated, GraphQL-shaped list of calendar folders and events for the given snappable across all snapshots. Dispatches the raw index hit to the search proxy's SnappableSearch RPC, then enriches each item with snapshot_time via the authz GetSnapshot lookup. Encapsulates the response shaping that previously lived in the GraphQL resolver snappableEventSearch.

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.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.
snappableFid (required) UUID! The FID for the workload.
orgId (required) UUID! Org UUID.
calendarSearchFilter CalendarSearchFilter Search filter for calendar search.

Returns

O365ExchangeObjectConnection!

Sample

query SnappableEventSearch($snappableFid: UUID!, $orgId: UUID!) {
  snappableEventSearch(
    snappableFid: $snappableFid
    orgId: $orgId
    first: 10
  ) {
    nodes {
      id
      parentFolderId
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "snappableFid": "00000000-0000-0000-0000-000000000000",
  "orgId": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "snappableEventSearch": {
      "nodes": [
        [
          {
            "id": "example-string",
            "parentFolderId": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}