searchDatasets

Function

Function to search the Hub API (v3) using the same arguments as searchContent()

NOTE: this returns the Hub API's raw JSONAPI response and invalid parameters like isPortal will be ignored

Parameters

Parameter Type Default Notes
request Required IContentSearchRequest

see searchContent()

Returns

Hub API's JSONAPI response

Promise<{
data:
DatasetResource[]
}>

Function defined in packages/search/src/content/index.ts:347