Skip to content

browseCalendar

BrowseCalendarFolderItems returns the contents (calendar folders + events) of a calendar folder inside a single snapshot. Encapsulates the snapshot-expiry data check and the root-folder resolution logic (In-Place Archive filter + multi-root disambiguation) previously performed in the GraphQL resolver browseCalendar.

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.
snappableFid (required) UUID! The FID for the workload.
snapshotFid (required) UUID! The ID of the snapshot.
folderId (required) String! The folder being browsed.
orgId (required) UUID! Org UUID.
calendarSearchFilter CalendarSearchFilter Search filter for calendar search.

Returns

O365ExchangeObjectConnection!

Sample

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