Skip to content

Commit b9aeefc

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 0468fdc of spec repo (#768)
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 fcbe387 commit b9aeefc

File tree

414 files changed

+2573
-2733
lines changed

Some content is hidden

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

414 files changed

+2573
-2733
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-11 10:22:33.097478",
8-
"spec_repo_commit": "43a312f"
7+
"regenerated": "2022-01-11 14:01:16.198071",
8+
"spec_repo_commit": "0468fdc"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2022-01-11 10:22:33.560914",
13-
"spec_repo_commit": "43a312f"
12+
"regenerated": "2022-01-11 14:01:16.600129",
13+
"spec_repo_commit": "0468fdc"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,13 +825,15 @@ components:
825825
description: The API key.
826826
readOnly: true
827827
type: string
828+
x-secret: true
828829
last4:
829830
description: The last four characters of the API key.
830831
example: abcd
831832
maxLength: 4
832833
minLength: 4
833834
readOnly: true
834835
type: string
836+
x-secret: true
835837
modified_at:
836838
description: Date the API key was last modified.
837839
example: '2020-11-23T10:00:00.000Z'
@@ -867,13 +869,15 @@ components:
867869
description: The application key.
868870
readOnly: true
869871
type: string
872+
x-secret: true
870873
last4:
871874
description: The last four characters of the application key.
872875
example: abcd
873876
maxLength: 4
874877
minLength: 4
875878
readOnly: true
876879
type: string
880+
x-secret: true
877881
name:
878882
description: Name of the application key.
879883
example: Application Key for managing dashboards
@@ -3534,6 +3538,7 @@ components:
35343538
minLength: 4
35353539
readOnly: true
35363540
type: string
3541+
x-secret: true
35373542
modified_at:
35383543
description: Date the API key was last modified.
35393544
example: '2020-11-23T10:00:00.000Z'
@@ -3572,6 +3577,7 @@ components:
35723577
minLength: 4
35733578
readOnly: true
35743579
type: string
3580+
x-secret: true
35753581
name:
35763582
description: Name of the application key.
35773583
example: Application Key for managing dashboards
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-10-01T08:28:32.161Z
1+
2022-01-10T14:56:16.047Z

tests/v1/cassettes/test_scenarios/test_cancel_a_downtime_returns_downtime_not_found_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ interactions:
33
body: null
44
headers:
55
accept:
6-
- application/json, */*;q=0.8
6+
- application/json
77
method: DELETE
88
uri: https://api.datadoghq.com/api/v1/downtime/0
99
response:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-10-01T08:28:32.231Z
1+
2022-01-10T14:56:16.449Z

tests/v1/cassettes/test_scenarios/test_cancel_a_downtime_returns_ok_response.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
interactions:
22
- request:
3-
body: '{"message":"Test-Cancel_a_downtime_returns_OK_response-1633076912","recurrence":{"period":1,"type":"weeks","until_date":1634891312,"week_days":["Mon","Tue","Wed","Thu","Fri"]},"scope":["test:testcanceladowntimereturnsokresponse1633076912"],"start":1633076912,"timezone":"Etc/UTC"}'
3+
body: '{"message":"Test-Cancel_a_downtime_returns_OK_response-1641826576","recurrence":{"period":1,"type":"weeks","until_date":1643640976,"week_days":["Mon","Tue","Wed","Thu","Fri"]},"scope":["test:testcanceladowntimereturnsokresponse1641826576"],"start":1641826576,"timezone":"Etc/UTC"}'
44
headers:
55
accept:
6-
- application/json, */*;q=0.8
6+
- application/json
77
content-type:
88
- application/json
99
method: POST
1010
uri: https://api.datadoghq.com/api/v1/downtime
1111
response:
1212
body:
13-
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}'
13+
string: '{"recurrence":{"until_date":1643640976,"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":1641826576,"org_id":321813,"modified":1641826576,"disabled":false,"start":1641826576,"creator_id":1445416,"parent_id":null,"timezone":"Etc/UTC","active":true,"scope":["test:testcanceladowntimereturnsokresponse1641826576"],"message":"Test-Cancel_a_downtime_returns_OK_response-1641826576","downtime_type":2,"id":1672708956,"updater_id":null}'
1414
headers:
1515
content-type:
1616
- application/json
@@ -21,9 +21,9 @@ interactions:
2121
body: null
2222
headers:
2323
accept:
24-
- application/json, */*;q=0.8
24+
- application/json
2525
method: DELETE
26-
uri: https://api.datadoghq.com/api/v1/downtime/1477730799
26+
uri: https://api.datadoghq.com/api/v1/downtime/1672708956
2727
response:
2828
body:
2929
string: ''
@@ -35,9 +35,9 @@ interactions:
3535
body: null
3636
headers:
3737
accept:
38-
- application/json, */*;q=0.8
38+
- application/json
3939
method: DELETE
40-
uri: https://api.datadoghq.com/api/v1/downtime/1477730799
40+
uri: https://api.datadoghq.com/api/v1/downtime/1672708956
4141
response:
4242
body:
4343
string: ''
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-10-01T08:28:32.435Z
1+
2022-01-06T00:50:45.924Z

