Skip to content

Commit e74082a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specjirikuncar
authored
Regenerate client from commit 12a9fda of spec repo (#629)
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: Jiri Kuncar <[email protected]>
1 parent 921b1ee commit e74082a

File tree

48 files changed

+2367
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2367
-26
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.5.1.dev2",
7-
"regenerated": "2021-10-19 14:08:50.427460",
8-
"spec_repo_commit": "9841481"
7+
"regenerated": "2021-10-20 11:05:46.586142",
8+
"spec_repo_commit": "12a9fda"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-10-19 14:09:25.443679",
13-
"spec_repo_commit": "9841481"
12+
"regenerated": "2021-10-20 11:06:22.443018",
13+
"spec_repo_commit": "12a9fda"
1414
}
1515
}
1616
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2021-10-19T14:57:44.612Z
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
interactions:
2+
- request:
3+
body: '{"query":"query","type":"log alert"}'
4+
headers:
5+
accept:
6+
- application/json, */*;q=0.8
7+
connection:
8+
- close
9+
content-length:
10+
- '36'
11+
content-type:
12+
- application/json
13+
host:
14+
- api.datadoghq.com
15+
user-agent:
16+
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
17+
x-datadog-parent-id:
18+
- '473692364547282172'
19+
x-datadog-trace-id:
20+
- '4045044024035757101'
21+
method: POST
22+
uri: https://api.datadoghq.com/api/v1/monitor
23+
response:
24+
body:
25+
string: '{"errors": ["The value provided for parameter ''query'' is invalid:
26+
invalid operator specified: "]}'
27+
headers:
28+
cache-control:
29+
- no-cache
30+
connection:
31+
- close
32+
content-length:
33+
- '97'
34+
content-security-policy:
35+
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
36+
content-type:
37+
- application/json
38+
date:
39+
- Tue, 19 Oct 2021 14:57:44 GMT
40+
pragma:
41+
- no-cache
42+
strict-transport-security:
43+
- max-age=15724800;
44+
x-content-type-options:
45+
- nosniff
46+
x-frame-options:
47+
- SAMEORIGIN
48+
x-ratelimit-limit:
49+
- '500'
50+
x-ratelimit-period:
51+
- '10'
52+
x-ratelimit-remaining:
53+
- '498'
54+
x-ratelimit-reset:
55+
- '6'
56+
status:
57+
code: 400
58+
message: Bad Request
59+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2021-10-19T14:57:44.805Z
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
interactions:
2+
- request:
3+
body: '{"name":"updated","options":{"evaluation_delay":null,"new_group_delay":600,"new_host_delay":null,"renotify_interval":null,"thresholds":{"critical":2,"warning":null},"timeout_h":null}}'
4+
headers:
5+
accept:
6+
- application/json, */*;q=0.8
7+
connection:
8+
- close
9+
content-length:
10+
- '183'
11+
content-type:
12+
- application/json
13+
host:
14+
- api.datadoghq.com
15+
user-agent:
16+
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
17+
x-datadog-parent-id:
18+
- '8667457301094752617'
19+
x-datadog-trace-id:
20+
- '8415666206679357486'
21+
method: PUT
22+
uri: https://api.datadoghq.com/api/v1/monitor/0
23+
response:
24+
body:
25+
string: '{"errors": ["Monitor not found"]}'
26+
headers:
27+
cache-control:
28+
- no-cache
29+
connection:
30+
- close
31+
content-length:
32+
- '33'
33+
content-security-policy:
34+
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
35+
content-type:
36+
- application/json
37+
date:
38+
- Tue, 19 Oct 2021 14:57:44 GMT
39+
pragma:
40+
- no-cache
41+
strict-transport-security:
42+
- max-age=15724800;
43+
vary:
44+
- Accept-Encoding
45+
x-content-type-options:
46+
- nosniff
47+
x-frame-options:
48+
- SAMEORIGIN
49+
x-ratelimit-limit:
50+
- '500'
51+
x-ratelimit-period:
52+
- '10'
53+
x-ratelimit-remaining:
54+
- '499'
55+
x-ratelimit-reset:
56+
- '6'
57+
status:
58+
code: 404
59+
message: Not Found
60+
version: 1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2021-10-19T14:57:44.942Z
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
interactions:
2+
- request:
3+
body: '{"config":{"assertions":[{"operator":"is","property":"{{ PROPERTY }}","target":"text/html","type":"header"},{"operator":"lessThan","target":2000,"type":"responseTime"},{"operator":"validatesJSONPath","target":{"jsonPath":"topKey","operator":"isNot","targetValue":"0"},"type":"body"}],"configVariables":[{"example":"content-type","name":"PROPERTY","pattern":"content-type","type":"text"}],"request":{"certificate":{"cert":{"content":"cert-content","filename":"cert-filename","updatedAt":"2020-10-16T09:23:24.857Z"},"key":{"content":"key-content","filename":"key-filename","updatedAt":"2020-10-16T09:23:24.857Z"}},"headers":{"unique":"testgetasyntheticsmonitorsdetails1634655464"},"method":"GET","timeout":10,"url":"https://datadoghq.com"}},"locations":["aws:us-east-2"],"message":"BDD
4+
test payload: synthetics_api_test_payload.json","name":"Test-Get_a_synthetics_monitor_s_details-1634655464","options":{"accept_self_signed":false,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"min_location_failed":1,"monitor_name":"Test-Get_a_synthetics_monitor_s_details-1634655464","monitor_priority":5,"retry":{"count":3,"interval":10},"tick_every":60},"subtype":"http","tags":["testing:api"],"type":"api"}'
5+
headers:
6+
accept:
7+
- application/json, */*;q=0.8
8+
connection:
9+
- close
10+
content-length:
11+
- '1219'
12+
content-type:
13+
- application/json
14+
host:
15+
- api.datadoghq.com
16+
user-agent:
17+
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
18+
x-datadog-parent-id:
19+
- '9071599777512967423'
20+
x-datadog-trace-id:
21+
- '1217628308625908366'
22+
method: POST
23+
uri: https://api.datadoghq.com/api/v1/synthetics/tests/api
24+
response:
25+
body:
26+
string: '{"status":"live","public_id":"8u9-c6t-p7r","tags":["testing:api"],"org_id":321813,"locations":["aws:us-east-2"],"message":"BDD
27+
test payload: synthetics_api_test_payload.json","deleted_at":null,"name":"Test-Get_a_synthetics_monitor_s_details-1634655464","monitor_id":50341250,"type":"api","created_at":"2021-10-19T14:57:45.270034+00:00","modified_at":"2021-10-19T14:57:45.270034+00:00","subtype":"http","config":{"request":{"url":"https://datadoghq.com","headers":{"unique":"testgetasyntheticsmonitorsdetails1634655464"},"certificate":{"cert":{"filename":"cert-filename","updatedAt":"2020-10-16T09:23:24.857Z"},"key":{"filename":"key-filename","updatedAt":"2020-10-16T09:23:24.857Z"}},"method":"GET","timeout":10},"assertions":[{"operator":"is","property":"{{
28+
PROPERTY }}","type":"header","target":"text/html"},{"operator":"lessThan","type":"responseTime","target":2000},{"operator":"validatesJSONPath","type":"body","target":{"operator":"isNot","targetValue":"0","jsonPath":"topKey"}}],"configVariables":[{"pattern":"content-type","type":"text","example":"content-type","name":"PROPERTY"}]},"options":{"accept_self_signed":false,"retry":{"count":3,"interval":10},"min_location_failed":1,"allow_insecure":true,"follow_redirects":true,"min_failure_duration":10,"monitor_priority":5,"monitor_name":"Test-Get_a_synthetics_monitor_s_details-1634655464","tick_every":60}}'
29+
headers:
30+
cache-control:
31+
- no-cache
32+
connection:
33+
- close
34+
content-length:
35+
- '1365'
36+
content-security-policy:
37+
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
38+
content-type:
39+
- application/json
40+
date:
41+
- Tue, 19 Oct 2021 14:57:45 GMT
42+
pragma:
43+
- no-cache
44+
strict-transport-security:
45+
- max-age=15724800;
46+
vary:
47+
- Accept-Encoding
48+
x-content-type-options:
49+
- nosniff
50+
x-frame-options:
51+
- SAMEORIGIN
52+
x-ratelimit-limit:
53+
- '12000'
54+
x-ratelimit-period:
55+
- '60'
56+
x-ratelimit-remaining:
57+
- '11999'
58+
x-ratelimit-reset:
59+
- '15'
60+
status:
61+
code: 200
62+
message: OK
63+
- request:
64+
body: null
65+
headers:
66+
accept:
67+
- application/json, */*;q=0.8
68+
connection:
69+
- close
70+
host:
71+
- api.datadoghq.com
72+
user-agent:
73+
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
74+
x-datadog-parent-id:
75+
- '2046274214575695415'
76+
x-datadog-trace-id:
77+
- '1217628308625908366'
78+
method: GET
79+
uri: https://api.datadoghq.com/api/v1/monitor/50341250
80+
response:
81+
body:
82+
string: '{"restricted_roles":null,"tags":["testing:api","probe_dc:aws:us-east-2","check_type:api","check_status:live"],"deleted":null,"query":"no_query","message":"BDD
83+
test payload: synthetics_api_test_payload.json","id":50341250,"multi":false,"name":"Test-Get_a_synthetics_monitor_s_details-1634655464","created":"2021-10-19T14:57:45.191294+00:00","created_at":1634655465000,"creator":{"id":1445416,"handle":"[email protected]","name":null,"email":"[email protected]"},"org_id":321813,"modified":"2021-10-19T14:57:45.191294+00:00","priority":5,"overall_state_modified":null,"overall_state":"No
84+
Data","type":"synthetics alert","options":{"notify_audit":false,"locked":false,"silenced":{},"include_tags":true,"new_host_delay":300,"notify_no_data":false,"synthetics_check_id":"8u9-c6t-p7r"}}'
85+
headers:
86+
cache-control:
87+
- no-cache
88+
connection:
89+
- close
90+
content-length:
91+
- '782'
92+
content-security-policy:
93+
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
94+
content-type:
95+
- application/json
96+
date:
97+
- Tue, 19 Oct 2021 14:57:45 GMT
98+
pragma:
99+
- no-cache
100+
strict-transport-security:
101+
- max-age=15724800;
102+
vary:
103+
- Accept-Encoding
104+
x-content-type-options:
105+
- nosniff
106+
x-frame-options:
107+
- SAMEORIGIN
108+
x-ratelimit-limit:
109+
- '3000'
110+
x-ratelimit-period:
111+
- '10'
112+
x-ratelimit-remaining:
113+
- '2999'
114+
x-ratelimit-reset:
115+
- '5'
116+
status:
117+
code: 200
118+
message: OK
119+
- request:
120+
body: '{"public_ids":["8u9-c6t-p7r"]}'
121+
headers:
122+
accept:
123+
- application/json, */*;q=0.8
124+
connection:
125+
- close
126+
content-length:
127+
- '30'
128+
content-type:
129+
- application/json
130+
host:
131+
- api.datadoghq.com
132+
user-agent:
133+
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
134+
x-datadog-parent-id:
135+
- '705026336682070146'
136+
x-datadog-trace-id:
137+
- '1217628308625908366'
138+
method: POST
139+
uri: https://api.datadoghq.com/api/v1/synthetics/tests/delete
140+
response:
141+
body:
142+
string: '{"deleted_tests":[{"deleted_at":"2021-10-19T14:57:45.582428+00:00","public_id":"8u9-c6t-p7r"}]}'
143+
headers:
144+
cache-control:
145+
- no-cache
146+
connection:
147+
- close
148+
content-length:
149+
- '95'
150+
content-security-policy:
151+
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
152+
content-type:
153+
- application/json
154+
date:
155+
- Tue, 19 Oct 2021 14:57:45 GMT
156+
pragma:
157+
- no-cache
158+
strict-transport-security:
159+
- max-age=15724800;
160+
vary:
161+
- Accept-Encoding
162+
x-content-type-options:
163+
- nosniff
164+
x-frame-options:
165+
- SAMEORIGIN
166+
x-ratelimit-limit:
167+
- '12000'
168+
x-ratelimit-period:
169+
- '60'
170+
x-ratelimit-remaining:
171+
- '11999'
172+
x-ratelimit-reset:
173+
- '15'
174+
status:
175+
code: 200
176+
message: OK
177+
version: 1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2021-10-19T14:57:45.766Z
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
interactions:
2+
- request:
3+
body: null
4+
headers:
5+
accept:
6+
- application/json, */*;q=0.8
7+
connection:
8+
- close
9+
host:
10+
- api.datadoghq.com
11+
user-agent:
12+
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
13+
x-datadog-parent-id:
14+
- '9043798307086523531'
15+
x-datadog-trace-id:
16+
- '1076663721604932769'
17+
method: GET
18+
uri: https://api.datadoghq.com/api/v1/monitor?group_states=notagroupstate
19+
response:
20+
body:
21+
string: '{"errors":["Invalid group_state filters."]}'
22+
headers:
23+
cache-control:
24+
- no-cache
25+
connection:
26+
- close
27+
content-length:
28+
- '43'
29+
content-security-policy:
30+
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
31+
content-type:
32+
- application/json
33+
date:
34+
- Tue, 19 Oct 2021 14:57:46 GMT
35+
pragma:
36+
- no-cache
37+
strict-transport-security:
38+
- max-age=15724800;
39+
x-content-type-options:
40+
- nosniff
41+
x-frame-options:
42+
- SAMEORIGIN
43+
x-ratelimit-limit:
44+
- '1000'
45+
x-ratelimit-period:
46+
- '10'
47+
x-ratelimit-remaining:
48+
- '999'
49+
x-ratelimit-reset:
50+
- '5'
51+
status:
52+
code: 400
53+
message: Bad Request
54+
version: 1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2021-10-19T14:57:41.306Z

0 commit comments

Comments
 (0)