enrichContent
Enrich content by fetching missing (or specified) enrichments and adding them as properties.
To only fetch specific enrichments, pass an array of property names as the second
Enrich content by fetching missing (or specified) enrichments and adding them as properties.
To only fetch specific enrichments, pass an array of property names as the second
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
content Required | IHubContent |
content to enrich |
|
requestOptions Optional | IEnrichContentOptions |
request options which may include a list of specific enrichments to fetch |
Available requestOptions
Returns
a new content with enriched properties added
Promise<any>
Function defined in content/src/enrichments.ts:573