fetchQueryCategories
Aggregates categories from a search query. Note that aggregation categories are all lowercased.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
query Required | IQuery |
The query to search for categories. |
|
requestOptions Required | IHubRequestOptions |
The request options to use for the search. |
Available requestOptions
Property | Type | Notes |
---|---|---|
Optional | ArcGISIdentityManager | |
Optional | function(input: RequestInfo, init: RequestInit) : Promise<Response> |
The implementation of |
Optional | string | |
Optional | boolean | |
Optional | IHubRequestOptionsPortalSelf |
Returns
a flat array of fully qualified category paths, all lowercased (e.g. ["/categories/category1", "/categories/category1/subcategory1", ...])
Promise<string[]>
Function defined in common/src/core/schemas/internal/categories/fetchQueryCategories.ts:14