Skip to content

Commit e5f7062

Browse files
api-clients-generation-pipeline[bot]therveci.datadog-api-spec
authored
Generate SDKs for monitors search endpoints (#152)
* Add cassettes * Regenerate client from commit 0167d3f of spec repo Co-authored-by: Thomas Hervé <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 9944c3b commit e5f7062

File tree

27 files changed

+2085
-7
lines changed

27 files changed

+2085
-7
lines changed

.apigentools-info

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"info_version": "2",
44
"spec_versions": {
55
"v1": {
6-
"apigentools_version": "1.4.1.dev6",
7-
"regenerated": "2021-05-24 14:55:27.156969",
8-
"spec_repo_commit": "4ffe2b5"
6+
"apigentools_version": "1.4.1.dev8",
7+
"regenerated": "2021-05-27 08:31:52.844469",
8+
"spec_repo_commit": "0167d3f"
99
},
1010
"v2": {
11-
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-05-24 14:56:19.775069",
13-
"spec_repo_commit": "4ffe2b5"
11+
"apigentools_version": "1.4.1.dev8",
12+
"regenerated": "2021-05-27 08:32:33.027018",
13+
"spec_repo_commit": "0167d3f"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-05-25T10:23:20.730Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
{
2+
"log": {
3+
"_recordingName": "Monitors/Monitors group search returns \"Bad Request\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "5.1.0"
8+
},
9+
"entries": [
10+
{
11+
"_id": "d41afe9f069d370356ec08bdc1301136",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "user-agent",
21+
"value": "datadog-api-client-typescript/0.1.0 (node 15.11.0; os Darwin; arch x64)"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "accept",
26+
"value": "application/json, */*;q=0.8"
27+
},
28+
{
29+
"_fromType": "array",
30+
"name": "x-datadog-parent-id",
31+
"value": "7060831856093393156"
32+
},
33+
{
34+
"_fromType": "array",
35+
"name": "x-datadog-trace-id",
36+
"value": "7060831856093393156"
37+
},
38+
{
39+
"_fromType": "array",
40+
"name": "connection",
41+
"value": "close"
42+
},
43+
{
44+
"name": "host",
45+
"value": "api.datadoghq.com"
46+
}
47+
],
48+
"headersSize": 454,
49+
"httpVersion": "HTTP/1.1",
50+
"method": "GET",
51+
"queryString": [
52+
{
53+
"name": "query",
54+
"value": "status:notastatus"
55+
}
56+
],
57+
"url": "https://api.datadoghq.com/api/v1/monitor/groups/search?query=status%3Anotastatus"
58+
},
59+
"response": {
60+
"bodySize": 79,
61+
"content": {
62+
"mimeType": "application/json",
63+
"size": 79,
64+
"text": "{\"errors\": [\"Query parsing error: 'notastatus' is not a valid monitor status\"]}"
65+
},
66+
"cookies": [],
67+
"headers": [
68+
{
69+
"name": "date",
70+
"value": "Tue, 25 May 2021 10:23:21 GMT"
71+
},
72+
{
73+
"name": "content-type",
74+
"value": "application/json"
75+
},
76+
{
77+
"name": "content-length",
78+
"value": "79"
79+
},
80+
{
81+
"name": "connection",
82+
"value": "close"
83+
},
84+
{
85+
"name": "pragma",
86+
"value": "no-cache"
87+
},
88+
{
89+
"name": "cache-control",
90+
"value": "no-cache"
91+
},
92+
{
93+
"name": "x-ratelimit-limit",
94+
"value": "120"
95+
},
96+
{
97+
"name": "x-ratelimit-period",
98+
"value": "10"
99+
},
100+
{
101+
"name": "x-ratelimit-reset",
102+
"value": "9"
103+
},
104+
{
105+
"name": "x-ratelimit-remaining",
106+
"value": "119"
107+
},
108+
{
109+
"name": "x-dd-version",
110+
"value": "35.4600248"
111+
},
112+
{
113+
"name": "x-content-type-options",
114+
"value": "nosniff"
115+
},
116+
{
117+
"name": "strict-transport-security",
118+
"value": "max-age=15724800;"
119+
},
120+
{
121+
"name": "content-security-policy",
122+
"value": "frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report"
123+
},
124+
{
125+
"name": "x-frame-options",
126+
"value": "SAMEORIGIN"
127+
}
128+
],
129+
"headersSize": 483,
130+
"httpVersion": "HTTP/1.1",
131+
"redirectURL": "",
132+
"status": 400,
133+
"statusText": "Bad Request"
134+
},
135+
"startedDateTime": "2021-05-25T10:23:20.749Z",
136+
"time": 466,
137+
"timings": {
138+
"blocked": -1,
139+
"connect": -1,
140+
"dns": -1,
141+
"receive": 0,
142+
"send": 0,
143+
"ssl": -1,
144+
"wait": 466
145+
}
146+
}
147+
],
148+
"pages": [],
149+
"version": "1.2"
150+
}
151+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-05-25T10:23:21.295Z"

