API Stability |
Long-Term
|
The updateSearchLinkInteraction() GraphQL mutation may be used to update a search link interaction.
Syntax
Below is the syntax for the updateSearchLinkInteraction() mutation field:
graphql
updateSearchLinkInteraction(
input: UpdateSearchLinkInteractionInput!
): InteractionId!
Below is an example of how this mutation field might be used:
graphql
mutation {
updateSearchLinkInteraction(input:
{ path: "humio",
interactionId: "abc123",
searchLinkInteractionInput:
{ name: "my-search-link",
queryString: "#vhost",
isLive: false,
arguments: [ {key: "some", value: "thing"} ],
openInNewTab: false,
useWidgetTimeWindow: false,
fieldInteractionConditions: [ { fieldName: "my-field",
operator: Equal,
argument: "something" } ] }
} )
{ id }
}
json
{
"data": {
"updateSearchLinkInteraction": {
"id": "abc123"
}
}
}
Given Datatypes
For UpdateSearchLinkInteractionInput, there are a few parameters, and sub-parameters. Below is a list of them along with a description of each:
Table: UpdateSearchLinkInteractionInput
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
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: Feb 26, 2025 | |||||
interactionId | string | yes | The unique identifier of the interaction. | ||
path | string | yes | The path of the interaction. | ||
searchLinkInteractionInput | SearchLinkInteractionInput | yes | The search link interaction data. See SearchLinkInteractionInput . |
Returned Datatypes
The returned datatype InteractionId has one parameter. It's described below:
Table: InteractionId
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
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 | |||||
id | string | yes | Long-Term | The unique identifier for the interaction. |