Skip to content

Commit 9a799fe

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 327c6b76 of spec repo
1 parent cfae805 commit 9a799fe

File tree

21 files changed

+937
-52
lines changed

21 files changed

+937
-52
lines changed

.apigentools-info

+4-4
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-08-29 20:02:13.031504",
8-
"spec_repo_commit": "518ca9df"
7+
"regenerated": "2024-08-30 14:27:46.610090",
8+
"spec_repo_commit": "327c6b76"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-29 20:02:13.055105",
13-
"spec_repo_commit": "518ca9df"
12+
"regenerated": "2024-08-30 14:27:46.627858",
13+
"spec_repo_commit": "327c6b76"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+85-4
Original file line numberDiff line numberDiff line change
@@ -21849,6 +21849,13 @@ components:
2184921849
type: string
2185021850
x-enum-varnames:
2185121851
- ORDERED
21852+
WidgetLegacyLiveSpan:
21853+
additionalProperties: false
21854+
description: Wrapper for live span
21855+
properties:
21856+
live_span:
21857+
$ref: '#/components/schemas/WidgetLiveSpan'
21858+
type: object
2185221859
WidgetLegendSize:
2185321860
description: Available legend sizes for a widget. Should be one of "0", "2",
2185421861
"4", "8", "16", or "auto".
@@ -21915,6 +21922,24 @@ components:
2191521922
- MONTH_TO_DATE
2191621923
- PAST_ONE_YEAR
2191721924
- ALERT
21925+
WidgetLiveSpanUnit:
21926+
description: Unit of the time span.
21927+
enum:
21928+
- minute
21929+
- hour
21930+
- day
21931+
- week
21932+
- month
21933+
- year
21934+
example: minute
21935+
type: string
21936+
x-enum-varnames:
21937+
- MINUTE
21938+
- HOUR
21939+
- DAY
21940+
- WEEK
21941+
- MONTH
21942+
- YEAR
2191821943
WidgetMargin:
2191921944
description: 'Size of the margins around the image.
2192021945

