IHubSearchOptions
Search Options
Extends
Properties
Property | Type | Notes |
---|---|---|
Optional | string[] |
Fields to return aggregations on |
Optional | number |
Maximum number of aggregations to return Portal API only supports a single value |
Optional | NamedApis | IApiDefinition |
TODO: Deprecate in favor of |
Optional | UserSession |
DEPRECATE in favor of requestOptions |
Optional | string |
Bounding box for the search (NOT IMPLEMENTED) |
Optional | HTTPMethods |
Allow override of the default http method. Allows for POST requests to be made if the query is very large NOTE: The OGC API will ignore this property |
Optional | string[] |
Objects or fields to include e.g. |
Optional | string |
LEGACY. Use |
Optional | IHubRequestOptions |
While hubSearch requires requestOptions, it is not marked required because that is a breaking change to this interface, which is still required while we implement hubSearch |
Optional | string |
Site whose API should be targeted. Ignored in an enterprise context. e.g., https://my-site.hub.arcgis.com |
Optional | EntityType |
Specify what entity to search for; For use with hubSearch |
Optional Inherited | number |
Maximum number of results to return, per-page |
Optional Inherited | string |
What field should the results be sorted on |
Optional Inherited | "desc" | "asc" |
Sort direction |
Optional Inherited | number |
The result number of the first entry in the result set response. The start parameter, along with the num parameter, can be used to paginate the search results. |
Interface defined in common/src/search/types/IHubSearchOptions.ts:46