getWidgetAlertsCountForWidgets()
Home > @gooddata/sdk-backend-spi > IWorkspaceDashboardsService > getWidgetAlertsCountForWidgets
IWorkspaceDashboardsService.getWidgetAlertsCountForWidgets() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get the number of widget alerts (created by any user) for particular widgets
Signature:
getWidgetAlertsCountForWidgets(refs: ObjRef[]): Promise<IWidgetAlertCount[]>;
Parameters
Parameter | Type | Description |
---|---|---|
refs | ObjRef[] | widget references |
Returns:
Promise<IWidgetAlertCount[]>
promise with array of pairs of widget ref and alert count