@@ -22019,6 +22044,62 @@ components:
2201922044
- TRIGGERED_DESCENDING
2202022045
- PRIORITY_ASCENDING
2202122046
- PRIORITY_DESCENDING
22047+
WidgetNewFixedSpan:
22048+
description: Used for fixed span times, such as 'March 1 to March 7'.
22049+
properties:
22050+
from:
22051+
description: Start time in seconds since epoch.
22052+
example: 1712080128
22053+
format: int64
22054+
minimum: 0
22055+
type: integer
22056+
to:
22057+
description: End time in seconds since epoch.
22058+
example: 1712083128
22059+
format: int64
22060+
minimum: 0
22061+
type: integer
22062+
type:
22063+
$ref: '#/components/schemas/WidgetNewFixedSpanType'
22064+
required:
22065+
- type
22066+
- from
22067+
- to
22068+
type: object
22069+
WidgetNewFixedSpanType:
22070+
description: Type "fixed" denotes a fixed span.
22071+
enum:
22072+
- fixed
22073+
example: fixed
22074+
type: string
22075+
x-enum-varnames:
22076+
- FIXED
22077+
WidgetNewLiveSpan:
22078+
description: Used for arbitrary live span times, such as 17 minutes or 6 hours.
22079+
properties:
22080+
type:
22081+
$ref: '#/components/schemas/WidgetNewLiveSpanType'
22082+
unit:
22083+
$ref: '#/components/schemas/WidgetLiveSpanUnit'
22084+
value:
22085+
description: Value of the time span.
22086+
example: 4
22087+
format: int64
22088+
minimum: 1
22089+
type: integer
22090+
required:
22091+
- type
22092+
- value
22093+
- unit
22094+
type: object
22095+
WidgetNewLiveSpanType:
22096+
description: Type "live" denotes a live span in the new format.
22097+
enum:
22098+
- live
22099+
example: live
22100+
type: string
22101+
x-enum-varnames:
22102+
- LIVE
2202222103
WidgetNodeType:
2202322104
description: Which type of node to use in the map.
2202422105
enum:
@@ -22191,10 +22272,10 @@ components:
2219122272
- TOP
2219222273
WidgetTime:
2219322274
description: Time setting for the widget.
22194-
properties:
22195-
live_span:
22196-
$ref: '#/components/schemas/WidgetLiveSpan'
22197-
type: object
22275+
oneOf:
22276+
- $ref: '#/components/schemas/WidgetLegacyLiveSpan'
22277+
- $ref: '#/components/schemas/WidgetNewLiveSpan'
22278+
- $ref: '#/components/schemas/WidgetNewFixedSpan'
2219822279
WidgetTimeWindows:
2219922280
description: Define a time window.
2220022281
enum:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-08-08T16:08:49.284Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new timeseries widget with legacy live span time format",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "1627fd1f28110b2aceeda4364777902f",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 704,
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": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1723133329 with legacy live span time\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"live_span\":\"5m\"},\"title\":\"\",\"type\":\"timeseries\"}}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/dashboard"
39+
},
40+
"response": {
41+
"bodySize": 1152,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 1152,
45+
"text": "{\"id\":\"dfy-yby-e2c\",\"title\":\"Test-Create_a_new_timeseries_widget_with_legacy_live_span_time_format-1723133329 with legacy live span time\",\"description\":null,\"author_handle\":\"d5459c54-9e9d-11ee-a5c9-ce6dc639753f\",\"author_name\":\"CI Service Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/dfy-yby-e2c/test-createanewtimeserieswidgetwithlegacylivespantimeformat-1723133329-with-lega\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"live_span\":\"5m\"},\"title\":\"\",\"type\":\"timeseries\"},\"id\":6745766981061097}],\"notify_list\":null,\"created_at\":\"2024-08-08T16:08:49.543129+00:00\",\"modified_at\":\"2024-08-08T16:08:49.543129+00:00\",\"reflow_type\":\"auto\",\"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-08-08T16:08:49.293Z",
61+
"time": 457
62+
},
63+
{
64+
"_id": "79e2eafca363ed924ea18bf392a3f5c7",
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/dfy-yby-e2c"
82+
},
83+
"response": {
84+
"bodySize": 39,
85+
"content": {
86+
"mimeType": "application/json",
87+
"size": 39,
88+
"text": "{\"deleted_dashboard_id\":\"dfy-yby-e2c\"}\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-08-08T16:08:49.762Z",
104+
"time": 222
105+
}
106+
],
107+
"pages": [],
108+
"version": "1.2"
109+
}
110+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-08-08T16:09:04.492Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new timeseries widget with new fixed span time format",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "285aa01e11666786677cd7a20038bb37",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 732,
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": "{\"layout_type\":\"ordered\",\"reflow_type\":\"auto\",\"title\":\"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1723133344 with new fixed span time\",\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"from\":1712080128,\"to\":1712083128,\"type\":\"fixed\"},\"title\":\"\",\"type\":\"timeseries\"}}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/dashboard"
39+
},
40+
"response": {
41+
"bodySize": 1180,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 1180,
45+
"text": "{\"id\":\"kvv-wiy-nsu\",\"title\":\"Test-Create_a_new_timeseries_widget_with_new_fixed_span_time_format-1723133344 with new fixed span time\",\"description\":null,\"author_handle\":\"d5459c54-9e9d-11ee-a5c9-ce6dc639753f\",\"author_name\":\"CI Service Account\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/kvv-wiy-nsu/test-createanewtimeserieswidgetwithnewfixedspantimeformat-1723133344-with-new-fi\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"legend_columns\":[\"avg\",\"min\",\"max\",\"value\",\"sum\"],\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\"}],\"queries\":[{\"compute\":{\"aggregation\":\"count\",\"metric\":\"@ci.queue_time\"},\"data_source\":\"ci_pipelines\",\"group_by\":[],\"indexes\":[\"*\"],\"name\":\"query1\",\"search\":{\"query\":\"ci_level:job\"}}],\"response_format\":\"timeseries\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"time\":{\"from\":1712080128,\"to\":1712083128,\"type\":\"fixed\"},\"title\":\"\",\"type\":\"timeseries\"},\"id\":1421131468062823}],\"notify_list\":null,\"created_at\":\"2024-08-08T16:09:04.750457+00:00\",\"modified_at\":\"2024-08-08T16:09:04.750457+00:00\",\"reflow_type\":\"auto\",\"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-08-08T16:09:04.501Z",
61+
"time": 420
62+
},
63+
{
64+
"_id": "f52201862fe593c440574f9e6ac0ea4b",
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/kvv-wiy-nsu"
82+
},
83+
"response": {
84+
"bodySize": 39,
85+
"content": {
86+
"mimeType": "application/json",
87+
"size": 39,
88+
"text": "{\"deleted_dashboard_id\":\"kvv-wiy-nsu\"}\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-08-08T16:09:04.933Z",
104+
"time": 172
105+
}
106+
],
107+
"pages": [],
108+
"version": "1.2"
109+
}
110+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2024-08-08T16:09:15.828Z"

0 commit comments

Comments
 (0)