Skip to content

Commit 4718793

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit e29fa5e of spec repo (#756)
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>
1 parent f8e63fc commit 4718793

File tree

185 files changed

+56
-16530
lines changed

Some content is hidden

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

185 files changed

+56
-16530
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": "2022-01-03 13:20:02.788921",
8-
"spec_repo_commit": "63335df"
7+
"regenerated": "2022-01-03 15:42:01.243984",
8+
"spec_repo_commit": "e29fa5e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2022-01-03 13:20:03.271184",
13-
"spec_repo_commit": "63335df"
12+
"regenerated": "2022-01-03 15:42:01.688130",
13+
"spec_repo_commit": "e29fa5e"
1414
}
1515
}
1616
}

tests/v1/cassettes/test_scenarios/test_cancel_a_downtime_returns_downtime_not_found_response.yaml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,14 @@ interactions:
44
headers:
55
accept:
66
- 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-
- '1445885062133744428'
15-
x-datadog-trace-id:
16-
- '1844874165778158805'
177
method: DELETE
188
uri: https://api.datadoghq.com/api/v1/downtime/0
199
response:
2010
body:
2111
string: '{"errors": ["Downtime 0 not found"]}'
2212
headers:
23-
cache-control:
24-
- no-cache
25-
connection:
26-
- close
27-
content-length:
28-
- '36'
29-
content-security-policy:
30-
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
3113
content-type:
3214
- application/json
33-
date:
34-
- Fri, 01 Oct 2021 08:28:32 GMT
35-
pragma:
36-
- no-cache
37-
strict-transport-security:
38-
- max-age=15724800;
39-
vary:
40-
- Accept-Encoding
41-
x-content-type-options:
42-
- nosniff
43-
x-frame-options:
44-
- SAMEORIGIN
4515
status:
4616
code: 404
4717
message: Not Found

tests/v1/cassettes/test_scenarios/test_cancel_a_downtime_returns_ok_response.yaml

Lines changed: 2 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,16 @@ interactions:
44
headers:
55
accept:
66
- application/json, */*;q=0.8
7-
connection:
8-
- close
9-
content-length:
10-
- '280'
117
content-type:
128
- 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-
- '6798432715229597589'
19-
x-datadog-trace-id:
20-
- '3254877164213626730'
219
method: POST
2210
uri: https://api.datadoghq.com/api/v1/downtime
2311
response:
2412
body:
2513
string: '{"recurrence":{"until_date":1634891312,"until_occurrences":null,"week_days":["Mon","Tue","Wed","Thu","Fri"],"type":"weeks","period":1},"end":null,"monitor_tags":["*"],"child_id":null,"canceled":null,"monitor_id":null,"created":1633076912,"org_id":321813,"modified":1633076912,"disabled":false,"start":1633076912,"creator_id":1445416,"parent_id":null,"timezone":"Etc/UTC","active":true,"scope":["test:testcanceladowntimereturnsokresponse1633076912"],"message":"Test-Cancel_a_downtime_returns_OK_response-1633076912","downtime_type":2,"id":1477730799,"updater_id":null}'
2614
headers:
27-
cache-control:
28-
- no-cache
29-
connection:
30-
- close
31-
content-length:
32-
- '567'
33-
content-security-policy:
34-
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
3515
content-type:
3616
- application/json
37-
date:
38-
- Fri, 01 Oct 2021 08:28:32 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
4917
status:
5018
code: 200
5119
message: OK
@@ -54,40 +22,12 @@ interactions:
5422
headers:
5523
accept:
5624
- application/json, */*;q=0.8
57-
connection:
58-
- close
59-
host:
60-
- api.datadoghq.com
61-
user-agent:
62-
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
63-
x-datadog-parent-id:
64-
- '3855439996031747850'
65-
x-datadog-trace-id:
66-
- '3254877164213626730'
6725
method: DELETE
6826
uri: https://api.datadoghq.com/api/v1/downtime/1477730799
6927
response:
7028
body:
7129
string: ''
72-
headers:
73-
cache-control:
74-
- no-cache
75-
connection:
76-
- close
77-
content-length:
78-
- '0'
79-
content-security-policy:
80-
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
81-
date:
82-
- Fri, 01 Oct 2021 08:28:32 GMT
83-
pragma:
84-
- no-cache
85-
strict-transport-security:
86-
- max-age=15724800;
87-
x-content-type-options:
88-
- nosniff
89-
x-frame-options:
90-
- SAMEORIGIN
30+
headers: {}
9131
status:
9232
code: 204
9333
message: No Content
@@ -96,40 +36,12 @@ interactions:
9636
headers:
9737
accept:
9838
- application/json, */*;q=0.8
99-
connection:
100-
- close
101-
host:
102-
- api.datadoghq.com
103-
user-agent:
104-
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
105-
x-datadog-parent-id:
106-
- '5640439075759929205'
107-
x-datadog-trace-id:
108-
- '3254877164213626730'
10939
method: DELETE
11040
uri: https://api.datadoghq.com/api/v1/downtime/1477730799
11141
response:
11242
body:
11343
string: ''
114-
headers:
115-
cache-control:
116-
- no-cache
117-
connection:
118-
- close
119-
content-length:
120-
- '0'
121-
content-security-policy:
122-
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
123-
date:
124-
- Fri, 01 Oct 2021 08:28:32 GMT
125-
pragma:
126-
- no-cache
127-
strict-transport-security:
128-
- max-age=15724800;
129-
x-content-type-options:
130-
- nosniff
131-
x-frame-options:
132-
- SAMEORIGIN
44+
headers: {}
13345
status:
13446
code: 204
13547
message: No Content

tests/v1/cassettes/test_scenarios/test_cancel_downtimes_by_scope_returns_downtimes_not_found_response.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,16 @@ interactions:
44
headers:
55
accept:
66
- application/json, */*;q=0.8
7-
connection:
8-
- close
9-
content-length:
10-
- '93'
117
content-type:
128
- 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-
- '3703768329805907252'
19-
x-datadog-trace-id:
20-
- '1612844427823424916'
219
method: POST
2210
uri: https://api.datadoghq.com/api/v1/downtime/cancel/by_scope
2311
response:
2412
body:
2513
string: '{"errors": ["No downtimes found"]}'
2614
headers:
27-
cache-control:
28-
- no-cache
29-
connection:
30-
- close
31-
content-length:
32-
- '34'
33-
content-security-policy:
34-
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
3515
content-type:
3616
- application/json
37-
date:
38-
- Fri, 01 Oct 2021 08:28:32 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
4917
status:
5018
code: 404
5119
message: Not Found

