searchGroupContent
FunctionsearchGroupContent(options: ISearchGroupContentOptions): Promise<ISearchResult<IItem>>
Search a portal for items in a group. See the REST Documentation for more information.
import { searchGroupContent } from "@esri/arcgis-rest-portal";
searchGroupContent('water')
.then(response) // response.total => 355
Parameters
Parameter | Type | Notes |
---|---|---|
options | ISearchGroupContentOptions | RequestOptions object amended with search parameters. |
Returns
Promise<ISearchResult<IItem>>
A Promise that will resolve with the data from the response.