Skip to content

Commit 74249ce

Browse files
api-clients-generation-pipeline[bot]therveci.datadog-api-spec
authored
Notebooks Public API Documentation (#125)
* Add cassettes * Fix fixtures, re-record * Regenerate client from commit 62c8ffe 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 a00d666 commit 74249ce

File tree

62 files changed

+6123
-6
lines changed

Some content is hidden

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

62 files changed

+6123
-6
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.dev6",
7-
"regenerated": "2021-05-11 08:04:36.598375",
8-
"spec_repo_commit": "8d8238a"
7+
"regenerated": "2021-05-12 09:32:34.249694",
8+
"spec_repo_commit": "62c8ffe"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-05-11 08:04:42.272427",
13-
"spec_repo_commit": "8d8238a"
12+
"regenerated": "2021-05-12 09:32:40.169258",
13+
"spec_repo_commit": "62c8ffe"
1414
}
1515
}
1616
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-05-11T11:04:06.514Z"
Lines changed: 304 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,304 @@
1+
{
2+
"log": {
3+
"_recordingName": "Notebooks/Create a notebook returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "5.1.0"
8+
},
9+
"entries": [
10+
{
11+
"_id": "d113853189bd78636f47dbfc8e6b76c7",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 634,
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": "content-type",
31+
"value": "application/json"
32+
},
33+
{
34+
"_fromType": "array",
35+
"name": "x-datadog-parent-id",
36+
"value": "6582567840730947705"
37+
},
38+
{
39+
"_fromType": "array",
40+
"name": "x-datadog-trace-id",
41+
"value": "6582567840730947705"
42+
},
43+
{
44+
"_fromType": "array",
45+
"name": "content-length",
46+
"value": "634"
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": 470,
59+
"httpVersion": "HTTP/1.1",
60+
"method": "POST",
61+
"postData": {
62+
"mimeType": "application/json",
63+
"params": [],
64+
"text": "{\"data\":{\"attributes\":{\"cells\":[{\"attributes\":{\"definition\":{\"text\":\"## Some test markdown\\n\\n```js\\nvar x, y;\\nx = 5;\\ny = 6;\\n```\",\"type\":\"markdown\"}},\"type\":\"notebook_cells\"},{\"attributes\":{\"definition\":{\"requests\":[{\"display_type\":\"line\",\"q\":\"avg:system.load.1{*}\",\"style\":{\"line_type\":\"solid\",\"line_width\":\"normal\",\"palette\":\"dog_classic\"}}],\"show_legend\":true,\"type\":\"timeseries\",\"yaxis\":{\"scale\":\"linear\"}},\"graph_size\":\"m\",\"split_by\":{\"keys\":[],\"tags\":[]},\"time\":null},\"type\":\"notebook_cells\"}],\"name\":\"Test-Create_a_notebook_returns_OK_response-1620731046\",\"status\":\"published\",\"time\":{\"live_span\":\"1h\"}},\"type\":\"notebooks\"}}"
65+
},
66+
"queryString": [],
67+
"url": "https://api.datadoghq.com/api/v1/notebooks"
68+
},
69+
"response": {
70+
"bodySize": 1005,
71+
"content": {
72+
"mimeType": "application/json",
73+
"size": 1005,
74+
"text": "{\"data\":{\"type\":\"notebooks\",\"id\":774483,\"attributes\":{\"name\":\"Test-Create_a_notebook_returns_OK_response-1620731046\",\"cells\":[{\"attributes\":{\"definition\":{\"text\":\"## Some test markdown\\n\\n```js\\nvar x, y;\\nx = 5;\\ny = 6;\\n```\",\"type\":\"markdown\"}},\"type\":\"notebook_cells\",\"id\":\"zv49s0vw\"},{\"attributes\":{\"definition\":{\"requests\":[{\"q\":\"avg:system.load.1{*}\",\"style\":{\"line_width\":\"normal\",\"palette\":\"dog_classic\",\"line_type\":\"solid\"},\"display_type\":\"line\"}],\"type\":\"timeseries\",\"show_legend\":true,\"yaxis\":{\"scale\":\"linear\"}},\"graph_size\":\"m\",\"split_by\":{\"keys\":[],\"tags\":[]},\"time\":null},\"type\":\"notebook_cells\",\"id\":\"gd4i5b41\"}],\"time\":{\"live_span\":\"1h\"},\"status\":\"published\",\"modified\":\"2021-05-11T11:04:06.970473+00:00\",\"created\":\"2021-05-11T11:04:06.970473+00:00\",\"author\":{\"name\":null,\"handle\":\"[email protected]\",\"email\":\"[email protected]\",\"icon\":\"https://secure.gravatar.com/avatar/28a16dfe36e73b60c1d55872cb0f1172?s=48&d=retro\",\"title\":null,\"verified\":true,\"disabled\":false,\"status\":\"Active\"}}}}"
75+
},
76+
"cookies": [],
77+
"headers": [
78+
{
79+
"name": "date",
80+
"value": "Tue, 11 May 2021 11:04:06 GMT"
81+
},
82+
{
83+
"name": "content-type",
84+
"value": "application/json"
85+
},
86+
{
87+
"name": "content-length",
88+
"value": "1005"
89+
},
90+
{
91+
"name": "connection",
92+
"value": "close"
93+
},
94+
{
95+
"name": "vary",
96+
"value": "Accept-Encoding"
97+
},
98+
{
99+
"name": "pragma",
100+
"value": "no-cache"
101+
},
102+
{
103+
"name": "cache-control",
104+
"value": "no-cache"
105+
},
106+
{
107+
"name": "x-dd-version",
108+
"value": "35.4504344"
109+
},
110+
{
111+
"name": "x-ratelimit-limit",
112+
"value": "30"
113+
},
114+
{
115+
"name": "x-ratelimit-period",
116+
"value": "60"
117+
},
118+
{
119+
"name": "x-ratelimit-reset",
120+
"value": "54"
121+
},
122+
{
123+
"name": "x-ratelimit-remaining",
124+
"value": "29"
125+
},
126+
{
127+
"name": "x-dd-debug",
128+
"value": "25u1gDlL724DHllbjFT4BhOLorBTilh+aah2uWAUEjFC/+rjczJdiyWrV/HwLwe/"
129+
},
130+
{
131+
"name": "x-content-type-options",
132+
"value": "nosniff"
133+
},
134+
{
135+
"name": "strict-transport-security",
136+
"value": "max-age=15724800;"
137+
},
138+
{
139+
"name": "content-security-policy",
140+
"value": "frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report"
141+
},
142+
{
143+
"name": "x-frame-options",
144+
"value": "SAMEORIGIN"
145+
}
146+
],
147+
"headersSize": 585,
148+
"httpVersion": "HTTP/1.1",
149+
"redirectURL": "",
150+
"status": 200,
151+
"statusText": "OK"
152+
},
153+
"startedDateTime": "2021-05-11T11:04:06.537Z",
154+
"time": 516,
155+
"timings": {
156+
"blocked": -1,
157+
"connect": -1,
158+
"dns": -1,
159+
"receive": 0,
160+
"send": 0,
161+
"ssl": -1,
162+
"wait": 516
163+
}
164+
},
165+
{
166+
"_id": "46f5d08c0bd6a6f1c124113860c5697f",
167+
"_order": 0,
168+
"cache": {},
169+
"request": {
170+
"bodySize": 0,
171+
"cookies": [],
172+
"headers": [
173+
{
174+
"_fromType": "array",
175+
"name": "user-agent",
176+
"value": "datadog-api-client-typescript/0.1.0 (node 15.11.0; os Darwin; arch x64)"
177+
},
178+
{
179+
"_fromType": "array",
180+
"name": "accept",
181+
"value": "application/json, */*;q=0.8"
182+
},
183+
{
184+
"_fromType": "array",
185+
"name": "x-datadog-parent-id",
186+
"value": "6582567840730947705"
187+
},
188+
{
189+
"_fromType": "array",
190+
"name": "x-datadog-trace-id",
191+
"value": "6582567840730947705"
192+
},
193+
{
194+
"_fromType": "array",
195+
"name": "connection",
196+
"value": "close"
197+
},
198+
{
199+
"name": "host",
200+
"value": "api.datadoghq.com"
201+
}
202+
],
203+
"headersSize": 426,
204+
"httpVersion": "HTTP/1.1",
205+
"method": "DELETE",
206+
"queryString": [],
207+
"url": "https://api.datadoghq.com/api/v1/notebooks/774483"
208+
},
209+
"response": {
210+
"bodySize": 0,
211+
"content": {
212+
"mimeType": "application/json",
213+
"size": 0
214+
},
215+
"cookies": [],
216+
"headers": [
217+
{
218+
"name": "date",
219+
"value": "Tue, 11 May 2021 11:04:07 GMT"
220+
},
221+
{
222+
"name": "content-type",
223+
"value": "application/json"
224+
},
225+
{
226+
"name": "content-length",
227+
"value": "0"
228+
},
229+
{
230+
"name": "connection",
231+
"value": "close"
232+
},
233+
{
234+
"name": "pragma",
235+
"value": "no-cache"
236+
},
237+
{
238+
"name": "cache-control",
239+
"value": "no-cache"
240+
},
241+
{
242+
"name": "x-dd-version",
243+
"value": "35.4504344"
244+
},
245+
{
246+
"name": "x-ratelimit-limit",
247+
"value": "30"
248+
},
249+
{
250+
"name": "x-ratelimit-period",
251+
"value": "60"
252+
},
253+
{
254+
"name": "x-ratelimit-reset",
255+
"value": "53"
256+
},
257+
{
258+
"name": "x-ratelimit-remaining",
259+
"value": "29"
260+
},
261+
{
262+
"name": "x-dd-debug",
263+
"value": "SY1h8ScsWq+kYmtbh63ltMLFAZsQjqfrgvdfAoRX+9TzT1sgMBRYaFRwfWWRRe9a"
264+
},
265+
{
266+
"name": "x-content-type-options",
267+
"value": "nosniff"
268+
},
269+
{
270+
"name": "strict-transport-security",
271+
"value": "max-age=15724800;"
272+
},
273+
{
274+
"name": "content-security-policy",
275+
"value": "frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report"
276+
},
277+
{
278+
"name": "x-frame-options",
279+
"value": "SAMEORIGIN"
280+
}
281+
],
282+
"headersSize": 559,
283+
"httpVersion": "HTTP/1.1",
284+
"redirectURL": "",
285+
"status": 204,
286+
"statusText": "No Content"
287+
},
288+
"startedDateTime": "2021-05-11T11:04:07.067Z",
289+
"time": 434,
290+
"timings": {
291+
"blocked": -1,
292+
"connect": -1,
293+
"dns": -1,
294+
"receive": 0,
295+
"send": 0,
296+
"ssl": -1,
297+
"wait": 434
298+
}
299+
}
300+
],
301+
"pages": [],
302+
"version": "1.2"
303+
}
304+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2021-05-11T09:42:53.575Z"

0 commit comments

Comments
 (0)