API to list Analytics or DFEs associated with a type

Is there an API call that outputs a list of Analytics or DFEs that are associated to a certain type? Perhaps, something analogous to the .listMetrics() API but for DFEs/Analytics instead? If not is there a better way than using MetadataUtil.getTypesThatMixin('TSDataFlowEvent') / MetadataUtil.getTypesThatMixin('CompoundDataFlowEvent')?

See c3ShowType(AnalyticsContainer), sourceMetrics, sourceAnalytics.

1 Like