sharepointSiteSearch
Search site and descendant objects. SearchSharepointSite returns a paginated, GraphQL-shaped list of SharePoint descendant objects for the given site workload across all snapshots. Encapsulates the response shaping (filter out is_excluded_from_protection items per SPARK-151589) that previously lived in the GraphQL resolver sharepointSiteSearch.
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. |
| siteFid (required) | UUID! | Workload ID of SharePoint site object. |
| orgId (required) | UUID! | Organization scope for the search. |
| sharepointSiteSearchFilter | SharePointSearchFilter | Optional SharePoint search filter. |
Returns
Sample
{
"data": {
"sharepointSiteSearch": {
"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"
}
}
}
}