Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

widgets: Widgets = ...

Methods

  • delete(dashboardID: string): Promise<string>
  • duplicate(dashboardID: string, dashboardObj?: { new_label?: string; setup?: object }): Promise<{ dashboard_id: string; message: string }>
  • Duplicate the dashboard to your own account

    Parameters

    • dashboardID: string

      Dashboard identification

    • Optional dashboardObj: { new_label?: string; setup?: object }

      Object with data of the duplicate dashboard

      • Optional new_label?: string
      • Optional setup?: object

    Returns Promise<{ dashboard_id: string; message: string }>

  • runWidgetHeaderButtonAnalysis(analysisID: string, dashboardID: string, widgetID: string, scope?: object): Promise<string>
  • Runs an analysis located in a widget's header button

    Parameters

    • analysisID: string

      The id of the analysis to run

    • dashboardID: string

      The id of the dashboard that contains the widget

    • widgetID: string

      The id of the widget that contains the header button

    • Optional scope: object

      Data to send to the analysis

    Returns Promise<string>

  • shareDelete(shareID: string): Promise<string>
  • shareList(dashboardID: string): Promise<InviteInfo[]>