sharepointSiteDescendants
Browse site and descendants objects.
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. |
| siteFid (required) | UUID! | The fid for the site. |
| snapshotFid (required) | UUID! | The ID of the snapshot. |
| naturalId | String | The natural ID of SharePoint object. |
| sharepointSiteSearchFilter | SharePointSearchFilter | The filter for site search. |
| orgId (required) | UUID! | Org UUID. |
Returns
Sample
query SharepointSiteDescendants($siteFid: UUID!, $snapshotFid: UUID!, $orgId: UUID!) {
sharepointSiteDescendants(
siteFid: $siteFid
snapshotFid: $snapshotFid
orgId: $orgId
first: 10
) {
nodes {
createTime
fid
modifiedTime
name
objectType
parentId
sharepointId
snapshotId
snapshotNum
}
pageInfo {
hasNextPage
endCursor
}
}
}
{
"data": {
"sharepointSiteDescendants": {
"nodes": [
[
{
"createTime": "2024-01-01T00:00:00.000Z",
"fid": "example-string",
"modifiedTime": "2024-01-01T00:00:00.000Z",
"name": "example-string",
"objectType": "APP_CATALOG",
"parentId": "example-string"
}
]
],
"pageInfo": {
"endCursor": "example-string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "example-string"
}
}
}
}