From bd602fd6d95b533d3b131a9312054cdc50b9baf0 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Tue, 15 Jul 2025 15:36:41 -0400 Subject: [PATCH] [release-12.1.0] Docs: Update actions with variables (#108151) Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com> --- docs/sources/shared/visualizations/datalink-options-2.md | 1 + docs/sources/shared/visualizations/datalink-options-3.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/sources/shared/visualizations/datalink-options-2.md b/docs/sources/shared/visualizations/datalink-options-2.md index c34cb13a228..37cc660b23d 100644 --- a/docs/sources/shared/visualizations/datalink-options-2.md +++ b/docs/sources/shared/visualizations/datalink-options-2.md @@ -26,6 +26,7 @@ For each action, define the following API call settings: | Confirmation message | A descriptive prompt to confirm or cancel the action. | | Method | Select from **POST**, **PUT**, or **GET**. | | URL | The request URL.
To add a variable, click in the **URL** field and enter `$` or press Ctrl+Space or Cmd+Space to see a list of available variables. | +| Variables | **Key** and **Name** pairs with a type selection. Click the **+** icon to add as many variables as you need. To add a variable to the request, prefix the key with `$`. You can set the values for the variables when performing an action. | | Query parameters | **Key** and **Value** pairs. Click the **+** icon to add as many key/value pairs as you need. | | Headers | Comprised of **Key** and **Value** pairs and a **Content-Type**.
Click the **+** icon to add as many key/value pairs as you need. | | Content-Type | Select from the following: **application/json**, **text/plain**, **application/XML**, and **application/x-www-form-urlencoded**. | diff --git a/docs/sources/shared/visualizations/datalink-options-3.md b/docs/sources/shared/visualizations/datalink-options-3.md index bc68c9c45fb..f99d6c9a065 100644 --- a/docs/sources/shared/visualizations/datalink-options-3.md +++ b/docs/sources/shared/visualizations/datalink-options-3.md @@ -28,6 +28,7 @@ For each action, define the following API call settings: | Confirmation message | A descriptive prompt to confirm or cancel the action. | | Method | Select from **POST**, **PUT**, or **GET**. | | URL | The request URL.
To add a variable, click in the **URL** field and enter `$` or press Ctrl+Space or Cmd+Space to see a list of available variables. | +| Variables | **Key** and **Name** pairs with a type selection. Click the **+** icon to add as many variables as you need. To add a variable to the request, prefix the key with `$`. You can set the values for the variables when performing an action. | | Query parameters | **Key** and **Value** pairs. Click the **+** icon to add as many key/value pairs as you need. | | Headers | Comprised of **Key** and **Value** pairs and a **Content-Type**.
Click the **+** icon to add as many key/value pairs as you need. | | Content-Type | Select from the following: **application/json**, **text/plain**, **application/XML**, and **application/x-www-form-urlencoded**. |