Skip to content

Commit 6e64e1b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 176fa8cf of spec repo
1 parent 295d412 commit 6e64e1b

File tree

32 files changed

+735
-107
lines changed

32 files changed

+735
-107
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": "2024-05-20 18:10:24.317437",
8-
"spec_repo_commit": "6340fda5"
7+
"regenerated": "2024-05-21 16:29:55.430075",
8+
"spec_repo_commit": "176fa8cf"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-20 18:10:24.336343",
13-
"spec_repo_commit": "6340fda5"
12+
"regenerated": "2024-05-21 16:29:55.449094",
13+
"spec_repo_commit": "176fa8cf"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,6 +3043,14 @@ components:
30433043
type: string
30443044
x-enum-varnames:
30453045
- METRIC
3046+
FormulaType:
3047+
description: Set the sort type to formula.
3048+
enum:
3049+
- formula
3050+
example: formula
3051+
type: string
3052+
x-enum-varnames:
3053+
- FORMULA
30463054
FreeTextWidgetDefinition:
30473055
description: Free text is a widget that allows you to add headings to your screenboard.
30483056
Commonly used to state the overall purpose of the dashboard. Only available
@@ -3411,6 +3419,8 @@ components:
34113419
$ref: '#/components/schemas/LogQueryDefinition'
34123420
security_query:
34133421
$ref: '#/components/schemas/LogQueryDefinition'
3422+
sort:
3423+
$ref: '#/components/schemas/WidgetSortBy'
34143424
type: object
34153425
GraphSnapshot:
34163426
description: Object representing a graph snapshot.
@@ -3431,6 +3441,14 @@ components:
34313441
example: https://app.datadoghq.com/s/f12345678/aaa-bbb-ccc
34323442
type: string
34333443
type: object
3444+
GroupType:
3445+
description: Set the sort type to group.
3446+
enum:
3447+
- group
3448+
example: group
3449+
type: string
3450+
x-enum-varnames:
3451+
- GROUP
34343452
GroupWidgetDefinition:
34353453
description: The groups widget allows you to keep similar graphs together on
34363454
your timeboard. Each group has a custom header, can hold one to many graphs,
@@ -16392,6 +16410,8 @@ components:
1639216410
$ref: '#/components/schemas/LogQueryDefinition'
1639316411
security_query:
1639416412
$ref: '#/components/schemas/LogQueryDefinition'
16413+
sort:
16414+
$ref: '#/components/schemas/WidgetSortBy'
1639516415
type: object
1639616416
TagToHosts:
1639716417
description: In this object, the key is the tag, the value is a list of host
@@ -16728,6 +16748,8 @@ components:
1672816748
$ref: '#/components/schemas/LogQueryDefinition'
1672916749
security_query:
1673016750
$ref: '#/components/schemas/LogQueryDefinition'
16751+
sort:
16752+
$ref: '#/components/schemas/WidgetSortBy'
1673116753
style:
1673216754
$ref: '#/components/schemas/WidgetRequestStyle'
1673316755
type: object
@@ -20939,6 +20961,24 @@ components:
2093920961
order:
2094020962
$ref: '#/components/schemas/QuerySortOrder'
2094120963
type: object
20964+
WidgetFormulaSort:
20965+
description: The formula to sort the widget by.
20966+
properties:
20967+
index:
20968+
description: The index of the formula to sort by.
20969+
example: 0
20970+
format: int64
20971+
minimum: 0
20972+
type: integer
20973+
order:
20974+
$ref: '#/components/schemas/WidgetSort'
20975+
type:
20976+
$ref: '#/components/schemas/FormulaType'
20977+
required:
20978+
- type
20979+
- index
20980+
- order
20981+
type: object
2094220982
WidgetFormulaStyle:
2094320983
description: Styling options for widget formulas.
2094420984
properties:
@@ -20953,6 +20993,22 @@ components:
2095320993
format: int64
2095420994
type: integer
2095520995
type: object
20996+
WidgetGroupSort:
20997+
description: The group to sort the widget by.
20998+
properties:
20999+
name:
21000+
description: The name of the group.
21001+
example: group_name
21002+
type: string
21003+
order:
21004+
$ref: '#/components/schemas/WidgetSort'
21005+
type:
21006+
$ref: '#/components/schemas/GroupType'
21007+
required:
21008+
- type
21009+
- name
21010+
- order
21011+
type: object
2095621012
WidgetGrouping:
2095721013
description: The kind of grouping to use.
2095821014
enum:
@@ -21328,6 +21384,25 @@ components:
2132821384
x-enum-varnames:
2132921385
- ASCENDING
2133021386
- DESCENDING
21387+
WidgetSortBy:
21388+
description: The controls for sorting the widget.
21389+
properties:
21390+
count:
21391+
description: The number of items to limit the widget to.
21392+
format: int64
21393+
minimum: 0
21394+
type: integer
21395+
order_by:
21396+
description: The array of items to sort the widget by in order.
21397+
items:
21398+
$ref: '#/components/schemas/WidgetSortOrderBy'
21399+
type: array
21400+
type: object
21401+
WidgetSortOrderBy:
21402+
description: The item to sort the widget by.
21403+
oneOf:
21404+
- $ref: '#/components/schemas/WidgetFormulaSort'
21405+
- $ref: '#/components/schemas/WidgetGroupSort'
2133121406
WidgetStyle:
2133221407
description: Widget style definition.
2133321408
properties:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-05-21T14:43:42.680Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new dashboard with a toplist widget sorted by group",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "1968816bb39907b64bb121243c0cdabb",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 694,
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\":\"\",\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1716302622\",\"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\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"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": 1035,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 1035,
45+
"text": "{\"id\":\"wbt-nas-fux\",\"title\":\"Test-Create_a_new_dashboard_with_a_toplist_widget_sorted_by_group-1716302622\",\"description\":\"\",\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"free\",\"url\":\"/dashboard/wbt-nas-fux/test-createanewdashboardwithatoplistwidgetsortedbygroup-1716302622\",\"is_read_only\":false,\"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\":{\"legend\":\"inline\",\"type\":\"stacked\"},\"scaling\":\"relative\"},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"toplist\"},\"layout\":{\"height\":15,\"width\":47,\"x\":0,\"y\":0},\"id\":4714578700620842}],\"notify_list\":[],\"created_at\":\"2024-05-21T14:43:42.875646+00:00\",\"modified_at\":\"2024-05-21T14:43:42.875646+00:00\",\"restricted_roles\":[]}\n"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 658,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 200,
58+
"statusText": "OK"
59+
},
60+
"startedDateTime": "2024-05-21T14:43:42.689Z",
61+
"time": 261
62+
},
63+
{
64+
"_id": "eb86db7c7ca4e5b4e91a8997f743c83c",
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/wbt-nas-fux"
82+
},
83+
"response": {
84+
"bodySize": 39,
85+
"content": {
86+
"mimeType": "application/json",
87+
"size": 39,
88+
"text": "{\"deleted_dashboard_id\":\"wbt-nas-fux\"}\n"
89+
},
90+
"cookies": [],
91+
"headers": [
92+
{
93+
"name": "content-type",
94+
"value": "application/json"
95+
}
96+
],
97+
"headersSize": 656,
98+
"httpVersion": "HTTP/1.1",
99+
"redirectURL": "",
100+
"status": 200,
101+
"statusText": "OK"
102+
},
103+
"startedDateTime": "2024-05-21T14:43:42.960Z",
104+
"time": 199
105+
}
106+
],
107+
"pages": [],
108+
"version": "1.2"
109+
}
110+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-01-06T00:50:33.370Z"
1+
"2024-05-15T20:07:40.997Z"

