getInsightReferencedObjects()
Home > @gooddata/sdk-backend-spi > IWorkspaceInsightsService > getInsightReferencedObjects
IWorkspaceInsightsService.getInsightReferencedObjects() method
Get all metadata objects referenced by a given insight.
Signature:
getInsightReferencedObjects(insight: IInsight, types?: SupportedInsightReferenceTypes[]): Promise<IInsightReferences>;
Parameters
Parameter |
Type |
Description |
---|---|---|
insight |
insight to get referenced objects for | |
types |
(Optional) optional array of object types to include, when not specified, all supported references will be retrieved |
Returns:
Promise<IInsightReferences>