Skip to content

snappableTeamsConversationsSearch

No description available.

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.
snappableFid (required) UUID! The FID for the workload.
orgId (required) UUID! Org UUID.
snapshotFidOpt UUID snapshotFid arg which is of optional type
teamConvChannels (required) [O365TeamConvChannelInput!]! List of channel objects (naturalId and name).
teamsConversationsSearchFilter TeamsConversationsSearchFilter

Returns

O365TeamsConversationsConnection!

Sample

query SnappableTeamsConversationsSearch($snappableFid: UUID!, $orgId: UUID!, $teamConvChannels: [O365TeamConvChannelInput!]!) {
  snappableTeamsConversationsSearch(
    snappableFid: $snappableFid
    orgId: $orgId
    teamConvChannels: $teamConvChannels
    first: 10
  ) {
    nodes {
      channelId
      channelName
      channelPostCount
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "snappableFid": "00000000-0000-0000-0000-000000000000",
  "orgId": "00000000-0000-0000-0000-000000000000",
  "teamConvChannels": [
    {
      "folderId": "example-string",
      "membershipType": "ALL",
      "name": "example-string",
      "naturalId": "example-string"
    }
  ]
}
{
  "data": {
    "snappableTeamsConversationsSearch": {
      "nodes": [
        [
          {
            "channelId": "example-string",
            "channelName": "example-string",
            "channelPostCount": 0
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}