cassettes/v1/Dashboards_1335235736/Create-a-new-dashboard-with-geomap-widget_3529054983/recording.har

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "9103b57fa155d87f26e9a8ab717934e4",
11+
"_id": "d4c04011c79f10549c1ff6e8853e4a2d",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 744,
15+
"bodySize": 785,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,23 +26,23 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 475,
29+
"headersSize": 559,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_geomap_widget-1641430233\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\",\"limit\":{\"count\":250,\"order\":\"desc\"}}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[{\"facet\":\"@geo.country_iso_code\",\"limit\":250,\"sort\":{\"aggregation\":\"count\",\"order\":\"desc\"}}],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\"}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":30,\"width\":47,\"x\":0,\"y\":0}}]}"
35+
"text": "{\"description\":null,\"is_read_only\":false,\"layout_type\":\"free\",\"notify_list\":[],\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_geomap_widget-1715803660\",\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[{\"facet\":\"@geo.country_iso_code\",\"limit\":250,\"sort\":{\"aggregation\":\"count\",\"order\":\"desc\"}}],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\",\"sort\":{\"count\":250,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":30,\"width\":47,\"x\":0,\"y\":0}}]}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/dashboard"
3939
},
4040
"response": {
41-
"bodySize": 1042,
41+
"bodySize": 1111,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 1042,
45-
"text": "{\"notify_list\":[],\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[],\"is_read_only\":false,\"id\":\"cqc-kbv-se3\",\"title\":\"Test-Create_a_new_dashboard_with_geomap_widget-1641430233\",\"url\":\"/dashboard/cqc-kbv-se3/test-createanewdashboardwithgeomapwidget-1641430233\",\"created_at\":\"2022-01-06T00:50:33.554719+00:00\",\"modified_at\":\"2022-01-06T00:50:33.554719+00:00\",\"author_handle\":\"frog@datadoghq.com\",\"widgets\":[{\"definition\":{\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"title_size\":\"16\",\"title\":\"\",\"title_align\":\"left\",\"time\":{},\"requests\":[{\"formulas\":[{\"formula\":\"query1\",\"limit\":{\"count\":250,\"order\":\"desc\"}}],\"response_format\":\"scalar\",\"queries\":[{\"search\":{\"query\":\"\"},\"data_source\":\"rum\",\"compute\":{\"aggregation\":\"count\"},\"name\":\"query1\",\"indexes\":[\"*\"],\"group_by\":[{\"facet\":\"@geo.country_iso_code\",\"sort\":{\"aggregation\":\"count\",\"order\":\"desc\"},\"limit\":250}]}]}],\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"y\":0,\"width\":47,\"x\":0,\"height\":30},\"id\":814328647870268}],\"layout_type\":\"free\"}"
44+
"size": 1111,
45+
"text": "{\"id\":\"38d-vt6-cf9\",\"title\":\"Test-Create_a_new_dashboard_with_geomap_widget-1715803660\",\"description\":null,\"author_handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"author_name\":\"CI Account\",\"layout_type\":\"free\",\"url\":\"/dashboard/38d-vt6-cf9/test-createanewdashboardwithgeomapwidget-1715803660\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"requests\":[{\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\"},\"data_source\":\"rum\",\"group_by\":[{\"facet\":\"@geo.country_iso_code\",\"limit\":250,\"sort\":{\"aggregation\":\"count\",\"order\":\"desc\"}}],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"\"}}],\"response_format\":\"scalar\",\"sort\":{\"count\":250,\"order_by\":[{\"index\":0,\"order\":\"desc\",\"type\":\"formula\"}]}}],\"style\":{\"palette\":\"hostmap_blues\",\"palette_flip\":false},\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"geomap\",\"view\":{\"focus\":\"WORLD\"}},\"layout\":{\"height\":30,\"width\":47,\"x\":0,\"y\":0},\"id\":2497706086149326}],\"notify_list\":[],\"created_at\":\"2024-05-15T20:07:41.236839+00:00\",\"modified_at\":\"2024-05-15T20:07:41.236839+00:00\",\"restricted_roles\":[]}\n"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/json"
5252
}
5353
],
54-
"headersSize": 384,
54+
"headersSize": 658,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2022-01-06T00:50:33.374Z",
61-
"time": 221
60+
"startedDateTime": "2024-05-15T20:07:41.008Z",
61+
"time": 305
6262
},
6363
{
64-
"_id": "d748566c4feaf921daae4f3549f4a0ec",
64+
"_id": "6b138a8ffe3d67e1461b02416a7dc832",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -74,18 +74,18 @@
7474
"value": "application/json"
7575
}
7676
],
77-
"headersSize": 436,
77+
"headersSize": 520,
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v1/dashboard/cqc-kbv-se3"
81+
"url": "https://api.datadoghq.com/api/v1/dashboard/38d-vt6-cf9"
8282
},
8383
"response": {
84-
"bodySize": 38,
84+
"bodySize": 39,
8585
"content": {
8686
"mimeType": "application/json",
87-
"size": 38,
88-
"text": "{\"deleted_dashboard_id\":\"cqc-kbv-se3\"}"
87+
"size": 39,
88+
"text": "{\"deleted_dashboard_id\":\"38d-vt6-cf9\"}\n"
8989
},
9090
"cookies": [],
9191
"headers": [
@@ -94,14 +94,14 @@
9494
"value": "application/json"
9595
}
9696
],
97-
"headersSize": 382,
97+
"headersSize": 656,
9898
"httpVersion": "HTTP/1.1",
9999
"redirectURL": "",
100100
"status": 200,
101101
"statusText": "OK"
102102
},
103-
"startedDateTime": "2022-01-06T00:50:33.600Z",
104-
"time": 242
103+
"startedDateTime": "2024-05-15T20:07:41.321Z",
104+
"time": 190
105105
}
106106
],
107107
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-09-22T15:06:29.061Z"
1+
"2024-05-15T20:07:41.518Z"

0 commit comments

Comments
 (0)