Skip to content

Commit b81aba7

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Remove skip-python for oncall (#2528)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent c26bcc7 commit b81aba7

18 files changed

+110
-110
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-04-22 18:28:00.719806",
8-
"spec_repo_commit": "2b6fa951"
7+
"regenerated": "2025-04-24 04:43:28.722596",
8+
"spec_repo_commit": "ab6a0f8c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-22 18:28:00.750292",
13-
"spec_repo_commit": "2b6fa951"
12+
"regenerated": "2025-04-24 04:43:28.738196",
13+
"spec_repo_commit": "ab6a0f8c"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-16T06:00:30.540Z
1+
2025-04-24T02:49:21.008Z

tests/v2/cassettes/test_scenarios/test_create_on_call_escalation_policy_returns_created_response.yaml

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"layers":[{"effective_date":"2025-04-06T06:00:30.540Z","end_date":"2025-04-26T06:00:30.540Z","interval":{"days":1},"members":[{"user":{"id":"890f29d4-0b7a-11f0-aeb2-760fcae4f596"}}],"name":"Layer
4-
1","restrictions":[{"end_day":"friday","end_time":"17:00:00","start_day":"monday","start_time":"09:00:00"}],"rotation_start":"2025-04-11T06:00:30.540Z"}],"name":"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230","tags":["tag1","tag2"],"time_zone":"America/New_York"},"relationships":{"teams":{"data":[{"id":"65aea9d0-941c-4607-bf8a-14fc0dac2820","type":"teams"}]}},"type":"schedules"}}'
3+
body: '{"data":{"attributes":{"layers":[{"effective_date":"2025-04-14T02:49:21.008Z","end_date":"2025-05-04T02:49:21.008Z","interval":{"days":1},"members":[{"user":{"id":"890f29d4-0b7a-11f0-aeb2-760fcae4f596"}}],"name":"Layer
4+
1","restrictions":[{"end_day":"friday","end_time":"17:00:00","start_day":"monday","start_time":"09:00:00"}],"rotation_start":"2025-04-19T02:49:21.008Z"}],"name":"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961","tags":["tag1","tag2"],"time_zone":"America/New_York"},"relationships":{"teams":{"data":[{"id":"65aea9d0-941c-4607-bf8a-14fc0dac2820","type":"teams"}]}},"type":"schedules"}}'
55
headers:
66
accept:
77
- application/json
@@ -11,15 +11,15 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/on-call/schedules
1212
response:
1313
body:
14-
string: '{"data":{"id":"6feb25af-6f07-499e-8639-a520c93139d9","type":"schedules","attributes":{"name":"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230","tags":["tag1","tag2"],"time_zone":"America/New_York"},"relationships":{"layers":{"data":[{"id":"59d24cea-649d-4a4b-aa9e-7c8aa144f77f","type":"layers"}]},"teams":{"data":[{"id":"65aea9d0-941c-4607-bf8a-14fc0dac2820","type":"teams"}]}}}}'
14+
string: '{"data":{"id":"982c5000-f586-47ba-8a24-68cbfcb69dd8","type":"schedules","attributes":{"name":"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961","tags":["tag1","tag2"],"time_zone":"America/New_York"},"relationships":{"layers":{"data":[{"id":"e0120c74-ba79-45ce-a6ee-23805f0b427a","type":"layers"}]},"teams":{"data":[{"id":"65aea9d0-941c-4607-bf8a-14fc0dac2820","type":"teams"}]}}}}'
1515
headers:
1616
content-type:
1717
- application/vnd.api+json
1818
status:
1919
code: 201
2020
message: Created
2121
- request:
22-
body: '{"data":{"attributes":{"handle":"test-handle-40c59bb7ee43cf3b","name":"test-name-40c59bb7ee43cf3b"},"type":"team"}}'
22+
body: '{"data":{"attributes":{"handle":"test-handle-31c96645156f4753","name":"test-name-31c96645156f4753"},"type":"team"}}'
2323
headers:
2424
accept:
2525
- application/json
@@ -29,7 +29,7 @@ interactions:
2929
uri: https://api.datadoghq.com/api/v2/team
3030
response:
3131
body:
32-
string: '{"data":{"type":"team","id":"a46e2920-7cd2-4338-af2e-b6104f60d4ff","attributes":{"name":"test-name-40c59bb7ee43cf3b","handle":"test-handle-40c59bb7ee43cf3b","summary":null,"description":null,"avatar":null,"banner":8,"visible_modules":[],"hidden_modules":[],"created_at":"2025-04-16T06:00:31.920105+00:00","modified_at":"2025-04-16T06:00:31.920111+00:00","user_count":0,"link_count":0},"relationships":{"team_links":{"links":{"related":"/api/v2/team/a46e2920-7cd2-4338-af2e-b6104f60d4ff/links"}},"user_team_permissions":{"links":{"related":"/api/v2/team/a46e2920-7cd2-4338-af2e-b6104f60d4ff/permission-settings"}}}}}
32+
string: '{"data":{"type":"team","id":"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a","attributes":{"name":"test-name-31c96645156f4753","handle":"test-handle-31c96645156f4753","summary":null,"description":null,"avatar":null,"banner":9,"visible_modules":[],"hidden_modules":[],"created_at":"2025-04-24T02:49:22.446146+00:00","modified_at":"2025-04-24T02:49:22.446154+00:00","user_count":0,"link_count":0},"relationships":{"team_links":{"links":{"related":"/api/v2/team/1a2f4aba-af9a-4b7c-bfc1-27147b24f69a/links"}},"user_team_permissions":{"links":{"related":"/api/v2/team/1a2f4aba-af9a-4b7c-bfc1-27147b24f69a/permission-settings"}}}}}
3333
3434
'
3535
headers:
@@ -39,7 +39,7 @@ interactions:
3939
code: 201
4040
message: Created
4141
- request:
42-
body: '{"data":{"attributes":{"email":"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230@datadoghq.com","title":"user
42+
body: '{"data":{"attributes":{"email":"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961@datadoghq.com","title":"user
4343
title"},"type":"users"}}'
4444
headers:
4545
accept:
@@ -50,7 +50,7 @@ interactions:
5050
uri: https://api.datadoghq.com/api/v2/users
5151
response:
5252
body:
53-
string: '{"data":{"type":"users","id":"1b3eecd3-1a88-11f0-81f0-8e6d360bddb8","attributes":{"name":null,"handle":"test-create_on_call_escalation_policy_returns_created_response-1744783230@datadoghq.com","created_at":"2025-04-16T06:00:32.346882+00:00","modified_at":"2025-04-16T06:00:32.346882+00:00","email":"test-create_on_call_escalation_policy_returns_created_response-1744783230@datadoghq.com","icon":"https://secure.gravatar.com/avatar/cdc011c1fd3e799cca4a175bdbc7b466?s=48&d=retro","title":"user
53+
string: '{"data":{"type":"users","id":"ba36416f-20b6-11f0-80c3-2afe3706f727","attributes":{"name":null,"handle":"test-create_on_call_escalation_policy_returns_created_response-1745462961@datadoghq.com","created_at":"2025-04-24T02:49:22.874028+00:00","modified_at":"2025-04-24T02:49:22.874028+00:00","email":"test-create_on_call_escalation_policy_returns_created_response-1745462961@datadoghq.com","icon":"https://secure.gravatar.com/avatar/6a35b18888753aa49b46b0e245a5ce25?s=48&d=retro","title":"user
5454
title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}
5555
5656
'
@@ -61,7 +61,7 @@ interactions:
6161
code: 201
6262
message: Created
6363
- request:
64-
body: '{"data":{"attributes":{"description":"Escalation Policy 1 description","name":"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230","resolve_page_on_policy_end":true,"retries":2,"steps":[{"assignment":"default","escalate_after_seconds":3600,"targets":[{"id":"1b3eecd3-1a88-11f0-81f0-8e6d360bddb8","type":"users"},{"id":"6feb25af-6f07-499e-8639-a520c93139d9","type":"schedules"},{"id":"a46e2920-7cd2-4338-af2e-b6104f60d4ff","type":"teams"}]},{"assignment":"round-robin","escalate_after_seconds":3600,"targets":[{"id":"a46e2920-7cd2-4338-af2e-b6104f60d4ff","type":"teams"}]}]},"relationships":{"teams":{"data":[{"id":"a46e2920-7cd2-4338-af2e-b6104f60d4ff","type":"teams"}]}},"type":"policies"}}'
64+
body: '{"data":{"attributes":{"description":"Escalation Policy 1 description","name":"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961","resolve_page_on_policy_end":true,"retries":2,"steps":[{"assignment":"default","escalate_after_seconds":3600,"targets":[{"id":"ba36416f-20b6-11f0-80c3-2afe3706f727","type":"users"},{"id":"982c5000-f586-47ba-8a24-68cbfcb69dd8","type":"schedules"},{"id":"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a","type":"teams"}]},{"assignment":"round-robin","escalate_after_seconds":3600,"targets":[{"id":"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a","type":"teams"}]}]},"relationships":{"teams":{"data":[{"id":"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a","type":"teams"}]}},"type":"policies"}}'
6565
headers:
6666
accept:
6767
- application/json
@@ -71,8 +71,8 @@ interactions:
7171
uri: https://api.datadoghq.com/api/v2/on-call/escalation-policies
7272
response:
7373
body:
74-
string: '{"data":{"id":"95d3ffa0-2fba-475f-84ca-d3a39290f85d","type":"policies","attributes":{"description":"Escalation
75-
Policy 1 description","name":"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230","resolve_page_on_policy_end":true,"retries":2},"relationships":{"steps":{"data":[{"id":"d6f2329f-a797-4eb8-a21a-d5285e853e43","type":"steps"},{"id":"88120ee6-e12b-497f-aab6-37b929002d59","type":"steps"}]},"teams":{"data":[]}}}}'
74+
string: '{"data":{"id":"027666b2-8fa2-47a5-a9c6-9a7bed58f140","type":"policies","attributes":{"description":"Escalation
75+
Policy 1 description","name":"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961","resolve_page_on_policy_end":true,"retries":2},"relationships":{"steps":{"data":[{"id":"9d860392-4d2e-48d1-a5b4-09539bf5df12","type":"steps"},{"id":"75e94267-7fa6-4790-a81f-a6633f2e9c6e","type":"steps"}]},"teams":{"data":[{"id":"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a","type":"teams"}]}}}}'
7676
headers:
7777
content-type:
7878
- application/vnd.api+json
@@ -85,7 +85,7 @@ interactions:
8585
accept:
8686
- '*/*'
8787
method: DELETE
88-
uri: https://api.datadoghq.com/api/v2/on-call/escalation-policies/95d3ffa0-2fba-475f-84ca-d3a39290f85d
88+
uri: https://api.datadoghq.com/api/v2/on-call/escalation-policies/027666b2-8fa2-47a5-a9c6-9a7bed58f140
8989
response:
9090
body:
9191
string: ''
@@ -99,7 +99,7 @@ interactions:
9999
accept:
100100
- '*/*'
101101
method: DELETE
102-
uri: https://api.datadoghq.com/api/v2/users/1b3eecd3-1a88-11f0-81f0-8e6d360bddb8
102+
uri: https://api.datadoghq.com/api/v2/users/ba36416f-20b6-11f0-80c3-2afe3706f727
103103
response:
104104
body:
105105
string: ''
@@ -113,7 +113,7 @@ interactions:
113113
accept:
114114
- '*/*'
115115
method: DELETE
116-
uri: https://api.datadoghq.com/api/v2/team/a46e2920-7cd2-4338-af2e-b6104f60d4ff
116+
uri: https://api.datadoghq.com/api/v2/team/1a2f4aba-af9a-4b7c-bfc1-27147b24f69a
117117
response:
118118
body:
119119
string: ''
@@ -127,7 +127,7 @@ interactions:
127127
accept:
128128
- '*/*'
129129
method: DELETE
130-
uri: https://api.datadoghq.com/api/v2/on-call/schedules/6feb25af-6f07-499e-8639-a520c93139d9
130+
uri: https://api.datadoghq.com/api/v2/on-call/schedules/982c5000-f586-47ba-8a24-68cbfcb69dd8
131131
response:
132132
body:
133133
string: ''
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-16T06:00:36.600Z
1+
2025-04-24T02:49:27.251Z

tests/v2/cassettes/test_scenarios/test_create_oncall_schedule_returns_created_response.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"email":"Test-Create_on_call_schedule_returns_Created_response-1744783236@datadoghq.com","title":"user
3+
body: '{"data":{"attributes":{"email":"Test-Create_on_call_schedule_returns_Created_response-1745462967@datadoghq.com","title":"user
44
title"},"type":"users"}}'
55
headers:
66
accept:
@@ -11,7 +11,7 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/users
1212
response:
1313
body:
14-
string: '{"data":{"type":"users","id":"1e3c9def-1a88-11f0-9652-d6bc07db26a7","attributes":{"name":null,"handle":"test-create_on_call_schedule_returns_created_response-1744783236@datadoghq.com","created_at":"2025-04-16T06:00:37.364925+00:00","modified_at":"2025-04-16T06:00:37.364925+00:00","email":"test-create_on_call_schedule_returns_created_response-1744783236@datadoghq.com","icon":"https://secure.gravatar.com/avatar/549c982027f39726928c2daf578cd7a3?s=48&d=retro","title":"user
14+
string: '{"data":{"type":"users","id":"bd4b5c17-20b6-11f0-9b89-56a869ed3f0e","attributes":{"name":null,"handle":"test-create_on_call_schedule_returns_created_response-1745462967@datadoghq.com","created_at":"2025-04-24T02:49:28.045501+00:00","modified_at":"2025-04-24T02:49:28.045501+00:00","email":"test-create_on_call_schedule_returns_created_response-1745462967@datadoghq.com","icon":"https://secure.gravatar.com/avatar/774508323ca0432fa93ee1fdf7111c87?s=48&d=retro","title":"user
1515
title","verified":false,"service_account":false,"disabled":false,"allowed_login_methods":[],"status":"Pending"},"relationships":{"roles":{"data":[]},"org":{"data":{"type":"orgs","id":"4dee724d-00cc-11ea-a77b-570c9d03c6c5"}}}}}
1616
1717
'
@@ -22,7 +22,7 @@ interactions:
2222
code: 201
2323
message: Created
2424
- request:
25-
body: '{"data":{"attributes":{"handle":"test-handle-fffd709aba6bf7b6","name":"test-name-fffd709aba6bf7b6"},"type":"team"}}'
25+
body: '{"data":{"attributes":{"handle":"test-handle-3bb36357ae7d207e","name":"test-name-3bb36357ae7d207e"},"type":"team"}}'
2626
headers:
2727
accept:
2828
- application/json
@@ -32,7 +32,7 @@ interactions:
3232
uri: https://api.datadoghq.com/api/v2/team
3333
response:
3434
body:
35-
string: '{"data":{"type":"team","id":"bd265b58-a132-468b-b972-f8d35af45c94","attributes":{"name":"test-name-fffd709aba6bf7b6","handle":"test-handle-fffd709aba6bf7b6","summary":null,"description":null,"avatar":null,"banner":0,"visible_modules":[],"hidden_modules":[],"created_at":"2025-04-16T06:00:38.271363+00:00","modified_at":"2025-04-16T06:00:38.271369+00:00","user_count":0,"link_count":0},"relationships":{"team_links":{"links":{"related":"/api/v2/team/bd265b58-a132-468b-b972-f8d35af45c94/links"}},"user_team_permissions":{"links":{"related":"/api/v2/team/bd265b58-a132-468b-b972-f8d35af45c94/permission-settings"}}}}}
35+
string: '{"data":{"type":"team","id":"04f134fc-d975-4111-825d-5447611962c3","attributes":{"name":"test-name-3bb36357ae7d207e","handle":"test-handle-3bb36357ae7d207e","summary":null,"description":null,"avatar":null,"banner":0,"visible_modules":[],"hidden_modules":[],"created_at":"2025-04-24T02:49:28.946742+00:00","modified_at":"2025-04-24T02:49:28.946751+00:00","user_count":0,"link_count":0},"relationships":{"team_links":{"links":{"related":"/api/v2/team/04f134fc-d975-4111-825d-5447611962c3/links"}},"user_team_permissions":{"links":{"related":"/api/v2/team/04f134fc-d975-4111-825d-5447611962c3/permission-settings"}}}}}
3636
3737
'
3838
headers:
@@ -42,8 +42,8 @@ interactions:
4242
code: 201
4343
message: Created
4444
- request:
45-
body: '{"data":{"attributes":{"layers":[{"effective_date":"2025-04-06T06:00:36.600Z","end_date":"2025-04-26T06:00:36.600Z","interval":{"days":1},"members":[{"user":{"id":"1e3c9def-1a88-11f0-9652-d6bc07db26a7"}}],"name":"Layer
46-
1","restrictions":[{"end_day":"friday","end_time":"17:00:00","start_day":"monday","start_time":"09:00:00"}],"rotation_start":"2025-04-11T06:00:36.600Z"}],"name":"Test-Create_on_call_schedule_returns_Created_response-1744783236","tags":["tag1","tag2"],"time_zone":"America/New_York"},"relationships":{"teams":{"data":[{"id":"bd265b58-a132-468b-b972-f8d35af45c94","type":"teams"}]}},"type":"schedules"}}'
45+
body: '{"data":{"attributes":{"layers":[{"effective_date":"2025-04-14T02:49:27.251Z","end_date":"2025-05-04T02:49:27.251Z","interval":{"days":1},"members":[{"user":{"id":"bd4b5c17-20b6-11f0-9b89-56a869ed3f0e"}}],"name":"Layer
46+
1","restrictions":[{"end_day":"friday","end_time":"17:00:00","start_day":"monday","start_time":"09:00:00"}],"rotation_start":"2025-04-19T02:49:27.251Z"}],"name":"Test-Create_on_call_schedule_returns_Created_response-1745462967","tags":["tag1","tag2"],"time_zone":"America/New_York"},"relationships":{"teams":{"data":[{"id":"04f134fc-d975-4111-825d-5447611962c3","type":"teams"}]}},"type":"schedules"}}'
4747
headers:
4848
accept:
4949
- application/json
@@ -53,7 +53,7 @@ interactions:
5353
uri: https://api.datadoghq.com/api/v2/on-call/schedules
5454
response:
5555
body:
56-
string: '{"data":{"id":"fc047920-3b71-40a5-b601-f53b5f9c93ec","type":"schedules","attributes":{"name":"Test-Create_on_call_schedule_returns_Created_response-1744783236","tags":["tag1","tag2"],"time_zone":"America/New_York"},"relationships":{"layers":{"data":[{"id":"8ed3b446-7e0b-4813-96d6-0bec0fedb71f","type":"layers"}]},"teams":{"data":[{"id":"bd265b58-a132-468b-b972-f8d35af45c94","type":"teams"}]}}}}'
56+
string: '{"data":{"id":"123b1c19-c34b-45b6-9c33-41f9e4dda1dd","type":"schedules","attributes":{"name":"Test-Create_on_call_schedule_returns_Created_response-1745462967","tags":["tag1","tag2"],"time_zone":"America/New_York"},"relationships":{"layers":{"data":[{"id":"ed1f2d1b-726e-4a53-b54e-1c6bf2b5901e","type":"layers"}]},"teams":{"data":[{"id":"04f134fc-d975-4111-825d-5447611962c3","type":"teams"}]}}}}'
5757
headers:
5858
content-type:
5959
- application/vnd.api+json
@@ -66,7 +66,7 @@ interactions:
6666
accept:
6767
- '*/*'
6868
method: DELETE
69-
uri: https://api.datadoghq.com/api/v2/on-call/schedules/fc047920-3b71-40a5-b601-f53b5f9c93ec
69+
uri: https://api.datadoghq.com/api/v2/on-call/schedules/123b1c19-c34b-45b6-9c33-41f9e4dda1dd
7070
response:
7171
body:
7272
string: ''
@@ -80,7 +80,7 @@ interactions:
8080
accept:
8181
- '*/*'
8282
method: DELETE
83-
uri: https://api.datadoghq.com/api/v2/team/bd265b58-a132-468b-b972-f8d35af45c94
83+
uri: https://api.datadoghq.com/api/v2/team/04f134fc-d975-4111-825d-5447611962c3
8484
response:
8585
body:
8686
string: ''
@@ -94,7 +94,7 @@ interactions:
9494
accept:
9595
- '*/*'
9696
method: DELETE
97-
uri: https://api.datadoghq.com/api/v2/users/1e3c9def-1a88-11f0-9652-d6bc07db26a7
97+
uri: https://api.datadoghq.com/api/v2/users/bd4b5c17-20b6-11f0-9b89-56a869ed3f0e
9898
response:
9999
body:
100100
string: ''
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-16T06:00:41.575Z
1+
2025-04-24T02:49:32.262Z

0 commit comments

Comments
 (0)