Skip to content

Commit db01e54

Browse files
Merge pull request SharePoint#5433 from nanddeepn/patch-39
Added parameter EnableDynamicGroups to SharePoint Search REST API
2 parents ca0e433 + aae85e6 commit db01e54

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/general-development/sharepoint-search-rest-api-overview.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,37 @@ GET http:// _server_/_api/search/query?querytext='sharepoint'&summarylength=
11471147
}
11481148
```
11491149

1150+
<a name="bk_ProcessPersonalFavorites"> </a>
1151+
1152+
### EnableDynamicGroups
1153+
1154+
A Boolean value that specifies whether to include the results from private Office 365 groups.
1155+
1156+
**true** to include results from private Office 365 groups; otherwise, **false**. The default value is **false**.
1157+
1158+
#### Sample GET request
1159+
1160+
```http
1161+
GET http:// _server_/_api/search/query?querytext='sharepoint'&amp;Properties='EnableDynamicGroups:true'
1162+
```
1163+
1164+
#### Sample POST request
1165+
1166+
```json
1167+
{
1168+
'__metadata': {
1169+
'type': 'Microsoft.Office.Server.Search.REST.SearchRequest'
1170+
},
1171+
'Querytext': 'sharepoint',
1172+
'Properties': {
1173+
'results': [ {
1174+
'Name': 'EnableDynamicGroups',
1175+
'Value': { 'BoolVal': true }
1176+
}
1177+
]
1178+
}
1179+
```
1180+
11501181
<a name="bk_ContentSetting"> </a>
11511182

11521183
### ContentSetting

0 commit comments

Comments
 (0)