tests/v1/cassettes/test_scenarios/test_cancel_downtimes_by_scope_returns_downtimes_not_found_response.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
interactions:
22
- request:
3-
body: '{"scope":"test:testcanceldowntimesbyscopereturnsdowntimesnotfoundresponse1633076912_invalid"}'
3+
body: '{"scope":"test:testcanceldowntimesbyscopereturnsdowntimesnotfoundresponse1641430245_invalid"}'
44
headers:
55
accept:
6-
- application/json, */*;q=0.8
6+
- application/json
77
content-type:
88
- application/json
99
method: POST
1010
uri: https://api.datadoghq.com/api/v1/downtime/cancel/by_scope
1111
response:
1212
body:
13-
string: '{"errors": ["No downtimes found"]}'
13+
string: '{"errors":["No downtimes found"]}'
1414
headers:
1515
content-type:
1616
- application/json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2021-10-01T08:28:32.523Z
1+
2022-01-10T15:50:09.916Z

tests/v1/cassettes/test_scenarios/test_cancel_downtimes_by_scope_returns_ok_response.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
interactions:
22
- request:
3-
body: '{"message":"Test-Cancel_downtimes_by_scope_returns_OK_response-1633076912","recurrence":{"period":1,"type":"weeks","until_date":1634891312,"week_days":["Mon","Tue","Wed","Thu","Fri"]},"scope":["test:testcanceldowntimesbyscopereturnsokresponse1633076912"],"start":1633076912,"timezone":"Etc/UTC"}'
3+
body: '{"message":"Test-Cancel_downtimes_by_scope_returns_OK_response-1641829809","recurrence":{"period":1,"type":"weeks","until_date":1643644209,"week_days":["Mon","Tue","Wed","Thu","Fri"]},"scope":["test:testcanceldowntimesbyscopereturnsokresponse1641829809"],"start":1641829809,"timezone":"Etc/UTC"}'
44
headers:
55
accept:
6-
- application/json, */*;q=0.8
6+
- application/json
77
content-type:
88
- application/json
99
method: POST
1010
uri: https://api.datadoghq.com/api/v1/downtime
1111
response:
1212
body:
13-
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}'
13+
string: '{"recurrence":{"until_date":1643644209,"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":1641829810,"org_id":321813,"modified":1641829810,"disabled":false,"start":1641829809,"creator_id":1445416,"parent_id":null,"timezone":"Etc/UTC","active":true,"scope":["test:testcanceldowntimesbyscopereturnsokresponse1641829809"],"message":"Test-Cancel_downtimes_by_scope_returns_OK_response-1641829809","downtime_type":2,"id":1672791217,"updater_id":null}'
1414
headers:
1515
content-type:
1616
- application/json
1717
status:
1818
code: 200
1919
message: OK
2020
- request:
21-
body: '{"scope":"test:testcanceldowntimesbyscopereturnsokresponse1633076912"}'
21+
body: '{"scope":"test:testcanceldowntimesbyscopereturnsokresponse1641829809"}'
2222
headers:
2323
accept:
24-
- application/json, */*;q=0.8
24+
- application/json
2525
content-type:
2626
- application/json
2727
method: POST
2828
uri: https://api.datadoghq.com/api/v1/downtime/cancel/by_scope
2929
response:
3030
body:
31-
string: '{"cancelled_ids":[1477730819]}'
31+
string: '{"cancelled_ids":[1672791217]}'
3232
headers:
3333
content-type:
3434
- application/json
@@ -39,9 +39,9 @@ interactions:
3939
body: null
4040
headers:
4141
accept:
42-
- application/json, */*;q=0.8
42+
- application/json
4343
method: DELETE
44-
uri: https://api.datadoghq.com/api/v1/downtime/1477730819
44+
uri: https://api.datadoghq.com/api/v1/downtime/1672791217
4545
response:
4646
body:
4747
string: ''

0 commit comments

Comments
 (0)