fetchGroupEnrichments

Function

Fetch enrichments for Groups

Parameters

Parameter Type Default Notes
group Required IGroup
enrichments Required GroupEnrichment[]
requestOptions Optional IHubRequestOptions

Available requestOptions

Property Type Notes
authentication Optional UserSession
hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

Property Type Notes
group IGroup
contentCount Optional Inherited number
errors Optional Inherited IEnrichmentErrorInfo[]

Any errors encountered when fetching enrichments see https://github.com/ArcGIS/hub-indexer/blob/master/docs/errors.md#response-formatting-for-errors

membershipSummary Optional Inherited IGroupMembershipSummary

Function defined in common/src/groups/_internal/enrichments.ts:144