Skip to content

Commit f194329

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specskarimo
authored
Regenerate client from commit acc0b78b of spec repo (#835)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: skarimo <[email protected]>
1 parent 56d9a4f commit f194329

File tree

20 files changed

+695
-12
lines changed

20 files changed

+695
-12
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.4",
7-
"regenerated": "2022-09-14 07:52:45.759185",
8-
"spec_repo_commit": "4e5b7510"
7+
"regenerated": "2022-09-16 13:42:45.233492",
8+
"spec_repo_commit": "acc0b78b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-09-14 07:52:45.775321",
13-
"spec_repo_commit": "4e5b7510"
12+
"regenerated": "2022-09-16 13:42:45.245964",
13+
"spec_repo_commit": "acc0b78b"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,10 +1250,25 @@ components:
12501250
nullable: true
12511251
type: array
12521252
default:
1253-
description: The default value for the template variable on dashboard load.
1253+
deprecated: true
1254+
description: (deprecated) The default value for the template variable on
1255+
dashboard load. Cannot be used in conjunction with `defaults`.
12541256
example: my-host
12551257
nullable: true
12561258
type: string
1259+
defaults:
1260+
description: One or many default values for template variables on load.
1261+
If more than one default is specified, they will be unioned together with
1262+
`OR`. Cannot be used in conjunction with `default`.
1263+
example:
1264+
- my-host-1
1265+
- my-host-2
1266+
items:
1267+
description: One of many default values for the template variable on dashboard
1268+
load.
1269+
minLength: 1
1270+
type: string
1271+
type: array
12571272
name:
12581273
description: The name of the variable.
12591274
example: host1
@@ -1286,8 +1301,21 @@ components:
12861301
description: The name of the variable.
12871302
type: string
12881303
value:
1289-
description: The value of the template variable within the saved view.
1304+
deprecated: true
1305+
description: (deprecated) The value of the template variable within the
1306+
saved view. Cannot be used in conjunction with `values`.
12901307
type: string
1308+
values:
1309+
description: One or many template variable values within the saved view,
1310+
which will be unioned together using `OR` if more than one is specified.
1311+
Cannot be used in conjunction with `value`.
1312+
items:
1313+
description: One or many values of the template variable within the saved
1314+
view.
1315+
minLength: 1
1316+
type: string
1317+
minItems: 1
1318+
type: array
12911319
type: object
12921320
DeletedMonitor:
12931321
description: Response from the delete monitor call.

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10931,7 +10931,8 @@ paths:
1093110931
security:
1093210932
- apiKeyAuth: []
1093310933
appKeyAuth: []
10934-
- AuthZ: []
10934+
- AuthZ:
10935+
- metrics_read
1093510936
summary: List active tags and aggregations
1093610937
tags:
1093710938
- Metrics
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-09-12T20:05:48.540Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new dashboard with template variable defaults and default returns \"Bad Request\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "8588e1ea2dacd091388b5219856564c1",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 379,
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\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"default\":\"my-host\",\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/dashboard"
39+
},
40+
"response": {
41+
"bodySize": 47,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 47,
45+
"text": "{\"errors\":[\"'template_variables' is invalid\"]}\n"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 635,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 400,
58+
"statusText": "Bad Request"
59+
},
60+
"startedDateTime": "2022-09-12T20:05:48.556Z",
61+
"time": 164
62+
}
63+
],
64+
"pages": [],
65+
"version": "1.2"
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-09-12T20:05:48.730Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new dashboard with template variable defaults returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "bc9e8ee1e35da8c1128da24e2d821943",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 359,
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\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"my-host\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/dashboard"
39+
},
40+
"response": {
41+
"bodySize": 586,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 586,
45+
"text": "{\"notify_list\":[],\"description\":null,\"restricted_roles\":[],\"author_name\":null,\"template_variables\":[{\"prefix\":\"host\",\"defaults\":[\"my-host\"],\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"name\":\"host1\"}],\"is_read_only\":false,\"id\":\"39h-cn5-kyd\",\"title\":\"\",\"url\":\"/dashboard/39h-cn5-kyd/\",\"created_at\":\"2022-09-12T20:05:49.753763+00:00\",\"modified_at\":\"2022-09-12T20:05:49.753763+00:00\",\"reflow_type\":\"auto\",\"author_handle\":\"[email protected]\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"},\"id\":4911408545233424}],\"layout_type\":\"ordered\"}\n"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 593,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 200,
58+
"statusText": "OK"
59+
},
60+
"startedDateTime": "2022-09-12T20:05:48.735Z",
61+
"time": 1059
62+
},
63+
{
64+
"_id": "589d25a818d1f9ae097de8af0e381784",
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/39h-cn5-kyd"
82+
},
83+
"response": {
84+
"bodySize": 39,
85+
"content": {
86+
"mimeType": "application/json",
87+
"size": 39,
88+
"text": "{\"deleted_dashboard_id\":\"39h-cn5-kyd\"}\n"
89+
},
90+
"cookies": [],
91+
"headers": [
92+
{
93+
"name": "content-type",
94+
"value": "application/json"
95+
}
96+
],
97+
"headersSize": 592,
98+
"httpVersion": "HTTP/1.1",
99+
"redirectURL": "",
100+
"status": 200,
101+
"statusText": "OK"
102+
},
103+
"startedDateTime": "2022-09-12T20:05:49.820Z",
104+
"time": 198
105+
}
106+
],
107+
"pages": [],
108+
"version": "1.2"
109+
}
110+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-09-12T20:05:50.024Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new dashboard with template variable defaults whose value has no length returns \"Bad Request\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "46a0f6ac2198ca813563f3642a435388",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 352,
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\":null,\"is_read_only\":false,\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"auto\",\"restricted_roles\":[],\"template_variables\":[{\"available_values\":[\"my-host\",\"host1\",\"host2\"],\"defaults\":[\"\"],\"name\":\"host1\",\"prefix\":\"host\"}],\"title\":\"\",\"widgets\":[{\"definition\":{\"requests\":{\"fill\":{\"q\":\"avg:system.cpu.user{*}\"}},\"type\":\"hostmap\"}}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/dashboard"
39+
},
40+
"response": {
41+
"bodySize": 66,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 66,
45+
"text": "{\"errors\":[\"Minimum length of parameter 'defaults' should be 1\"]}\n"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 635,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 400,
58+
"statusText": "Bad Request"
59+
},
60+
"startedDateTime": "2022-09-12T20:05:50.028Z",
61+
"time": 90
62+
}
63+
],
64+
"pages": [],
65+
"version": "1.2"
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-09-14T15:56:53.597Z"

0 commit comments

Comments
 (0)