Skip to content

Commit b85c41b

Browse files
api-clients-generation-pipeline[bot]therveci.datadog-api-spec
authored
Webhooks integration SDK (#247)
* Record, add upper * Regenerate client from commit 64ee0b9 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 adc554a commit b85c41b

File tree

33 files changed

+5547
-4
lines changed

33 files changed

+5547
-4
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.4.1.dev11",
7-
"regenerated": "2021-08-12 12:21:03.745930",
8-
"spec_repo_commit": "fa2403b"
7+
"regenerated": "2021-08-13 15:37:00.039187",
8+
"spec_repo_commit": "64ee0b9"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-08-12 12:22:35.666634",
13-
"spec_repo_commit": "fa2403b"
12+
"regenerated": "2021-08-13 15:38:31.846707",
13+
"spec_repo_commit": "64ee0b9"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-08-12T16:28:31.977Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
{
2+
"log": {
3+
"_recordingName": "Webhooks Integration/Create a custom variable returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "5.1.0"
8+
},
9+
"entries": [
10+
{
11+
"_id": "de18fb2acca252e28d1a843277c3f92c",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 112,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "user-agent",
21+
"value": "datadog-api-client-typescript/1.0.0-beta.4+dev (node 16.3.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": "content-type",
31+
"value": "application/json"
32+
},
33+
{
34+
"_fromType": "array",
35+
"name": "x-datadog-parent-id",
36+
"value": "3089514925855613338"
37+
},
38+
{
39+
"_fromType": "array",
40+
"name": "x-datadog-trace-id",
41+
"value": "3089514925855613338"
42+
},
43+
{
44+
"_fromType": "array",
45+
"name": "content-length",
46+
"value": "112"
47+
},
48+
{
49+
"_fromType": "array",
50+
"name": "connection",
51+
"value": "close"
52+
},
53+
{
54+
"name": "host",
55+
"value": "api.datadoghq.com"
56+
}
57+
],
58+
"headersSize": 522,
59+
"httpVersion": "HTTP/1.1",
60+
"method": "POST",
61+
"postData": {
62+
"mimeType": "application/json",
63+
"params": [],
64+
"text": "{\"is_secret\":true,\"name\":\"TESTCREATEACUSTOMVARIABLERETURNSOKRESPONSE1628785711\",\"value\":\"CUSTOM_VARIABLE_VALUE\"}"
65+
},
66+
"queryString": [],
67+
"url": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables"
68+
},
69+
"response": {
70+
"bodySize": 80,
71+
"content": {
72+
"mimeType": "application/json",
73+
"size": 80,
74+
"text": "{\"is_secret\":true,\"name\":\"TESTCREATEACUSTOMVARIABLERETURNSOKRESPONSE1628785711\"}"
75+
},
76+
"cookies": [],
77+
"headers": [
78+
{
79+
"name": "date",
80+
"value": "Thu, 12 Aug 2021 16:28:32 GMT"
81+
},
82+
{
83+
"name": "content-type",
84+
"value": "application/json"
85+
},
86+
{
87+
"name": "content-length",
88+
"value": "80"
89+
},
90+
{
91+
"name": "connection",
92+
"value": "close"
93+
},
94+
{
95+
"name": "pragma",
96+
"value": "no-cache"
97+
},
98+
{
99+
"name": "cache-control",
100+
"value": "no-cache"
101+
},
102+
{
103+
"name": "location",
104+
"value": "https://app.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/TESTCREATEACUSTOMVARIABLERETURNSOKRESPONSE1628785711"
105+
},
106+
{
107+
"name": "x-content-type-options",
108+
"value": "nosniff"
109+
},
110+
{
111+
"name": "strict-transport-security",
112+
"value": "max-age=15724800;"
113+
},
114+
{
115+
"name": "content-security-policy",
116+
"value": "frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report"
117+
},
118+
{
119+
"name": "x-frame-options",
120+
"value": "SAMEORIGIN"
121+
}
122+
],
123+
"headersSize": 508,
124+
"httpVersion": "HTTP/1.1",
125+
"redirectURL": "https://app.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/TESTCREATEACUSTOMVARIABLERETURNSOKRESPONSE1628785711",
126+
"status": 201,
127+
"statusText": "Created"
128+
},
129+
"startedDateTime": "2021-08-12T16:28:32.001Z",
130+
"time": 536,
131+
"timings": {
132+
"blocked": -1,
133+
"connect": -1,
134+
"dns": -1,
135+
"receive": 0,
136+
"send": 0,
137+
"ssl": -1,
138+
"wait": 536
139+
}
140+
},
141+
{
142+
"_id": "cccf4c996cc3de06862311bc57b0eb49",
143+
"_order": 0,
144+
"cache": {},
145+
"request": {
146+
"bodySize": 0,
147+
"cookies": [],
148+
"headers": [
149+
{
150+
"_fromType": "array",
151+
"name": "user-agent",
152+
"value": "datadog-api-client-typescript/1.0.0-beta.4+dev (node 16.3.0; os Darwin; arch x64)"
153+
},
154+
{
155+
"_fromType": "array",
156+
"name": "accept",
157+
"value": "application/json, */*;q=0.8"
158+
},
159+
{
160+
"_fromType": "array",
161+
"name": "x-datadog-parent-id",
162+
"value": "3089514925855613338"
163+
},
164+
{
165+
"_fromType": "array",
166+
"name": "x-datadog-trace-id",
167+
"value": "3089514925855613338"
168+
},
169+
{
170+
"_fromType": "array",
171+
"name": "connection",
172+
"value": "close"
173+
},
174+
{
175+
"name": "host",
176+
"value": "api.datadoghq.com"
177+
}
178+
],
179+
"headersSize": 524,
180+
"httpVersion": "HTTP/1.1",
181+
"method": "DELETE",
182+
"queryString": [],
183+
"url": "https://api.datadoghq.com/api/v1/integration/webhooks/configuration/custom-variables/TESTCREATEACUSTOMVARIABLERETURNSOKRESPONSE1628785711"
184+
},
185+
"response": {
186+
"bodySize": 2,
187+
"content": {
188+
"mimeType": "application/json",
189+
"size": 2,
190+
"text": "{}"
191+
},
192+
"cookies": [],
193+
"headers": [
194+
{
195+
"name": "date",
196+
"value": "Thu, 12 Aug 2021 16:28:33 GMT"
197+
},
198+
{
199+
"name": "content-type",
200+
"value": "application/json"
201+
},
202+
{
203+
"name": "content-length",
204+
"value": "2"
205+
},
206+
{
207+
"name": "connection",
208+
"value": "close"
209+
},
210+
{
211+
"name": "pragma",
212+
"value": "no-cache"
213+
},
214+
{
215+
"name": "cache-control",
216+
"value": "no-cache"
217+
},
218+
{
219+
"name": "x-content-type-options",
220+
"value": "nosniff"
221+
},
222+
{
223+
"name": "strict-transport-security",
224+
"value": "max-age=15724800;"
225+
},
226+
{
227+
"name": "content-security-policy",
228+
"value": "frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report"
229+
},
230+
{
231+
"name": "x-frame-options",
232+
"value": "SAMEORIGIN"
233+
}
234+
],
235+
"headersSize": 358,
236+
"httpVersion": "HTTP/1.1",
237+
"redirectURL": "",
238+
"status": 200,
239+
"statusText": "OK"
240+
},
241+
"startedDateTime": "2021-08-12T16:28:32.547Z",
242+
"time": 477,
243+
"timings": {
244+
"blocked": -1,
245+
"connect": -1,
246+
"dns": -1,
247+
"receive": 0,
248+
"send": 0,
249+
"ssl": -1,
250+
"wait": 477
251+
}
252+
}
253+
],
254+
"pages": [],
255+
"version": "1.2"
256+
}
257+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-08-12T16:28:33.051Z"

0 commit comments

Comments
 (0)