Skip to content

Commit c230bea

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 81bebed1 of spec repo
1 parent ffe6edf commit c230bea

File tree

9 files changed

+293
-19
lines changed

9 files changed

+293
-19
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-06-26 17:58:30.290427",
8-
"spec_repo_commit": "76086f13"
7+
"regenerated": "2025-06-27 20:55:14.515407",
8+
"spec_repo_commit": "81bebed1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-26 17:58:39.398706",
13-
"spec_repo_commit": "76086f13"
12+
"regenerated": "2025-06-27 20:55:23.784970",
13+
"spec_repo_commit": "81bebed1"
1414
}
1515
}
1616
}

content/en/api/v1/dashboards/examples.json

Lines changed: 25 additions & 15 deletions
Large diffs are not rendered by default.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"description": null,
3+
"layout_type": "ordered",
4+
"notify_list": [],
5+
"reflow_type": "auto",
6+
"restricted_roles": [],
7+
"template_variables": [
8+
{
9+
"available_values": [
10+
"service",
11+
"datacenter",
12+
"env"
13+
],
14+
"defaults": [
15+
"service",
16+
"datacenter"
17+
],
18+
"name": "group_by_var",
19+
"type": "group"
20+
}
21+
],
22+
"title": "",
23+
"widgets": [
24+
{
25+
"definition": {
26+
"requests": {
27+
"fill": {
28+
"q": "avg:system.cpu.user{*}"
29+
}
30+
},
31+
"type": "hostmap"
32+
}
33+
}
34+
]
35+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"dashboard_id": "123-abc-456",
3+
"dashboard_type": "custom_timeboard",
4+
"share_type": "open",
5+
"global_time": {
6+
"live_span": "1h"
7+
},
8+
"selectable_template_vars": [
9+
{
10+
"default_value": "*",
11+
"name": "group_by_var",
12+
"type": "group",
13+
"visible_tags": [
14+
"selectableValue1",
15+
"selectableValue2"
16+
]
17+
}
18+
]
19+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"global_time": {
3+
"live_span": "15m"
4+
},
5+
"share_list": [],
6+
"share_type": "open",
7+
"selectable_template_vars": [
8+
{
9+
"default_value": "*",
10+
"name": "group_by_var",
11+
"type": "group",
12+
"visible_tags": [
13+
"selectableValue1",
14+
"selectableValue2"
15+
]
16+
}
17+
]
18+
}

data/api/v1/CodeExamples.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,11 @@
381381
"suffix": "_2850365602",
382382
"description": "Create a new dashboard with template variable presets using values returns \"OK\" response"
383383
},
384+
{
385+
"group": "dashboards",
386+
"suffix": "_1751391372",
387+
"description": "Create a new dashboard with template variable type field returns \"OK\" response"
388+
},
384389
{
385390
"group": "dashboards",
386391
"suffix": "_41622531",
@@ -452,6 +457,11 @@
452457
"group": "dashboards",
453458
"suffix": "",
454459
"description": "Create a shared dashboard returns \"OK\" response"
460+
},
461+
{
462+
"group": "dashboards",
463+
"suffix": "_1668947073",
464+
"description": "Create a shared dashboard with a group template variable returns \"OK\" response"
455465
}
456466
],
457467
"DeleteDashboards": [
@@ -492,6 +502,11 @@
492502
"group": "dashboards",
493503
"suffix": "",
494504
"description": "Update a shared dashboard returns \"OK\" response"
505+
},
506+
{
507+
"group": "dashboards",
508+
"suffix": "_1708268778",
509+
"description": "Update a shared dashboard with selectable_template_vars returns \"OK\" response"
495510
}
496511
],
497512
"CancelDowntimesByScope": [

data/api/v1/full_spec.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,13 @@ components:
15501550
example: host
15511551
nullable: true
15521552
type: string
1553+
type:
1554+
description: The type of variable. This is to differentiate between filter
1555+
variables (interpolated in query) and group by variables (interpolated
1556+
into group by).
1557+
example: group
1558+
nullable: true
1559+
type: string
15531560
required:
15541561
- name
15551562
type: object
@@ -12685,6 +12692,12 @@ components:
1268512692
prefix:
1268612693
description: The tag/attribute key associated with the template variable.
1268712694
type: string
12695+
type:
12696+
description: The type of variable. This is to differentiate between filter
12697+
variables (interpolated in query) and group by variables (interpolated
12698+
into group by).
12699+
nullable: true
12700+
type: string
1268812701
visible_tags:
1268912702
description: List of visible tag values on the shared dashboard.
1269012703
items:

0 commit comments

Comments
 (0)