Skip to content

Commit 897766c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2ee2e70 of spec repo
1 parent 45e20d6 commit 897766c

File tree

24 files changed

+1140
-0
lines changed

24 files changed

+1140
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,172 @@ components:
895895
items:
896896
$ref: '#/components/schemas/AzureAccount'
897897
type: array
898+
BarChartWidgetDefinition:
899+
description: The bar chart visualization displays categorical data using vertical
900+
bars, allowing you to compare values across different groups.
901+
properties:
902+
custom_links:
903+
description: List of custom links.
904+
items:
905+
$ref: '#/components/schemas/WidgetCustomLink'
906+
type: array
907+
requests:
908+
description: List of bar chart widget requests.
909+
example:
910+
- q: system.load.1
911+
items:
912+
$ref: '#/components/schemas/BarChartWidgetRequest'
913+
type: array
914+
style:
915+
$ref: '#/components/schemas/BarChartWidgetStyle'
916+
time:
917+
$ref: '#/components/schemas/WidgetTime'
918+
title:
919+
description: Title of your widget.
920+
type: string
921+
title_align:
922+
$ref: '#/components/schemas/WidgetTextAlign'
923+
title_size:
924+
description: Size of the title.
925+
type: string
926+
type:
927+
$ref: '#/components/schemas/BarChartWidgetDefinitionType'
928+
required:
929+
- type
930+
- requests
931+
type: object
932+
BarChartWidgetDefinitionType:
933+
default: bar_chart
934+
description: Type of the bar chart widget.
935+
enum:
936+
- bar_chart
937+
example: bar_chart
938+
type: string
939+
x-enum-varnames:
940+
- BAR_CHART
941+
BarChartWidgetDisplay:
942+
description: Bar chart widget display options.
943+
oneOf:
944+
- $ref: '#/components/schemas/BarChartWidgetStacked'
945+
- $ref: '#/components/schemas/BarChartWidgetFlat'
946+
BarChartWidgetFlat:
947+
description: Bar chart widget flat display.
948+
properties:
949+
type:
950+
$ref: '#/components/schemas/BarChartWidgetFlatType'
951+
required:
952+
- type
953+
type: object
954+
BarChartWidgetFlatType:
955+
default: flat
956+
description: Bar chart widget flat display type.
957+
enum:
958+
- flat
959+
example: flat
960+
type: string
961+
x-enum-varnames:
962+
- FLAT
963+
BarChartWidgetLegend:
964+
description: Bar chart widget stacked legend behavior.
965+
enum:
966+
- automatic
967+
- inline
968+
- none
969+
example: automatic
970+
type: string
971+
x-enum-varnames:
972+
- AUTOMATIC
973+
- INLINE
974+
- NONE
975+
BarChartWidgetRequest:
976+
description: Updated bar chart widget.
977+
properties:
978+
apm_query:
979+
$ref: '#/components/schemas/LogQueryDefinition'
980+
audit_query:
981+
$ref: '#/components/schemas/LogQueryDefinition'
982+
conditional_formats:
983+
description: List of conditional formats.
984+
example:
985+
- comparator: '>='
986+
palette: blue
987+
value: 1.0
988+
items:
989+
$ref: '#/components/schemas/WidgetConditionalFormat'
990+
type: array
991+
event_query:
992+
$ref: '#/components/schemas/LogQueryDefinition'
993+
formulas:
994+
description: List of formulas that operate on queries.
995+
items:
996+
$ref: '#/components/schemas/WidgetFormula'
997+
type: array
998+
log_query:
999+
$ref: '#/components/schemas/LogQueryDefinition'
1000+
network_query:
1001+
$ref: '#/components/schemas/LogQueryDefinition'
1002+
process_query:
1003+
$ref: '#/components/schemas/ProcessQueryDefinition'
1004+
profile_metrics_query:
1005+
$ref: '#/components/schemas/LogQueryDefinition'
1006+
q:
1007+
description: Widget query.
1008+
type: string
1009+
queries:
1010+
description: List of queries that can be returned directly or used in formulas.
1011+
items:
1012+
$ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
1013+
type: array
1014+
response_format:
1015+
$ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
1016+
rum_query:
1017+
$ref: '#/components/schemas/LogQueryDefinition'
1018+
security_query:
1019+
$ref: '#/components/schemas/LogQueryDefinition'
1020+
sort:
1021+
$ref: '#/components/schemas/WidgetSortBy'
1022+
style:
1023+
$ref: '#/components/schemas/WidgetRequestStyle'
1024+
type: object
1025+
BarChartWidgetScaling:
1026+
description: Bar chart widget scaling definition.
1027+
enum:
1028+
- absolute
1029+
- relative
1030+
type: string
1031+
x-enum-varnames:
1032+
- ABSOLUTE
1033+
- RELATIVE
1034+
BarChartWidgetStacked:
1035+
description: Bar chart widget stacked display options.
1036+
properties:
1037+
legend:
1038+
$ref: '#/components/schemas/BarChartWidgetLegend'
1039+
type:
1040+
$ref: '#/components/schemas/BarChartWidgetStackedType'
1041+
required:
1042+
- type
1043+
type: object
1044+
BarChartWidgetStackedType:
1045+
default: stacked
1046+
description: Bar chart widget stacked display type.
1047+
enum:
1048+
- stacked
1049+
example: stacked
1050+
type: string
1051+
x-enum-varnames:
1052+
- STACKED
1053+
BarChartWidgetStyle:
1054+
description: Style customization for a bar chart widget.
1055+
properties:
1056+
display:
1057+
$ref: '#/components/schemas/BarChartWidgetDisplay'
1058+
palette:
1059+
description: Color palette to apply to the widget.
1060+
type: string
1061+
scaling:
1062+
$ref: '#/components/schemas/BarChartWidgetScaling'
1063+
type: object
8981064
CancelDowntimesByScopeRequest:
8991065
description: Cancel downtimes according to scope.
9001066
properties:
@@ -14300,6 +14466,7 @@ components:
1430014466
SplitGraphSourceWidgetDefinition:
1430114467
description: The original widget we are splitting on.
1430214468
oneOf:
14469+
- $ref: '#/components/schemas/BarChartWidgetDefinition'
1430314470
- $ref: '#/components/schemas/ChangeWidgetDefinition'
1430414471
- $ref: '#/components/schemas/GeomapWidgetDefinition'
1430514472
- $ref: '#/components/schemas/QueryValueWidgetDefinition'
@@ -24731,6 +24898,7 @@ components:
2473124898
oneOf:
2473224899
- $ref: '#/components/schemas/AlertGraphWidgetDefinition'
2473324900
- $ref: '#/components/schemas/AlertValueWidgetDefinition'
24901+
- $ref: '#/components/schemas/BarChartWidgetDefinition'
2473424902
- $ref: '#/components/schemas/ChangeWidgetDefinition'
2473524903
- $ref: '#/components/schemas/CheckStatusWidgetDefinition'
2473624904
- $ref: '#/components/schemas/DistributionWidgetDefinition'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-12-04T22:02:41.715Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new dashboard with a bar_chart widget with stacked type and no legend specified",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "02af023e26637cd8c2a8311edaea9710",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 709,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 559,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"description\":\"\",\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_a_bar_chart_widget_with_stacked_type_and_no_legend_specified-1764885761\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"bar_chart\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0}}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/dashboard"
39+
},
40+
"response": {
41+
"bodySize": 1065,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 1065,
45+
"text": "{\"id\":\"a33-2hy-5uc\",\"title\":\"Test-Create_a_new_dashboard_with_a_bar_chart_widget_with_stacked_type_and_no_legend_specified-1764885761\",\"description\":\"\",\"author_handle\":\"[email protected]\",\"author_name\":\"Jessica Sylvester\",\"layout_type\":\"free\",\"url\":\"/dashboard/a33-2hy-5uc/test-createanewdashboardwithabarchartwidgetwithstackedtypeandnolegendspecified-1\",\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\",\"sort\":{\"count\":10,\"order_by\":[{\"name\":\"service\",\"order\":\"asc\",\"type\":\"group\"}]}}],\"style\":{\"display\":{\"type\":\"stacked\"},\"palette\":\"dog_classic\",\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"bar_chart\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":7787234913675513}],\"notify_list\":[],\"created_at\":\"2025-12-04T22:02:41.934642+00:00\",\"modified_at\":\"2025-12-04T22:02:41.934642+00:00\",\"restricted_roles\":[]}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 381,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 200,
58+
"statusText": "OK"
59+
},
60+
"startedDateTime": "2025-12-04T22:02:41.722Z",
61+
"time": 293
62+
},
63+
{
64+
"_id": "ddeb2e8d4701c7d60859f12b58782231",
65+
"_order": 0,
66+
"cache": {},
67+
"request": {
68+
"bodySize": 0,
69+
"cookies": [],
70+
"headers": [
71+
{
72+
"_fromType": "array",
73+
"name": "accept",
74+
"value": "application/json"
75+
}
76+
],
77+
"headersSize": 520,
78+
"httpVersion": "HTTP/1.1",
79+
"method": "DELETE",
80+
"queryString": [],
81+
"url": "https://api.datadoghq.com/api/v1/dashboard/a33-2hy-5uc"
82+
},
83+
"response": {
84+
"bodySize": 38,
85+
"content": {
86+
"mimeType": "application/json",
87+
"size": 38,
88+
"text": "{\"deleted_dashboard_id\":\"a33-2hy-5uc\"}"
89+
},
90+
"cookies": [],
91+
"headers": [
92+
{
93+
"name": "content-type",
94+
"value": "application/json"
95+
}
96+
],
97+
"headersSize": 379,
98+
"httpVersion": "HTTP/1.1",
99+
"redirectURL": "",
100+
"status": 200,
101+
"statusText": "OK"
102+
},
103+
"startedDateTime": "2025-12-04T22:02:42.031Z",
104+
"time": 480
105+
}
106+
],
107+
"pages": [],
108+
"version": "1.2"
109+
}
110+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-12-04T22:02:43.230Z"

0 commit comments

Comments
 (0)