API Stability Long-Term

The updateDashboardLinkInteraction() GraphQL mutation may be used to update a dashboard link interaction in LogScale.

Syntax

Below is the syntax for the updateDashboardLinkInteraction() mutation field:

graphql
updateDashboardLinkInteraction(
      input: UpdateDashboardLinkInteractionInput!
   ): InteractionId!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  updateDashboardLinkInteraction( input:
    {
      path: "humio",
      interactionId: "abc123",
      dashboardLinkInteractionInput: { name: "our-dash-link",
                                       arguments: [ {key: "some", value: "thing"} ],
                                       openInNewTab: false,
                                       useWidgetTimeWindow: true }
    }
  )
  { id }
}
Example Responses
Show:
json
{
  "updateDashboardLinkInteraction": {
    "id": "abc123"
    }
  }
}

Given Datatypes

For UpdateDashboardLinkInteractionInput, there are a few parameters. Below is a list of them along with a description of each:

Table: UpdateDashboardLinkInteractionInput

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 23, 2024
dashboardLinkInteractionInputDashboardLinkInteractionInputyes  The dashboard link for interactions. See DashboardLinkInteractionInput.
interactionIdstringyes  The unique identifier of the interaction.
pathstringyes  The path of the interaction.

Returned Datatypes

The returned datatype InteractionId has one parameter. Below is a description of it:

Table: InteractionId

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 25, 2024
idstringyes Long-TermThe unique identifier for the interaction.