cassettes/v1/Monitors_4022238206/Monitors-group-search-returns-OK-response_122944417/recording.har

Lines changed: 150 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-05-25T10:23:21.927Z"
Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
{
2+
"log": {
3+
"_recordingName": "Monitors/Monitors search returns \"Bad Request\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "5.1.0"
8+
},
9+
"entries": [
10+
{
11+
"_id": "0318aa61109d3d7dcf8c8fa260e4241f",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "user-agent",
21+
"value": "datadog-api-client-typescript/0.1.0 (node 15.11.0; os Darwin; arch x64)"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "accept",
26+
"value": "application/json, */*;q=0.8"
27+
},
28+
{
29+
"_fromType": "array",
30+
"name": "x-datadog-parent-id",
31+
"value": "7060831856093393156"
32+
},
33+
{
34+
"_fromType": "array",
35+
"name": "x-datadog-trace-id",
36+
"value": "7060831856093393156"
37+
},
38+
{
39+
"_fromType": "array",
40+
"name": "connection",
41+
"value": "close"
42+
},
43+
{
44+
"name": "host",
45+
"value": "api.datadoghq.com"
46+
}
47+
],
48+
"headersSize": 447,
49+
"httpVersion": "HTTP/1.1",
50+
"method": "GET",
51+
"queryString": [
52+
{
53+
"name": "query",
54+
"value": "status:notastatus"
55+
}
56+
],
57+
"url": "https://api.datadoghq.com/api/v1/monitor/search?query=status%3Anotastatus"
58+
},
59+
"response": {
60+
"bodySize": 79,
61+
"content": {
62+
"mimeType": "application/json",
63+
"size": 79,
64+
"text": "{\"errors\": [\"Query parsing error: 'notastatus' is not a valid monitor status\"]}"
65+
},
66+
"cookies": [],
67+
"headers": [
68+
{
69+
"name": "date",
70+
"value": "Tue, 25 May 2021 10:23:22 GMT"
71+
},
72+
{
73+
"name": "content-type",
74+
"value": "application/json"
75+
},
76+
{
77+
"name": "content-length",
78+
"value": "79"
79+
},
80+
{
81+
"name": "connection",
82+
"value": "close"
83+
},
84+
{
85+
"name": "pragma",
86+
"value": "no-cache"
87+
},
88+
{
89+
"name": "cache-control",
90+
"value": "no-cache"
91+
},
92+
{
93+
"name": "x-ratelimit-limit",
94+
"value": "120"
95+
},
96+
{
97+
"name": "x-ratelimit-period",
98+
"value": "10"
99+
},
100+
{
101+
"name": "x-ratelimit-reset",
102+
"value": "8"
103+
},
104+
{
105+
"name": "x-ratelimit-remaining",
106+
"value": "117"
107+
},
108+
{
109+
"name": "x-dd-version",
110+
"value": "35.4600248"
111+
},
112+
{
113+
"name": "x-content-type-options",
114+
"value": "nosniff"
115+
},
116+
{
117+
"name": "strict-transport-security",
118+
"value": "max-age=15724800;"
119+
},
120+
{
121+
"name": "content-security-policy",
122+
"value": "frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report"
123+
},
124+
{
125+
"name": "x-frame-options",
126+
"value": "SAMEORIGIN"
127+
}
128+
],
129+
"headersSize": 483,
130+
"httpVersion": "HTTP/1.1",
131+
"redirectURL": "",
132+
"status": 400,
133+
"statusText": "Bad Request"
134+
},
135+
"startedDateTime": "2021-05-25T10:23:21.936Z",
136+
"time": 395,
137+
"timings": {
138+
"blocked": -1,
139+
"connect": -1,
140+
"dns": -1,
141+
"receive": 0,
142+
"send": 0,
143+
"ssl": -1,
144+
"wait": 395
145+
}
146+
}
147+
],
148+
"pages": [],
149+
"version": "1.2"
150+
}
151+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-05-25T10:23:22.395Z"

cassettes/v1/Monitors_4022238206/Monitors-search-returns-OK-response_3797395820/recording.har

Lines changed: 150 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)