getDashboardCard

Topics: Apps

Fetch a single dashboard card. Visibility follows the parent dashboard. Requires dashboard:read permission.

Returns

DashboardCardState

Arguments

Card ID to fetch

Optional: the dashboard the card is on. A card ID is unique, so this is only a check; a card on another dashboard is not found.

Exact field SDL
"""
Fetch a single dashboard card. Visibility follows the parent dashboard. Requires dashboard:read permission.
"""
getDashboardCard(
  """Card ID to fetch"""
  cardId: DashboardCardID!
  """
  Optional: the dashboard the card is on. A card ID is unique, so this is only a check; a card on another dashboard is not found.
  """
  dashboardId: DashboardID
): DashboardCardState @topic(names: ["apps"])

Declared on Query. Access is checked by the platform for each operation.