tests/v1/cassettes/test_scenarios/test_cancel_downtimes_by_scope_returns_ok_response.yaml

Lines changed: 1 addition & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,16 @@ interactions:
44
headers:
55
accept:
66
- application/json, */*;q=0.8
7-
connection:
8-
- close
9-
content-length:
10-
- '295'
117
content-type:
128
- 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-
- '7145465784205354035'
19-
x-datadog-trace-id:
20-
- '8534524088267168304'
219
method: POST
2210
uri: https://api.datadoghq.com/api/v1/downtime
2311
response:
2412
body:
2513
string: '{"recurrence":{"until_date":1634891312,"until_occurrences":null,"week_days":["Mon","Tue","Wed","Thu","Fri"],"type":"weeks","period":1},"end":null,"monitor_tags":["*"],"child_id":null,"canceled":null,"monitor_id":null,"created":1633076912,"org_id":321813,"modified":1633076912,"disabled":false,"start":1633076912,"creator_id":1445416,"parent_id":null,"timezone":"Etc/UTC","active":true,"scope":["test:testcanceldowntimesbyscopereturnsokresponse1633076912"],"message":"Test-Cancel_downtimes_by_scope_returns_OK_response-1633076912","downtime_type":2,"id":1477730819,"updater_id":null}'
2614
headers:
27-
cache-control:
28-
- no-cache
29-
connection:
30-
- close
31-
content-length:
32-
- '582'
33-
content-security-policy:
34-
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
3515
content-type:
3616
- application/json
37-
date:
38-
- Fri, 01 Oct 2021 08:28:32 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
4917
status:
5018
code: 200
5119
message: OK
@@ -54,48 +22,16 @@ interactions:
5422
headers:
5523
accept:
5624
- application/json, */*;q=0.8
57-
connection:
58-
- close
59-
content-length:
60-
- '70'
6125
content-type:
6226
- application/json
63-
host:
64-
- api.datadoghq.com
65-
user-agent:
66-
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
67-
x-datadog-parent-id:
68-
- '3241458640574177767'
69-
x-datadog-trace-id:
70-
- '8534524088267168304'
7127
method: POST
7228
uri: https://api.datadoghq.com/api/v1/downtime/cancel/by_scope
7329
response:
7430
body:
7531
string: '{"cancelled_ids":[1477730819]}'
7632
headers:
77-
cache-control:
78-
- no-cache
79-
connection:
80-
- close
81-
content-length:
82-
- '30'
83-
content-security-policy:
84-
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
8533
content-type:
8634
- application/json
87-
date:
88-
- Fri, 01 Oct 2021 08:28:32 GMT
89-
pragma:
90-
- no-cache
91-
strict-transport-security:
92-
- max-age=15724800;
93-
vary:
94-
- Accept-Encoding
95-
x-content-type-options:
96-
- nosniff
97-
x-frame-options:
98-
- SAMEORIGIN
9935
status:
10036
code: 200
10137
message: OK
@@ -104,40 +40,12 @@ interactions:
10440
headers:
10541
accept:
10642
- application/json, */*;q=0.8
107-
connection:
108-
- close
109-
host:
110-
- api.datadoghq.com
111-
user-agent:
112-
- datadog-api-client-typescript/1.0.0-beta.5 (node 14.18.0; os Linux; arch x64)
113-
x-datadog-parent-id:
114-
- '7371255467682204417'
115-
x-datadog-trace-id:
116-
- '8534524088267168304'
11743
method: DELETE
11844
uri: https://api.datadoghq.com/api/v1/downtime/1477730819
11945
response:
12046
body:
12147
string: ''
122-
headers:
123-
cache-control:
124-
- no-cache
125-
connection:
126-
- close
127-
content-length:
128-
- '0'
129-
content-security-policy:
130-
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report
131-
date:
132-
- Fri, 01 Oct 2021 08:28:32 GMT
133-
pragma:
134-
- no-cache
135-
strict-transport-security:
136-
- max-age=15724800;
137-
x-content-type-options:
138-
- nosniff
139-
x-frame-options:
140-
- SAMEORIGIN
48+
headers: {}
14149
status:
14250
code: 204
14351
message: No Content

0 commit comments

Comments
 (0)