diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 05ce562f5e20..bc03f526753a 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -11377,6 +11377,76 @@ components: required: - type type: object + ConfiguredSchedule: + description: Full resource representation of a configured schedule target with + position (previous, current, or next). + properties: + attributes: + $ref: '#/components/schemas/ConfiguredScheduleTargetAttributes' + id: + description: Specifies the unique identifier of the configured schedule + target. + example: 00000000-aba1-0000-0000-000000000000_previous + type: string + relationships: + $ref: '#/components/schemas/ConfiguredScheduleTargetRelationships' + type: + $ref: '#/components/schemas/ConfiguredScheduleTargetType' + required: + - type + - id + - attributes + - relationships + type: object + ConfiguredScheduleTarget: + description: Relationship reference to a configured schedule target. + properties: + id: + description: Specifies the unique identifier of the configured schedule + target. + example: 00000000-aba1-0000-0000-000000000000_previous + type: string + type: + $ref: '#/components/schemas/ConfiguredScheduleTargetType' + required: + - type + - id + type: object + ConfiguredScheduleTargetAttributes: + description: Attributes for a configured schedule target, including position. + example: + position: previous + properties: + position: + $ref: '#/components/schemas/ScheduleTargetPosition' + required: + - position + type: object + ConfiguredScheduleTargetRelationships: + description: Represents the relationships of a configured schedule target. + properties: + schedule: + $ref: '#/components/schemas/ConfiguredScheduleTargetRelationshipsSchedule' + required: + - schedule + type: object + ConfiguredScheduleTargetRelationshipsSchedule: + description: Holds the schedule reference for a configured schedule target. + properties: + data: + $ref: '#/components/schemas/ScheduleTarget' + required: + - data + type: object + ConfiguredScheduleTargetType: + default: schedule_target + description: Indicates that the resource is of type `schedule_target`. + enum: + - schedule_target + example: schedule_target + type: string + x-enum-varnames: + - SCHEDULE_TARGET ConfluentAccountCreateRequest: description: Payload schema when adding a Confluent account. properties: @@ -19260,6 +19330,8 @@ components: type: users - id: 00000000-aba2-0000-0000-000000000000 type: schedules + - id: 00000000-aba2-0000-0000-000000000000_previous + type: schedule_target - id: 00000000-aba3-0000-0000-000000000000 type: teams type: steps @@ -19267,6 +19339,15 @@ components: type: users - id: 00000000-aba2-0000-0000-000000000000 type: schedules + - attributes: + position: previous + id: 00000000-aba2-0000-0000-000000000000_previous + relationships: + schedule: + data: + id: 00000000-aba2-0000-0000-000000000000 + type: schedules + type: schedule_target - id: 00000000-aba3-0000-0000-000000000000 type: teams properties: @@ -19294,7 +19375,10 @@ components: targets: - id: 00000000-aba1-0000-0000-000000000000 type: users - - id: 00000000-aba2-0000-0000-000000000000 + - config: + schedule: + position: previous + id: 00000000-aba2-0000-0000-000000000000 type: schedules - id: 00000000-aba3-0000-0000-000000000000 type: teams @@ -19338,6 +19422,7 @@ components: name: description: Specifies the name for the new escalation policy. example: On-Call Escalation Policy + minLength: 1 type: string resolve_page_on_policy_end: description: Indicates whether the page is automatically resolved when the @@ -19347,12 +19432,16 @@ components: description: Specifies how many times the escalation sequence is retried if there is no response. format: int64 + maximum: 10 + minimum: 0 type: integer steps: description: A list of escalation steps, each defining assignment, escalation timeout, and targets for the new policy. items: $ref: '#/components/schemas/EscalationPolicyCreateRequestDataAttributesStepsItems' + maxItems: 10 + minItems: 1 type: array required: - name @@ -19369,6 +19458,8 @@ components: step. example: 3600 format: int64 + maximum: 36000 + minimum: 60 type: integer targets: description: Specifies the collection of escalation targets for this step. @@ -19420,6 +19511,7 @@ components: name: description: Specifies the name of the escalation policy. example: On-Call Escalation Policy + minLength: 1 type: string resolve_page_on_policy_end: description: Indicates whether the page is automatically resolved when the @@ -19429,6 +19521,8 @@ components: description: Specifies how many times the escalation sequence is retried if there is no response. format: int64 + maximum: 10 + minimum: 0 type: integer required: - name @@ -19491,10 +19585,11 @@ components: description: Represents included related resources when retrieving an escalation policy, such as teams, steps, or targets. oneOf: - - $ref: '#/components/schemas/TeamReference' - $ref: '#/components/schemas/EscalationPolicyStep' - $ref: '#/components/schemas/EscalationPolicyUser' - $ref: '#/components/schemas/ScheduleData' + - $ref: '#/components/schemas/ConfiguredSchedule' + - $ref: '#/components/schemas/TeamReference' EscalationPolicyStep: description: Represents a single step in an escalation policy, including its attributes, relationships, and resource type. @@ -19542,8 +19637,10 @@ components: type: object EscalationPolicyStepTarget: description: Defines a single escalation target within a step for an escalation - policy creation request. Contains `id` and `type`. + policy creation request. Contains `id`, `type`, and optional `config`. properties: + config: + $ref: '#/components/schemas/EscalationPolicyStepTargetConfig' id: description: Specifies the unique identifier for this target. example: 00000000-aba1-0000-0000-000000000000 @@ -19551,6 +19648,18 @@ components: type: $ref: '#/components/schemas/EscalationPolicyStepTargetType' type: object + EscalationPolicyStepTargetConfig: + description: Configuration for an escalation target, such as schedule position. + properties: + schedule: + $ref: '#/components/schemas/EscalationPolicyStepTargetConfigSchedule' + type: object + EscalationPolicyStepTargetConfigSchedule: + description: Schedule-specific configuration for an escalation target. + properties: + position: + $ref: '#/components/schemas/ScheduleTargetPosition' + type: object EscalationPolicyStepTargetType: description: Specifies the type of escalation target (example `users`, `schedules`, or `teams`). @@ -19631,6 +19740,7 @@ components: name: description: Specifies the name of the escalation policy. example: On-Call Escalation Policy + minLength: 1 type: string resolve_page_on_policy_end: description: Indicates whether the page is automatically resolved when the @@ -19640,12 +19750,16 @@ components: description: Specifies how many times the escalation sequence is retried if there is no response. format: int64 + maximum: 10 + minimum: 0 type: integer steps: description: A list of escalation steps, each defining assignment, escalation timeout, and targets. items: $ref: '#/components/schemas/EscalationPolicyUpdateRequestDataAttributesStepsItems' + maxItems: 10 + minItems: 1 type: array required: - name @@ -19663,6 +19777,8 @@ components: step. example: 3600 format: int64 + maximum: 36000 + minimum: 60 type: integer id: description: Specifies the unique identifier of this step. @@ -19771,12 +19887,13 @@ components: x-enum-varnames: - USERS EscalationTarget: - description: Represents an escalation target, which can be a team, user, or - schedule. + description: Represents an escalation target, which can be a team, user, schedule, + or configured schedule target. oneOf: - $ref: '#/components/schemas/TeamTarget' - $ref: '#/components/schemas/UserTarget' - $ref: '#/components/schemas/ScheduleTarget' + - $ref: '#/components/schemas/ConfiguredScheduleTarget' EscalationTargets: description: A list of escalation targets for a step properties: @@ -45636,7 +45753,8 @@ components: type: object ScheduleTarget: description: Represents a schedule target for an escalation policy step, including - its ID and resource type. + its ID and resource type. This is a shortcut for a configured schedule target + with position set to 'current'. properties: id: description: Specifies the unique identifier of the schedule resource. @@ -45648,6 +45766,19 @@ components: - type - id type: object + ScheduleTargetPosition: + description: Specifies the position of a schedule target (example `previous`, + `current`, or `next`). + enum: + - previous + - current + - next + example: previous + type: string + x-enum-varnames: + - PREVIOUS + - CURRENT + - NEXT ScheduleTargetType: default: schedules description: Indicates that the resource is of type `schedules`. diff --git a/cassettes/v2/On-Call_446749911/Create-On-Call-escalation-policy-returns-Created-response_2599534942/frozen.json b/cassettes/v2/On-Call_446749911/Create-On-Call-escalation-policy-returns-Created-response_2599534942/frozen.json index d2c683ec6c7c..a70332231f61 100644 --- a/cassettes/v2/On-Call_446749911/Create-On-Call-escalation-policy-returns-Created-response_2599534942/frozen.json +++ b/cassettes/v2/On-Call_446749911/Create-On-Call-escalation-policy-returns-Created-response_2599534942/frozen.json @@ -1 +1 @@ -"2025-05-29T04:53:30.847Z" +"2025-11-28T12:58:56.434Z" diff --git a/cassettes/v2/On-Call_446749911/Create-On-Call-escalation-policy-returns-Created-response_2599534942/recording.har b/cassettes/v2/On-Call_446749911/Create-On-Call-escalation-policy-returns-Created-response_2599534942/recording.har index 962a95272f2c..0307813c835d 100644 --- a/cassettes/v2/On-Call_446749911/Create-On-Call-escalation-policy-returns-Created-response_2599534942/recording.har +++ b/cassettes/v2/On-Call_446749911/Create-On-Call-escalation-policy-returns-Created-response_2599534942/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "c8e2a80f86f5a1f5d3066ae4cc88d177", + "_id": "70cce4e1d82fe64a1577d4b93d9b1b65", "_order": 0, "cache": {}, "request": { @@ -26,23 +26,23 @@ "value": "application/json" } ], - "headersSize": 550, + "headersSize": 549, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1748494410@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 719, + "bodySize": 742, "content": { "mimeType": "application/json", - "size": 719, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"de86b01f-3c48-11f0-927d-aedf77869272\",\"attributes\":{\"name\":null,\"handle\":\"test-create_on_call_escalation_policy_returns_created_response-1748494410@datadoghq.com\",\"created_at\":\"2025-05-29T04:53:31.716641+00:00\",\"modified_at\":\"2025-05-29T04:53:31.716641+00:00\",\"email\":\"test-create_on_call_escalation_policy_returns_created_response-1748494410@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/bd817280fe52b9652bd2877bf9041f78?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 742, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"005f5c53-cc5a-11f0-84fc-d6e063989c3f\",\"attributes\":{\"name\":null,\"handle\":\"test-create_on_call_escalation_policy_returns_created_response-1764334736@datadoghq.com\",\"created_at\":\"2025-11-28T12:58:57.385841+00:00\",\"modified_at\":\"2025-11-28T12:58:57.385841+00:00\",\"email\":\"test-create_on_call_escalation_policy_returns_created_response-1764334736@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/990f6066d8c3647475a637255f95cc7f?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/json" } ], - "headersSize": 681, + "headersSize": 680, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:30.851Z", - "time": 952 + "startedDateTime": "2025-11-28T12:58:57.079Z", + "time": 379 }, { - "_id": "f2f49a8d5bce77b13bdeb727ba9817e5", + "_id": "1882ee498e62df3f0c86d677e35aaee6", "_order": 0, "cache": {}, "request": { @@ -79,13 +79,13 @@ "value": "application/json" } ], - "headersSize": 572, + "headersSize": 571, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:53:30.847Z\",\"end_date\":\"2025-06-08T04:53:30.847Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"de86b01f-3c48-11f0-927d-aedf77869272\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:53:30.847Z\"}],\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1748494410\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-18T12:58:56.434Z\",\"end_date\":\"2025-12-08T12:58:56.434Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"005f5c53-cc5a-11f0-84fc-d6e063989c3f\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-23T12:58:56.434Z\"}],\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 382, - "text": "{\"data\":{\"id\":\"2e70ff45-cb63-4609-900b-cc9fe95e063b\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1748494410\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"f1949bc4-1f01-4081-8002-d6029ace0bc9\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"928407db-da13-4516-bd6a-3b92e3095b56\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:31.820Z", - "time": 615 + "startedDateTime": "2025-11-28T12:58:57.464Z", + "time": 296 }, { - "_id": "6813dede55f360ba3436b2be356874e5", + "_id": "907c258008f932ba1d0fe52c3fe08e5a", "_order": 0, "cache": {}, "request": { @@ -132,46 +132,46 @@ "value": "application/json" } ], - "headersSize": 549, + "headersSize": 548, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-cfbc9f18713005c6\",\"name\":\"test-name-cfbc9f18713005c6\"},\"type\":\"team\"}}" + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-24ceda96b794cbdd\",\"name\":\"test-name-24ceda96b794cbdd\"},\"type\":\"team\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/team" }, "response": { - "bodySize": 636, + "bodySize": 660, "content": { - "mimeType": "application/json", - "size": 636, - "text": "{\"data\":{\"type\":\"team\",\"id\":\"fa4d082c-6733-4bd0-9083-f7bf2f8d4259\",\"attributes\":{\"name\":\"test-name-cfbc9f18713005c6\",\"handle\":\"test-handle-cfbc9f18713005c6\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":14,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-05-29T04:53:32.646359+00:00\",\"modified_at\":\"2025-05-29T04:53:32.646369+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/fa4d082c-6733-4bd0-9083-f7bf2f8d4259/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/fa4d082c-6733-4bd0-9083-f7bf2f8d4259/permission-settings\"}}}}}\n" + "mimeType": "application/vnd.api+json", + "size": 660, + "text": "{\"data\":{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":1,\"created_at\":\"2025-11-28T12:58:58.058854+00:00\",\"description\":null,\"handle\":\"test-handle-24ceda96b794cbdd\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-28T12:58:58.058854+00:00\",\"name\":\"test-name-24ceda96b794cbdd\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/e5057194-b5fd-4ff5-b9d3-6977d8bbd774/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/e5057194-b5fd-4ff5-b9d3-6977d8bbd774/permission-settings\"}}}}}" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json" + "value": "application/vnd.api+json" } ], - "headersSize": 685, + "headersSize": 699, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:32.451Z", - "time": 367 + "startedDateTime": "2025-11-28T12:58:57.765Z", + "time": 369 }, { - "_id": "31d93675205a986961efcb9d9aeb5db6", + "_id": "aafff35463a04e08cc6165d99d83ff8c", "_order": 0, "cache": {}, "request": { - "bodySize": 666, + "bodySize": 777, "cookies": [], "headers": [ { @@ -185,13 +185,13 @@ "value": "application/json" } ], - "headersSize": 612, + "headersSize": 611, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1748494410\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"de86b01f-3c48-11f0-927d-aedf77869272\",\"type\":\"users\"},{\"id\":\"2e70ff45-cb63-4609-900b-cc9fe95e063b\",\"type\":\"schedules\"},{\"id\":\"fa4d082c-6733-4bd0-9083-f7bf2f8d4259\",\"type\":\"teams\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"fa4d082c-6733-4bd0-9083-f7bf2f8d4259\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"fa4d082c-6733-4bd0-9083-f7bf2f8d4259\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" + "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"005f5c53-cc5a-11f0-84fc-d6e063989c3f\",\"type\":\"users\"},{\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11\",\"type\":\"schedules\"},{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" }, "queryString": [ { @@ -202,11 +202,11 @@ "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies?include=steps.targets" }, "response": { - "bodySize": 1814, + "bodySize": 2114, "content": { "mimeType": "application/vnd.api+json", - "size": 1814, - "text": "{\"data\":{\"id\":\"cf3a523c-3ca3-4ac4-aee2-7afaac13c6f7\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1748494410\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"ba22e9ae-1740-4522-b95c-26f601a37484\",\"type\":\"steps\"},{\"id\":\"335dc81f-929a-47e1-a8f8-cc7830c2d272\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"fa4d082c-6733-4bd0-9083-f7bf2f8d4259\",\"type\":\"teams\"}]}}},\"included\":[{\"id\":\"ba22e9ae-1740-4522-b95c-26f601a37484\",\"type\":\"steps\",\"attributes\":{\"assignment\":\"default\",\"escalate_after_seconds\":3600},\"relationships\":{\"targets\":{\"data\":[{\"id\":\"de86b01f-3c48-11f0-927d-aedf77869272\",\"type\":\"users\"},{\"id\":\"2e70ff45-cb63-4609-900b-cc9fe95e063b\",\"type\":\"schedules\"},{\"id\":\"fa4d082c-6733-4bd0-9083-f7bf2f8d4259\",\"type\":\"teams\"}]}}},{\"id\":\"335dc81f-929a-47e1-a8f8-cc7830c2d272\",\"type\":\"steps\",\"attributes\":{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600},\"relationships\":{\"targets\":{\"data\":[{\"id\":\"fa4d082c-6733-4bd0-9083-f7bf2f8d4259\",\"type\":\"teams\"}]}}},{\"id\":\"de86b01f-3c48-11f0-927d-aedf77869272\",\"type\":\"users\",\"attributes\":{\"email\":\"test-create_on_call_escalation_policy_returns_created_response-1748494410@datadoghq.com\",\"name\":\"\",\"status\":\"pending\"}},{\"id\":\"2e70ff45-cb63-4609-900b-cc9fe95e063b\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1748494410\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"f1949bc4-1f01-4081-8002-d6029ace0bc9\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}},{\"id\":\"fa4d082c-6733-4bd0-9083-f7bf2f8d4259\",\"type\":\"teams\",\"attributes\":{\"avatar\":\"\",\"description\":\"\",\"handle\":\"test-handle-cfbc9f18713005c6\",\"name\":\"test-name-cfbc9f18713005c6\"}}]}" + "size": 2114, + "text": "{\"data\":{\"id\":\"84f3ac2b-77da-42f2-a2bb-cb9a5ea9cf55\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"055817d0-41cb-402f-bb93-0d5989083cd1\",\"type\":\"steps\"},{\"id\":\"ddab41bb-c15d-4ad8-bf29-8d0ddcbb2df1\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]}}},\"included\":[{\"id\":\"055817d0-41cb-402f-bb93-0d5989083cd1\",\"type\":\"steps\",\"attributes\":{\"assignment\":\"default\",\"escalate_after_seconds\":3600},\"relationships\":{\"targets\":{\"data\":[{\"id\":\"005f5c53-cc5a-11f0-84fc-d6e063989c3f\",\"type\":\"users\"},{\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11\",\"type\":\"schedules\"},{\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11_previous\",\"type\":\"schedule_target\"},{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]}}},{\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11_previous\",\"type\":\"schedule_target\",\"attributes\":{\"position\":\"previous\"},\"relationships\":{\"schedule\":{\"data\":{\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11\",\"type\":\"schedules\"}}}},{\"id\":\"ddab41bb-c15d-4ad8-bf29-8d0ddcbb2df1\",\"type\":\"steps\",\"attributes\":{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600},\"relationships\":{\"targets\":{\"data\":[{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\"}]}}},{\"id\":\"005f5c53-cc5a-11f0-84fc-d6e063989c3f\",\"type\":\"users\",\"attributes\":{\"email\":\"test-create_on_call_escalation_policy_returns_created_response-1764334736@datadoghq.com\",\"name\":\"\",\"status\":\"pending\"}},{\"id\":\"c6a8f167-908f-4ca5-ba30-a33a00adfe11\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Create_On_Call_escalation_policy_returns_Created_response-1764334736\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"928407db-da13-4516-bd6a-3b92e3095b56\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}},{\"id\":\"e5057194-b5fd-4ff5-b9d3-6977d8bbd774\",\"type\":\"teams\",\"attributes\":{\"avatar\":\"\",\"description\":\"\",\"handle\":\"test-handle-24ceda96b794cbdd\",\"name\":\"test-name-24ceda96b794cbdd\"}}]}" }, "cookies": [], "headers": [ @@ -221,11 +221,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:32.842Z", - "time": 886 + "startedDateTime": "2025-11-28T12:58:58.141Z", + "time": 328 }, { - "_id": "58cb63070bb45055e13afe6a31b89678", + "_id": "af7e79189c67c4270821b28851feda75", "_order": 0, "cache": {}, "request": { @@ -238,11 +238,11 @@ "value": "*/*" } ], - "headersSize": 563, + "headersSize": 562, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/cf3a523c-3ca3-4ac4-aee2-7afaac13c6f7" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/84f3ac2b-77da-42f2-a2bb-cb9a5ea9cf55" }, "response": { "bodySize": 0, @@ -258,11 +258,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:33.743Z", - "time": 834 + "startedDateTime": "2025-11-28T12:58:58.478Z", + "time": 289 }, { - "_id": "7d199b82189c7a1e50dcdbdf09b9b866", + "_id": "e7736e3988c87b1561dd8d5ab0fcfa39", "_order": 0, "cache": {}, "request": { @@ -275,11 +275,11 @@ "value": "*/*" } ], - "headersSize": 522, + "headersSize": 520, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/team/fa4d082c-6733-4bd0-9083-f7bf2f8d4259" + "url": "https://api.datadoghq.com/api/v2/team/e5057194-b5fd-4ff5-b9d3-6977d8bbd774" }, "response": { "bodySize": 0, @@ -289,17 +289,17 @@ }, "cookies": [], "headers": [], - "headersSize": 632, + "headersSize": 631, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:34.586Z", - "time": 925 + "startedDateTime": "2025-11-28T12:58:58.771Z", + "time": 457 }, { - "_id": "6a6d9afd077108fabbe2ca2c3649685f", + "_id": "6cc15ad56230f93a52d4b34244187769", "_order": 0, "cache": {}, "request": { @@ -312,11 +312,11 @@ "value": "*/*" } ], - "headersSize": 545, + "headersSize": 544, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/2e70ff45-cb63-4609-900b-cc9fe95e063b" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/c6a8f167-908f-4ca5-ba30-a33a00adfe11" }, "response": { "bodySize": 0, @@ -332,11 +332,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:35.522Z", - "time": 873 + "startedDateTime": "2025-11-28T12:58:59.230Z", + "time": 318 }, { - "_id": "c0fbe80a6b80b2af18ad957e5f1ff683", + "_id": "90ad94248a73c39ae2c322aeebf176a7", "_order": 0, "cache": {}, "request": { @@ -349,11 +349,11 @@ "value": "*/*" } ], - "headersSize": 524, + "headersSize": 523, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/de86b01f-3c48-11f0-927d-aedf77869272" + "url": "https://api.datadoghq.com/api/v2/users/005f5c53-cc5a-11f0-84fc-d6e063989c3f" }, "response": { "bodySize": 0, @@ -369,8 +369,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:36.405Z", - "time": 747 + "startedDateTime": "2025-11-28T12:58:59.551Z", + "time": 492 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Create-On-Call-schedule-returns-Created-response_3421287804/frozen.json b/cassettes/v2/On-Call_446749911/Create-On-Call-schedule-returns-Created-response_3421287804/frozen.json index 2b783bc8bf80..c2470c694656 100644 --- a/cassettes/v2/On-Call_446749911/Create-On-Call-schedule-returns-Created-response_3421287804/frozen.json +++ b/cassettes/v2/On-Call_446749911/Create-On-Call-schedule-returns-Created-response_3421287804/frozen.json @@ -1 +1 @@ -"2025-05-29T04:53:37.175Z" +"2025-11-27T14:11:22.484Z" diff --git a/cassettes/v2/On-Call_446749911/Create-On-Call-schedule-returns-Created-response_3421287804/recording.har b/cassettes/v2/On-Call_446749911/Create-On-Call-schedule-returns-Created-response_3421287804/recording.har index 6e7cd701cd29..99adcdb20bc2 100644 --- a/cassettes/v2/On-Call_446749911/Create-On-Call-schedule-returns-Created-response_3421287804/recording.har +++ b/cassettes/v2/On-Call_446749911/Create-On-Call-schedule-returns-Created-response_3421287804/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "723e1f7093e5dac88cba526d8790b989", + "_id": "805dfb9d05b5ae1b6789e837ed274ba8", "_order": 0, "cache": {}, "request": { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_On_Call_schedule_returns_Created_response-1748494417@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_On_Call_schedule_returns_Created_response-1764252682@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 701, + "bodySize": 724, "content": { "mimeType": "application/json", - "size": 701, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"e2438320-3c48-11f0-b6eb-6e406f40657f\",\"attributes\":{\"name\":null,\"handle\":\"test-create_on_call_schedule_returns_created_response-1748494417@datadoghq.com\",\"created_at\":\"2025-05-29T04:53:37.987288+00:00\",\"modified_at\":\"2025-05-29T04:53:37.987288+00:00\",\"email\":\"test-create_on_call_schedule_returns_created_response-1748494417@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/61f85c2f88e7f4fa078405eae231fb73?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 724, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"f4106d12-cb9a-11f0-a56e-4e680b759023\",\"attributes\":{\"name\":null,\"handle\":\"test-create_on_call_schedule_returns_created_response-1764252682@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:22.860522+00:00\",\"modified_at\":\"2025-11-27T14:11:22.860522+00:00\",\"email\":\"test-create_on_call_schedule_returns_created_response-1764252682@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/97f54253d0353bf6811320274d5cf8eb?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:37.180Z", - "time": 887 + "startedDateTime": "2025-11-27T14:11:22.487Z", + "time": 467 }, { - "_id": "e2922c04b6309a626a75933c3a298ba5", + "_id": "883121470164a8b0514376c83902b9f8", "_order": 0, "cache": {}, "request": { @@ -85,36 +85,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-0ed4255faa1a4de8\",\"name\":\"test-name-0ed4255faa1a4de8\"},\"type\":\"team\"}}" + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-a115b862e893678b\",\"name\":\"test-name-a115b862e893678b\"},\"type\":\"team\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/team" }, "response": { - "bodySize": 635, + "bodySize": 660, "content": { - "mimeType": "application/json", - "size": 635, - "text": "{\"data\":{\"type\":\"team\",\"id\":\"8c44e5e8-f1f0-4e12-ada2-f91c9aeab153\",\"attributes\":{\"name\":\"test-name-0ed4255faa1a4de8\",\"handle\":\"test-handle-0ed4255faa1a4de8\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":5,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-05-29T04:53:38.641602+00:00\",\"modified_at\":\"2025-05-29T04:53:38.641612+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/8c44e5e8-f1f0-4e12-ada2-f91c9aeab153/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8c44e5e8-f1f0-4e12-ada2-f91c9aeab153/permission-settings\"}}}}}\n" + "mimeType": "application/vnd.api+json", + "size": 660, + "text": "{\"data\":{\"id\":\"8802359f-5663-4ed4-b3c8-06d5618def25\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":2,\"created_at\":\"2025-11-27T14:11:23.389409+00:00\",\"description\":null,\"handle\":\"test-handle-a115b862e893678b\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-27T14:11:23.389409+00:00\",\"name\":\"test-name-a115b862e893678b\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/8802359f-5663-4ed4-b3c8-06d5618def25/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8802359f-5663-4ed4-b3c8-06d5618def25/permission-settings\"}}}}}" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json" + "value": "application/vnd.api+json" } ], - "headersSize": 685, + "headersSize": 700, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:38.072Z", - "time": 735 + "startedDateTime": "2025-11-27T14:11:22.968Z", + "time": 526 }, { - "_id": "117feb5e36fe3e757cd61dec4fd9f5eb", + "_id": "63515b4132f1dc66d20caec42b768cd7", "_order": 0, "cache": {}, "request": { @@ -138,7 +138,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:53:37.175Z\",\"end_date\":\"2025-06-08T04:53:37.175Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"e2438320-3c48-11f0-b6eb-6e406f40657f\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:53:37.175Z\"}],\"name\":\"Test-Create_On_Call_schedule_returns_Created_response-1748494417\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"8c44e5e8-f1f0-4e12-ada2-f91c9aeab153\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:22.484Z\",\"end_date\":\"2025-12-07T14:11:22.484Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"f4106d12-cb9a-11f0-a56e-4e680b759023\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:22.484Z\"}],\"name\":\"Test-Create_On_Call_schedule_returns_Created_response-1764252682\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"8802359f-5663-4ed4-b3c8-06d5618def25\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -148,7 +148,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 373, - "text": "{\"data\":{\"id\":\"e57f69cc-5f56-41bf-abd2-69196d0b4b41\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Create_On_Call_schedule_returns_Created_response-1748494417\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"7cb8837f-5ebd-46c7-914d-d017eae7f3fc\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"8c44e5e8-f1f0-4e12-ada2-f91c9aeab153\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"f56173aa-b72e-4a29-a9dd-e8a4fe57f47a\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Create_On_Call_schedule_returns_Created_response-1764252682\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"886b9854-9487-4b13-a4a1-955922ced1cf\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"8802359f-5663-4ed4-b3c8-06d5618def25\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -163,11 +163,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:38.814Z", - "time": 826 + "startedDateTime": "2025-11-27T14:11:23.499Z", + "time": 429 }, { - "_id": "edb35a4ea31c1c2cf51cf3590353dec4", + "_id": "67ec1c7e1935024d4d8bdb2e9d5a3fd2", "_order": 0, "cache": {}, "request": { @@ -184,7 +184,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/e57f69cc-5f56-41bf-abd2-69196d0b4b41" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/f56173aa-b72e-4a29-a9dd-e8a4fe57f47a" }, "response": { "bodySize": 0, @@ -200,11 +200,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:39.655Z", - "time": 614 + "startedDateTime": "2025-11-27T14:11:23.941Z", + "time": 424 }, { - "_id": "1c07bce8d48d5c6f22d62c7b97c12e3a", + "_id": "e28f6223ca61aeb4844a5ed9468f9adc", "_order": 0, "cache": {}, "request": { @@ -221,7 +221,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/team/8c44e5e8-f1f0-4e12-ada2-f91c9aeab153" + "url": "https://api.datadoghq.com/api/v2/team/8802359f-5663-4ed4-b3c8-06d5618def25" }, "response": { "bodySize": 0, @@ -237,11 +237,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:40.279Z", - "time": 933 + "startedDateTime": "2025-11-27T14:11:24.379Z", + "time": 527 }, { - "_id": "df1fcf51ff403603a80afe1e8f21bee1", + "_id": "bc2ce4ae27f69a59b882d1b9fa4fa7f0", "_order": 0, "cache": {}, "request": { @@ -258,7 +258,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/e2438320-3c48-11f0-b6eb-6e406f40657f" + "url": "https://api.datadoghq.com/api/v2/users/f4106d12-cb9a-11f0-a56e-4e680b759023" }, "response": { "bodySize": 0, @@ -274,8 +274,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:41.225Z", - "time": 981 + "startedDateTime": "2025-11-27T14:11:24.916Z", + "time": 602 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Delete-On-Call-escalation-policy-returns-No-Content-response_1361160709/frozen.json b/cassettes/v2/On-Call_446749911/Delete-On-Call-escalation-policy-returns-No-Content-response_1361160709/frozen.json index 11975e35c42e..bc7e6c0963aa 100644 --- a/cassettes/v2/On-Call_446749911/Delete-On-Call-escalation-policy-returns-No-Content-response_1361160709/frozen.json +++ b/cassettes/v2/On-Call_446749911/Delete-On-Call-escalation-policy-returns-No-Content-response_1361160709/frozen.json @@ -1 +1 @@ -"2025-05-29T04:53:42.215Z" +"2025-11-27T14:11:25.538Z" diff --git a/cassettes/v2/On-Call_446749911/Delete-On-Call-escalation-policy-returns-No-Content-response_1361160709/recording.har b/cassettes/v2/On-Call_446749911/Delete-On-Call-escalation-policy-returns-No-Content-response_1361160709/recording.har index 7fa16a9f215c..91a01931b090 100644 --- a/cassettes/v2/On-Call_446749911/Delete-On-Call-escalation-policy-returns-No-Content-response_1361160709/recording.har +++ b/cassettes/v2/On-Call_446749911/Delete-On-Call-escalation-policy-returns-No-Content-response_1361160709/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "9abf655ffe2037308332024ef80145a0", + "_id": "dd7312d323a8a3fa28753406f0bde257", "_order": 0, "cache": {}, "request": { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1748494422@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1764252685@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 725, + "bodySize": 748, "content": { "mimeType": "application/json", - "size": 725, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"e524a559-3c48-11f0-b6eb-6e406f40657f\",\"attributes\":{\"name\":null,\"handle\":\"test-delete_on_call_escalation_policy_returns_no_content_response-1748494422@datadoghq.com\",\"created_at\":\"2025-05-29T04:53:42.818165+00:00\",\"modified_at\":\"2025-05-29T04:53:42.818165+00:00\",\"email\":\"test-delete_on_call_escalation_policy_returns_no_content_response-1748494422@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/89925b9919d7e93a599c4d49d51b35ee?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 748, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"f5e7c666-cb9a-11f0-ae87-2a5e5028fcef\",\"attributes\":{\"name\":null,\"handle\":\"test-delete_on_call_escalation_policy_returns_no_content_response-1764252685@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:25.949558+00:00\",\"modified_at\":\"2025-11-27T14:11:25.949558+00:00\",\"email\":\"test-delete_on_call_escalation_policy_returns_no_content_response-1764252685@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/92ce6e94a63e99ed9306c4b09eb69918?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:42.221Z", - "time": 680 + "startedDateTime": "2025-11-27T14:11:25.541Z", + "time": 501 }, { - "_id": "e90de2096f1e98c7c578abf7e4555e24", + "_id": "7d0ec7dde81d9c6782d4c43fc3bb9578", "_order": 0, "cache": {}, "request": { @@ -85,36 +85,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-7311534a0fd625d8\",\"name\":\"test-name-7311534a0fd625d8\"},\"type\":\"team\"}}" + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-5d85b5aacd02cab9\",\"name\":\"test-name-5d85b5aacd02cab9\"},\"type\":\"team\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/team" }, "response": { - "bodySize": 636, + "bodySize": 660, "content": { - "mimeType": "application/json", - "size": 636, - "text": "{\"data\":{\"type\":\"team\",\"id\":\"5007e30b-5736-4abe-be9c-51cf508c9554\",\"attributes\":{\"name\":\"test-name-7311534a0fd625d8\",\"handle\":\"test-handle-7311534a0fd625d8\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":10,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-05-29T04:53:43.705893+00:00\",\"modified_at\":\"2025-05-29T04:53:43.705903+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5007e30b-5736-4abe-be9c-51cf508c9554/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5007e30b-5736-4abe-be9c-51cf508c9554/permission-settings\"}}}}}\n" + "mimeType": "application/vnd.api+json", + "size": 660, + "text": "{\"data\":{\"id\":\"a42481db-6918-45ef-a923-5548004f044a\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":9,\"created_at\":\"2025-11-27T14:11:26.456007+00:00\",\"description\":null,\"handle\":\"test-handle-5d85b5aacd02cab9\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-27T14:11:26.456008+00:00\",\"name\":\"test-name-5d85b5aacd02cab9\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/a42481db-6918-45ef-a923-5548004f044a/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a42481db-6918-45ef-a923-5548004f044a/permission-settings\"}}}}}" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json" + "value": "application/vnd.api+json" } ], - "headersSize": 685, + "headersSize": 700, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:42.911Z", - "time": 993 + "startedDateTime": "2025-11-27T14:11:26.055Z", + "time": 501 }, { - "_id": "cdc8b374224f02e625b20fd681572fd9", + "_id": "98e7a7e2781454bbbc7e5120274359c2", "_order": 0, "cache": {}, "request": { @@ -138,7 +138,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:53:42.215Z\",\"end_date\":\"2025-06-08T04:53:42.215Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"e524a559-3c48-11f0-b6eb-6e406f40657f\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:53:42.215Z\"}],\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1748494422\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:25.538Z\",\"end_date\":\"2025-12-07T14:11:25.538Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"f5e7c666-cb9a-11f0-ae87-2a5e5028fcef\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:25.538Z\"}],\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1764252685\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -148,7 +148,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 385, - "text": "{\"data\":{\"id\":\"5bedf04a-b064-4748-861d-2f32970de31e\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1748494422\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"242425ed-6c98-4bda-b0eb-8eb0d66fc40f\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"cf196f34-3ce0-4cff-a27e-ed5035db9442\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1764252685\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"2f2ea0a9-a33e-4d2f-9a0b-5cbfb0bed071\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -163,15 +163,15 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:43.924Z", - "time": 643 + "startedDateTime": "2025-11-27T14:11:26.563Z", + "time": 421 }, { - "_id": "6d83ce7fbffa81adc1fc7ae2c7db3649", + "_id": "e25488a5d6d691c9037e9bb09f4729af", "_order": 0, "cache": {}, "request": { - "bodySize": 669, + "bodySize": 780, "cookies": [], "headers": [ { @@ -191,7 +191,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1748494422\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"5007e30b-5736-4abe-be9c-51cf508c9554\",\"type\":\"teams\"},{\"id\":\"5bedf04a-b064-4748-861d-2f32970de31e\",\"type\":\"schedules\"},{\"id\":\"e524a559-3c48-11f0-b6eb-6e406f40657f\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"5007e30b-5736-4abe-be9c-51cf508c9554\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"5007e30b-5736-4abe-be9c-51cf508c9554\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" + "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1764252685\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"a42481db-6918-45ef-a923-5548004f044a\",\"type\":\"teams\"},{\"id\":\"cf196f34-3ce0-4cff-a27e-ed5035db9442\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"cf196f34-3ce0-4cff-a27e-ed5035db9442\",\"type\":\"schedules\"},{\"id\":\"f5e7c666-cb9a-11f0-ae87-2a5e5028fcef\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"a42481db-6918-45ef-a923-5548004f044a\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"a42481db-6918-45ef-a923-5548004f044a\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" @@ -201,7 +201,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 458, - "text": "{\"data\":{\"id\":\"897cc698-80ee-47cf-b59a-130323f2d483\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1748494422\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"70f924ad-d57b-4b37-92b1-adc275a37923\",\"type\":\"steps\"},{\"id\":\"06639547-3fbf-431c-9719-c7211a3d34aa\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"5007e30b-5736-4abe-be9c-51cf508c9554\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"c25d7cd6-d2bc-4d84-801b-3a09d62e29bc\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Delete_On_Call_escalation_policy_returns_No_Content_response-1764252685\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"b445f325-7fca-44d5-a7e2-2a16e8bc2837\",\"type\":\"steps\"},{\"id\":\"b9c6527e-9c8d-4c93-92cf-100b5c180a1e\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"a42481db-6918-45ef-a923-5548004f044a\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -216,11 +216,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:44.581Z", - "time": 665 + "startedDateTime": "2025-11-27T14:11:26.988Z", + "time": 447 }, { - "_id": "b827cef9305b0c85ed91ba220800bd58", + "_id": "829838bf245320d06a2eac9250259875", "_order": 0, "cache": {}, "request": { @@ -237,7 +237,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/897cc698-80ee-47cf-b59a-130323f2d483" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/c25d7cd6-d2bc-4d84-801b-3a09d62e29bc" }, "response": { "bodySize": 0, @@ -253,11 +253,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:45.266Z", - "time": 618 + "startedDateTime": "2025-11-27T14:11:27.443Z", + "time": 407 }, { - "_id": "b827cef9305b0c85ed91ba220800bd58", + "_id": "829838bf245320d06a2eac9250259875", "_order": 1, "cache": {}, "request": { @@ -274,14 +274,14 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/897cc698-80ee-47cf-b59a-130323f2d483" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/c25d7cd6-d2bc-4d84-801b-3a09d62e29bc" }, "response": { "bodySize": 115, "content": { "mimeType": "application/vnd.api+json", "size": 115, - "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"escalation_policy[897cc698-80ee-47cf-b59a-130323f2d483] not found\"}]}" + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"escalation_policy[c25d7cd6-d2bc-4d84-801b-3a09d62e29bc] not found\"}]}" }, "cookies": [], "headers": [ @@ -296,11 +296,11 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-05-29T04:53:45.894Z", - "time": 617 + "startedDateTime": "2025-11-27T14:11:27.856Z", + "time": 399 }, { - "_id": "4b46478bdbcb6445e8747dbfa2ab974b", + "_id": "1a47b5e52491ef21cbaa24582e122069", "_order": 0, "cache": {}, "request": { @@ -317,7 +317,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/5bedf04a-b064-4748-861d-2f32970de31e" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/cf196f34-3ce0-4cff-a27e-ed5035db9442" }, "response": { "bodySize": 0, @@ -333,11 +333,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:46.527Z", - "time": 642 + "startedDateTime": "2025-11-27T14:11:28.262Z", + "time": 434 }, { - "_id": "83027bb937e8cc7ab05ef8934dd4c612", + "_id": "2ea1394ef4d0e058ee76338a3b967781", "_order": 0, "cache": {}, "request": { @@ -354,7 +354,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/team/5007e30b-5736-4abe-be9c-51cf508c9554" + "url": "https://api.datadoghq.com/api/v2/team/a42481db-6918-45ef-a923-5548004f044a" }, "response": { "bodySize": 0, @@ -370,11 +370,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:47.176Z", - "time": 758 + "startedDateTime": "2025-11-27T14:11:28.702Z", + "time": 1722 }, { - "_id": "df7fe0f15b62367f130f0dd435b67244", + "_id": "189215c92fb2af91324707594ea2dd19", "_order": 0, "cache": {}, "request": { @@ -391,7 +391,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/e524a559-3c48-11f0-b6eb-6e406f40657f" + "url": "https://api.datadoghq.com/api/v2/users/f5e7c666-cb9a-11f0-ae87-2a5e5028fcef" }, "response": { "bodySize": 0, @@ -407,8 +407,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:47.944Z", - "time": 848 + "startedDateTime": "2025-11-27T14:11:30.428Z", + "time": 546 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Delete-On-Call-schedule-returns-No-Content-response_3999968365/frozen.json b/cassettes/v2/On-Call_446749911/Delete-On-Call-schedule-returns-No-Content-response_3999968365/frozen.json index d2946baed73b..d33035ab73c6 100644 --- a/cassettes/v2/On-Call_446749911/Delete-On-Call-schedule-returns-No-Content-response_3999968365/frozen.json +++ b/cassettes/v2/On-Call_446749911/Delete-On-Call-schedule-returns-No-Content-response_3999968365/frozen.json @@ -1 +1 @@ -"2025-05-29T04:53:48.818Z" +"2025-11-27T14:11:30.983Z" diff --git a/cassettes/v2/On-Call_446749911/Delete-On-Call-schedule-returns-No-Content-response_3999968365/recording.har b/cassettes/v2/On-Call_446749911/Delete-On-Call-schedule-returns-No-Content-response_3999968365/recording.har index 5c1ae1c0768f..8d4cfad7d04b 100644 --- a/cassettes/v2/On-Call_446749911/Delete-On-Call-schedule-returns-No-Content-response_3999968365/recording.har +++ b/cassettes/v2/On-Call_446749911/Delete-On-Call-schedule-returns-No-Content-response_3999968365/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "183a7c8efeaeb8bbfafc0f9771562005", + "_id": "0144116c4b575395c227f25e21c4d782", "_order": 0, "cache": {}, "request": { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_On_Call_schedule_returns_No_Content_response-1748494428@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Delete_On_Call_schedule_returns_No_Content_response-1764252690@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 707, + "bodySize": 730, "content": { "mimeType": "application/json", - "size": 707, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"e913c34d-3c48-11f0-b10e-2e2b611e1022\",\"attributes\":{\"name\":null,\"handle\":\"test-delete_on_call_schedule_returns_no_content_response-1748494428@datadoghq.com\",\"created_at\":\"2025-05-29T04:53:49.418406+00:00\",\"modified_at\":\"2025-05-29T04:53:49.418406+00:00\",\"email\":\"test-delete_on_call_schedule_returns_no_content_response-1748494428@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/97e38917640a0eb3c61f6e1219165929?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 730, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"f9249a49-cb9a-11f0-a56e-4e680b759023\",\"attributes\":{\"name\":null,\"handle\":\"test-delete_on_call_schedule_returns_no_content_response-1764252690@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:31.381378+00:00\",\"modified_at\":\"2025-11-27T14:11:31.381378+00:00\",\"email\":\"test-delete_on_call_schedule_returns_no_content_response-1764252690@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/4d40d1e80a1a87fede5c7a11db2bf7f2?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:48.820Z", - "time": 677 + "startedDateTime": "2025-11-27T14:11:30.987Z", + "time": 481 }, { - "_id": "2496dfd7193ed1708062ce67275716af", + "_id": "8e79df6f58c49fecfd4fb99545687ccd", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:53:48.818Z\",\"end_date\":\"2025-06-08T04:53:48.818Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"e913c34d-3c48-11f0-b10e-2e2b611e1022\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:53:48.818Z\"}],\"name\":\"Test-Delete_On_Call_schedule_returns_No_Content_response-1748494428\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:30.983Z\",\"end_date\":\"2025-12-07T14:11:30.983Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"f9249a49-cb9a-11f0-a56e-4e680b759023\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:30.983Z\"}],\"name\":\"Test-Delete_On_Call_schedule_returns_No_Content_response-1764252690\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 376, - "text": "{\"data\":{\"id\":\"4068aec3-24f3-41c6-8778-72f8754684c3\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Delete_On_Call_schedule_returns_No_Content_response-1748494428\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"671b7e9e-1bcf-4e7a-817e-3b825b7dd3e6\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"10acf747-60a0-4bdf-a0df-196e9f9291e2\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Delete_On_Call_schedule_returns_No_Content_response-1764252690\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"806b7079-20af-41d1-9f50-badf49b324f5\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:49.515Z", - "time": 645 + "startedDateTime": "2025-11-27T14:11:31.476Z", + "time": 418 }, { - "_id": "0adcfd26a01ab7c7d0cc044c6497288d", + "_id": "1c2c5bff05b19feac4f885b56ba05c02", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/4068aec3-24f3-41c6-8778-72f8754684c3" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/10acf747-60a0-4bdf-a0df-196e9f9291e2" }, "response": { "bodySize": 0, @@ -147,11 +147,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:50.166Z", - "time": 629 + "startedDateTime": "2025-11-27T14:11:31.904Z", + "time": 441 }, { - "_id": "0adcfd26a01ab7c7d0cc044c6497288d", + "_id": "1c2c5bff05b19feac4f885b56ba05c02", "_order": 1, "cache": {}, "request": { @@ -168,14 +168,14 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/4068aec3-24f3-41c6-8778-72f8754684c3" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/10acf747-60a0-4bdf-a0df-196e9f9291e2" }, "response": { "bodySize": 106, "content": { "mimeType": "application/vnd.api+json", "size": 106, - "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"schedule[4068aec3-24f3-41c6-8778-72f8754684c3] not found\"}]}" + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"schedule[10acf747-60a0-4bdf-a0df-196e9f9291e2] not found\"}]}" }, "cookies": [], "headers": [ @@ -190,11 +190,11 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-05-29T04:53:50.813Z", - "time": 621 + "startedDateTime": "2025-11-27T14:11:32.351Z", + "time": 430 }, { - "_id": "cdbcd428391a00d06af13a431f75318f", + "_id": "3ab83059eed786c6d257d9b0ab2566d1", "_order": 0, "cache": {}, "request": { @@ -211,7 +211,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/e913c34d-3c48-11f0-b10e-2e2b611e1022" + "url": "https://api.datadoghq.com/api/v2/users/f9249a49-cb9a-11f0-a56e-4e680b759023" }, "response": { "bodySize": 0, @@ -227,8 +227,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:51.443Z", - "time": 797 + "startedDateTime": "2025-11-27T14:11:32.792Z", + "time": 562 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Get-On-Call-escalation-policy-returns-OK-response_2648714652/frozen.json b/cassettes/v2/On-Call_446749911/Get-On-Call-escalation-policy-returns-OK-response_2648714652/frozen.json index 917f6af5e589..a629fcfc6a35 100644 --- a/cassettes/v2/On-Call_446749911/Get-On-Call-escalation-policy-returns-OK-response_2648714652/frozen.json +++ b/cassettes/v2/On-Call_446749911/Get-On-Call-escalation-policy-returns-OK-response_2648714652/frozen.json @@ -1 +1 @@ -"2025-05-29T04:53:52.267Z" +"2025-11-27T14:11:33.368Z" diff --git a/cassettes/v2/On-Call_446749911/Get-On-Call-escalation-policy-returns-OK-response_2648714652/recording.har b/cassettes/v2/On-Call_446749911/Get-On-Call-escalation-policy-returns-OK-response_2648714652/recording.har index b5d1cd5a0622..12f41536c3a9 100644 --- a/cassettes/v2/On-Call_446749911/Get-On-Call-escalation-policy-returns-OK-response_2648714652/recording.har +++ b/cassettes/v2/On-Call_446749911/Get-On-Call-escalation-policy-returns-OK-response_2648714652/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "4c2257ee622723e1958bc614c9355bfc", + "_id": "0af1548f104df45629b80cc4a0061fb7", "_order": 0, "cache": {}, "request": { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1748494432@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 703, + "bodySize": 726, "content": { "mimeType": "application/json", - "size": 703, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"eb22c300-3c48-11f0-b6eb-6e406f40657f\",\"attributes\":{\"name\":null,\"handle\":\"test-get_on_call_escalation_policy_returns_ok_response-1748494432@datadoghq.com\",\"created_at\":\"2025-05-29T04:53:52.872150+00:00\",\"modified_at\":\"2025-05-29T04:53:52.872150+00:00\",\"email\":\"test-get_on_call_escalation_policy_returns_ok_response-1748494432@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/28954a95ef3e23c51599bc32b67118de?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 726, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"fa8dbd27-cb9a-11f0-84fc-d6e063989c3f\",\"attributes\":{\"name\":null,\"handle\":\"test-get_on_call_escalation_policy_returns_ok_response-1764252693@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:33.748105+00:00\",\"modified_at\":\"2025-11-27T14:11:33.748105+00:00\",\"email\":\"test-get_on_call_escalation_policy_returns_ok_response-1764252693@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/3b312cc1a86be5f85aab5fada68c24c4?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/json" } ], - "headersSize": 680, + "headersSize": 681, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:52.271Z", - "time": 681 + "startedDateTime": "2025-11-27T14:11:33.371Z", + "time": 462 }, { - "_id": "ca32b16e9bb206d3dcfd58b3b717feb4", + "_id": "31ac2a20179e90c5bd3ee6be71edf82d", "_order": 0, "cache": {}, "request": { @@ -85,36 +85,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-bbce2cc58d5af798\",\"name\":\"test-name-bbce2cc58d5af798\"},\"type\":\"team\"}}" + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-9b417dea223136e8\",\"name\":\"test-name-9b417dea223136e8\"},\"type\":\"team\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/team" }, "response": { - "bodySize": 635, + "bodySize": 660, "content": { - "mimeType": "application/json", - "size": 635, - "text": "{\"data\":{\"type\":\"team\",\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"attributes\":{\"name\":\"test-name-bbce2cc58d5af798\",\"handle\":\"test-handle-bbce2cc58d5af798\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":9,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-05-29T04:53:53.543425+00:00\",\"modified_at\":\"2025-05-29T04:53:53.543434+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/dba59993-2c99-46f0-b91b-9e7936a4a78e/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/dba59993-2c99-46f0-b91b-9e7936a4a78e/permission-settings\"}}}}}\n" + "mimeType": "application/vnd.api+json", + "size": 660, + "text": "{\"data\":{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":8,\"created_at\":\"2025-11-27T14:11:34.252521+00:00\",\"description\":null,\"handle\":\"test-handle-9b417dea223136e8\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-27T14:11:34.252521+00:00\",\"name\":\"test-name-9b417dea223136e8\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/bf2fad34-c495-4de0-b1ec-c5727a2ae216/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/bf2fad34-c495-4de0-b1ec-c5727a2ae216/permission-settings\"}}}}}" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json" + "value": "application/vnd.api+json" } ], - "headersSize": 684, + "headersSize": 700, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:52.968Z", - "time": 729 + "startedDateTime": "2025-11-27T14:11:33.840Z", + "time": 514 }, { - "_id": "5c6d881bf0e8a0d327c2b75281fd4c00", + "_id": "ae09550f467af46f25939c4f7c94f63d", "_order": 0, "cache": {}, "request": { @@ -138,7 +138,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:53:52.267Z\",\"end_date\":\"2025-06-08T04:53:52.267Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"eb22c300-3c48-11f0-b6eb-6e406f40657f\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:53:52.267Z\"}],\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1748494432\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:33.368Z\",\"end_date\":\"2025-12-07T14:11:33.368Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"fa8dbd27-cb9a-11f0-84fc-d6e063989c3f\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:33.368Z\"}],\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -148,7 +148,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 374, - "text": "{\"data\":{\"id\":\"996bb88f-ddaf-491b-84df-b8c60c9c358a\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1748494432\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"016cfd54-38ec-4d23-938b-f07e8643a3f7\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"8d44f496-4fe0-4cc9-b3d7-81bbc3e68464\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -163,15 +163,15 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:53.709Z", - "time": 632 + "startedDateTime": "2025-11-27T14:11:34.360Z", + "time": 417 }, { - "_id": "de56e0f4bd10f7e2fd44aa07952c8a58", + "_id": "ef9ee67b7ed76afdd3e052bb423d8768", "_order": 0, "cache": {}, "request": { - "bodySize": 658, + "bodySize": 769, "cookies": [], "headers": [ { @@ -191,7 +191,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1748494432\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"type\":\"teams\"},{\"id\":\"996bb88f-ddaf-491b-84df-b8c60c9c358a\",\"type\":\"schedules\"},{\"id\":\"eb22c300-3c48-11f0-b6eb-6e406f40657f\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" + "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"},{\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3\",\"type\":\"schedules\"},{\"id\":\"fa8dbd27-cb9a-11f0-84fc-d6e063989c3f\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" @@ -201,7 +201,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 447, - "text": "{\"data\":{\"id\":\"e75b436d-cbb7-44d6-bf87-4f53073a5bb5\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1748494432\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"c4cd74b1-1eb4-48a7-9fc0-a66f4e12919b\",\"type\":\"steps\"},{\"id\":\"f11818e3-db9e-4601-b1e1-391fa54b6087\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"7e36daf1-25ef-46af-ba33-23aac9271dc5\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"e4f3f753-15bd-4649-bdeb-70011094d294\",\"type\":\"steps\"},{\"id\":\"984250f3-e780-4aae-80c1-143859d0f14b\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -216,11 +216,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:54.349Z", - "time": 674 + "startedDateTime": "2025-11-27T14:11:34.787Z", + "time": 456 }, { - "_id": "e964874d2293e0caed554bee66428d59", + "_id": "bc61a903668a7e35906b913d2940649b", "_order": 0, "cache": {}, "request": { @@ -242,14 +242,14 @@ "value": "steps.targets" } ], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/e75b436d-cbb7-44d6-bf87-4f53073a5bb5?include=steps.targets" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/7e36daf1-25ef-46af-ba33-23aac9271dc5?include=steps.targets" }, "response": { - "bodySize": 1790, + "bodySize": 2090, "content": { "mimeType": "application/vnd.api+json", - "size": 1790, - "text": "{\"data\":{\"id\":\"e75b436d-cbb7-44d6-bf87-4f53073a5bb5\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1748494432\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"c4cd74b1-1eb4-48a7-9fc0-a66f4e12919b\",\"type\":\"steps\"},{\"id\":\"f11818e3-db9e-4601-b1e1-391fa54b6087\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"type\":\"teams\"}]}}},\"included\":[{\"id\":\"c4cd74b1-1eb4-48a7-9fc0-a66f4e12919b\",\"type\":\"steps\",\"attributes\":{\"assignment\":\"default\",\"escalate_after_seconds\":3600},\"relationships\":{\"targets\":{\"data\":[{\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"type\":\"teams\"},{\"id\":\"996bb88f-ddaf-491b-84df-b8c60c9c358a\",\"type\":\"schedules\"},{\"id\":\"eb22c300-3c48-11f0-b6eb-6e406f40657f\",\"type\":\"users\"}]}}},{\"id\":\"f11818e3-db9e-4601-b1e1-391fa54b6087\",\"type\":\"steps\",\"attributes\":{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600},\"relationships\":{\"targets\":{\"data\":[{\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"type\":\"teams\"}]}}},{\"id\":\"996bb88f-ddaf-491b-84df-b8c60c9c358a\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1748494432\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"016cfd54-38ec-4d23-938b-f07e8643a3f7\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}},{\"id\":\"eb22c300-3c48-11f0-b6eb-6e406f40657f\",\"type\":\"users\",\"attributes\":{\"email\":\"test-get_on_call_escalation_policy_returns_ok_response-1748494432@datadoghq.com\",\"name\":\"\",\"status\":\"pending\"}},{\"id\":\"dba59993-2c99-46f0-b91b-9e7936a4a78e\",\"type\":\"teams\",\"attributes\":{\"avatar\":\"\",\"description\":\"\",\"handle\":\"test-handle-bbce2cc58d5af798\",\"name\":\"test-name-bbce2cc58d5af798\"}}]}" + "size": 2090, + "text": "{\"data\":{\"id\":\"7e36daf1-25ef-46af-ba33-23aac9271dc5\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"e4f3f753-15bd-4649-bdeb-70011094d294\",\"type\":\"steps\"},{\"id\":\"984250f3-e780-4aae-80c1-143859d0f14b\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"}]}}},\"included\":[{\"id\":\"e4f3f753-15bd-4649-bdeb-70011094d294\",\"type\":\"steps\",\"attributes\":{\"assignment\":\"default\",\"escalate_after_seconds\":3600},\"relationships\":{\"targets\":{\"data\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"},{\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3\",\"type\":\"schedules\"},{\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3_previous\",\"type\":\"schedule_target\"},{\"id\":\"fa8dbd27-cb9a-11f0-84fc-d6e063989c3f\",\"type\":\"users\"}]}}},{\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3_previous\",\"type\":\"schedule_target\",\"attributes\":{\"position\":\"previous\"},\"relationships\":{\"schedule\":{\"data\":{\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3\",\"type\":\"schedules\"}}}},{\"id\":\"984250f3-e780-4aae-80c1-143859d0f14b\",\"type\":\"steps\",\"attributes\":{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600},\"relationships\":{\"targets\":{\"data\":[{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\"}]}}},{\"id\":\"bf2fad34-c495-4de0-b1ec-c5727a2ae216\",\"type\":\"teams\",\"attributes\":{\"avatar\":\"\",\"description\":\"\",\"handle\":\"test-handle-9b417dea223136e8\",\"name\":\"test-name-9b417dea223136e8\"}},{\"id\":\"d8834350-ae3c-45eb-ad84-9f9a3cef46f3\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_On_Call_escalation_policy_returns_OK_response-1764252693\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"8d44f496-4fe0-4cc9-b3d7-81bbc3e68464\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}},{\"id\":\"fa8dbd27-cb9a-11f0-84fc-d6e063989c3f\",\"type\":\"users\",\"attributes\":{\"email\":\"test-get_on_call_escalation_policy_returns_ok_response-1764252693@datadoghq.com\",\"name\":\"\",\"status\":\"pending\"}}]}" }, "cookies": [], "headers": [ @@ -264,11 +264,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-05-29T04:53:55.035Z", - "time": 627 + "startedDateTime": "2025-11-27T14:11:35.251Z", + "time": 442 }, { - "_id": "2d911359da467ae9bc037795e6185324", + "_id": "d7064d73e1c8360bca2c24fed1e95f2b", "_order": 0, "cache": {}, "request": { @@ -285,7 +285,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/e75b436d-cbb7-44d6-bf87-4f53073a5bb5" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/7e36daf1-25ef-46af-ba33-23aac9271dc5" }, "response": { "bodySize": 0, @@ -301,11 +301,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:55.677Z", - "time": 616 + "startedDateTime": "2025-11-27T14:11:35.703Z", + "time": 414 }, { - "_id": "e6dc3dfc339d523e6d11d3d87e264b89", + "_id": "9a87b515b4a003d7bf7f1493034d9194", "_order": 0, "cache": {}, "request": { @@ -322,7 +322,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/996bb88f-ddaf-491b-84df-b8c60c9c358a" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/d8834350-ae3c-45eb-ad84-9f9a3cef46f3" }, "response": { "bodySize": 0, @@ -338,11 +338,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:56.300Z", - "time": 629 + "startedDateTime": "2025-11-27T14:11:36.123Z", + "time": 422 }, { - "_id": "1a3c776051f308a132d07fc885bbbb70", + "_id": "883c96a649fe8cf56fd6a28c9e8b3abb", "_order": 0, "cache": {}, "request": { @@ -359,7 +359,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/team/dba59993-2c99-46f0-b91b-9e7936a4a78e" + "url": "https://api.datadoghq.com/api/v2/team/bf2fad34-c495-4de0-b1ec-c5727a2ae216" }, "response": { "bodySize": 0, @@ -369,17 +369,17 @@ }, "cookies": [], "headers": [], - "headersSize": 631, + "headersSize": 632, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:56.937Z", - "time": 738 + "startedDateTime": "2025-11-27T14:11:36.548Z", + "time": 511 }, { - "_id": "bbeec54ef17a78a3c0a7d3dfa16f9402", + "_id": "8d372e5691415ddb2a9f5c75912ffa84", "_order": 0, "cache": {}, "request": { @@ -396,7 +396,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/eb22c300-3c48-11f0-b6eb-6e406f40657f" + "url": "https://api.datadoghq.com/api/v2/users/fa8dbd27-cb9a-11f0-84fc-d6e063989c3f" }, "response": { "bodySize": 0, @@ -412,8 +412,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:53:57.678Z", - "time": 811 + "startedDateTime": "2025-11-27T14:11:37.067Z", + "time": 539 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Get-On-Call-schedule-returns-OK-response_2840248970/frozen.json b/cassettes/v2/On-Call_446749911/Get-On-Call-schedule-returns-OK-response_2840248970/frozen.json index 64a5178a90e1..47bf56498dce 100644 --- a/cassettes/v2/On-Call_446749911/Get-On-Call-schedule-returns-OK-response_2840248970/frozen.json +++ b/cassettes/v2/On-Call_446749911/Get-On-Call-schedule-returns-OK-response_2840248970/frozen.json @@ -1 +1 @@ -"2025-05-29T04:53:58.508Z" +"2025-11-27T14:11:37.612Z" diff --git a/cassettes/v2/On-Call_446749911/Get-On-Call-schedule-returns-OK-response_2840248970/recording.har b/cassettes/v2/On-Call_446749911/Get-On-Call-schedule-returns-OK-response_2840248970/recording.har index 058dfd6269b5..368435812b92 100644 --- a/cassettes/v2/On-Call_446749911/Get-On-Call-schedule-returns-OK-response_2840248970/recording.har +++ b/cassettes/v2/On-Call_446749911/Get-On-Call-schedule-returns-OK-response_2840248970/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "72b9a3b48ff58913f1c21e355dcbc11b", + "_id": "baa546d97e3df45935df2d5fd65c06ed", "_order": 0, "cache": {}, "request": { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_On_Call_schedule_returns_OK_response-1748494438@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_On_Call_schedule_returns_OK_response-1764252697@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 685, + "bodySize": 708, "content": { "mimeType": "application/json", - "size": 685, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"eedd114a-3c48-11f0-927d-aedf77869272\",\"attributes\":{\"name\":null,\"handle\":\"test-get_on_call_schedule_returns_ok_response-1748494438@datadoghq.com\",\"created_at\":\"2025-05-29T04:53:59.126285+00:00\",\"modified_at\":\"2025-05-29T04:53:59.126285+00:00\",\"email\":\"test-get_on_call_schedule_returns_ok_response-1748494438@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/0accc7b5a2e934dd438cd3b30841dcad?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 708, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"fd12eb55-cb9a-11f0-8fcd-5ac0b02adf59\",\"attributes\":{\"name\":null,\"handle\":\"test-get_on_call_schedule_returns_ok_response-1764252697@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:37.976362+00:00\",\"modified_at\":\"2025-11-27T14:11:37.976362+00:00\",\"email\":\"test-get_on_call_schedule_returns_ok_response-1764252697@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/56aea300d0912ed694b8ff04cfcc86aa?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/json" } ], - "headersSize": 680, + "headersSize": 681, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:58.514Z", - "time": 700 + "startedDateTime": "2025-11-27T14:11:37.614Z", + "time": 450 }, { - "_id": "da807331de09b0fadbc3ed9b0712728c", + "_id": "8d2017befe1df02e088f65fcd98c3347", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:53:58.508Z\",\"end_date\":\"2025-06-08T04:53:58.508Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"eedd114a-3c48-11f0-927d-aedf77869272\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:53:58.508Z\"}],\"name\":\"Test-Get_On_Call_schedule_returns_OK_response-1748494438\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:37.612Z\",\"end_date\":\"2025-12-07T14:11:37.612Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"fd12eb55-cb9a-11f0-8fcd-5ac0b02adf59\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:37.612Z\"}],\"name\":\"Test-Get_On_Call_schedule_returns_OK_response-1764252697\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 365, - "text": "{\"data\":{\"id\":\"cec4edfd-3f99-4da9-bd71-75c80c5629f8\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_On_Call_schedule_returns_OK_response-1748494438\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"9f5d591e-e81b-4262-b0cd-145b52b9f23f\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"ba513209-ef94-4826-8511-1c5ccb912070\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_On_Call_schedule_returns_OK_response-1764252697\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"9bb587a7-8302-49f3-8130-cb417de4ecd5\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:53:59.223Z", - "time": 616 + "startedDateTime": "2025-11-27T14:11:38.069Z", + "time": 1155 }, { - "_id": "6eea9c95b9896e3fa0c7f3ea9b6fb4c9", + "_id": "0b4f532f0733ce3261a05b17440d5bf9", "_order": 0, "cache": {}, "request": { @@ -131,14 +131,14 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/cec4edfd-3f99-4da9-bd71-75c80c5629f8" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/ba513209-ef94-4826-8511-1c5ccb912070" }, "response": { "bodySize": 365, "content": { "mimeType": "application/vnd.api+json", "size": 365, - "text": "{\"data\":{\"id\":\"cec4edfd-3f99-4da9-bd71-75c80c5629f8\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_On_Call_schedule_returns_OK_response-1748494438\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"9f5d591e-e81b-4262-b0cd-145b52b9f23f\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"ba513209-ef94-4826-8511-1c5ccb912070\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_On_Call_schedule_returns_OK_response-1764252697\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"9bb587a7-8302-49f3-8130-cb417de4ecd5\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -153,11 +153,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-05-29T04:53:59.850Z", - "time": 606 + "startedDateTime": "2025-11-27T14:11:39.232Z", + "time": 416 }, { - "_id": "680d12b72d5655eef4da6e1f42eab632", + "_id": "0682768383b3803f27cc6a8566608e81", "_order": 0, "cache": {}, "request": { @@ -174,7 +174,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/cec4edfd-3f99-4da9-bd71-75c80c5629f8" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/ba513209-ef94-4826-8511-1c5ccb912070" }, "response": { "bodySize": 0, @@ -190,11 +190,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:54:00.471Z", - "time": 623 + "startedDateTime": "2025-11-27T14:11:39.654Z", + "time": 2059 }, { - "_id": "6dddee96a8ee140da1b87a9f1f9b0cf3", + "_id": "91af43a85837c1b11d8d6b87d5950b75", "_order": 0, "cache": {}, "request": { @@ -211,7 +211,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/eedd114a-3c48-11f0-927d-aedf77869272" + "url": "https://api.datadoghq.com/api/v2/users/fd12eb55-cb9a-11f0-8fcd-5ac0b02adf59" }, "response": { "bodySize": 0, @@ -227,8 +227,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:54:01.100Z", - "time": 837 + "startedDateTime": "2025-11-27T14:11:41.719Z", + "time": 568 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Get-team-on-call-users-returns-OK-response_2823884950/frozen.json b/cassettes/v2/On-Call_446749911/Get-team-on-call-users-returns-OK-response_2823884950/frozen.json index 408349f58fca..84ec88592e5c 100644 --- a/cassettes/v2/On-Call_446749911/Get-team-on-call-users-returns-OK-response_2823884950/frozen.json +++ b/cassettes/v2/On-Call_446749911/Get-team-on-call-users-returns-OK-response_2823884950/frozen.json @@ -1 +1 @@ -"2025-11-18T12:44:29.751Z" +"2025-11-27T14:11:42.299Z" diff --git a/cassettes/v2/On-Call_446749911/Get-team-on-call-users-returns-OK-response_2823884950/recording.har b/cassettes/v2/On-Call_446749911/Get-team-on-call-users-returns-OK-response_2823884950/recording.har index ea74c52bdfea..aefc8066c893 100644 --- a/cassettes/v2/On-Call_446749911/Get-team-on-call-users-returns-OK-response_2823884950/recording.har +++ b/cassettes/v2/On-Call_446749911/Get-team-on-call-users-returns-OK-response_2823884950/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "63d8850297233aa70205e81d41d737fe", + "_id": "42fc75d305df814fc3ba71c951659fe1", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_team_on_call_users_returns_OK_response-1763469869@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_team_on_call_users_returns_OK_response-1764252702@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/json", "size": 712, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"537c2919-c47c-11f0-9b08-ce88c9776d95\",\"attributes\":{\"name\":null,\"handle\":\"test-get_team_on_call_users_returns_ok_response-1763469869@datadoghq.com\",\"created_at\":\"2025-11-18T12:44:30.412060+00:00\",\"modified_at\":\"2025-11-18T12:44:30.412060+00:00\",\"email\":\"test-get_team_on_call_users_returns_ok_response-1763469869@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/e1a08271c5b3a54aaa074185b1550add?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"ffde914a-cb9a-11f0-ae87-2a5e5028fcef\",\"attributes\":{\"name\":null,\"handle\":\"test-get_team_on_call_users_returns_ok_response-1764252702@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:42.666467+00:00\",\"modified_at\":\"2025-11-27T14:11:42.666467+00:00\",\"email\":\"test-get_team_on_call_users_returns_ok_response-1764252702@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/0bc277f36ed2ab487375205fafaaebc7?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-11-18T12:44:29.757Z", - "time": 804 + "startedDateTime": "2025-11-27T14:11:42.302Z", + "time": 461 }, { - "_id": "b22aa90a3e3f97e976abde2eb3255ae2", + "_id": "ca9101212da889447cc0822383011728", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-b0479fe6a2cd9873\",\"name\":\"test-name-b0479fe6a2cd9873\"},\"type\":\"team\"}}" + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ecfc4ff61997ed40\",\"name\":\"test-name-ecfc4ff61997ed40\"},\"type\":\"team\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/team" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 661, - "text": "{\"data\":{\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":15,\"created_at\":\"2025-11-18T12:44:31.250613+00:00\",\"description\":null,\"handle\":\"test-handle-b0479fe6a2cd9873\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-18T12:44:31.250613+00:00\",\"name\":\"test-name-b0479fe6a2cd9873\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/11ba6480-761b-4dbd-b4a0-c77a9df6740c/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/11ba6480-761b-4dbd-b4a0-c77a9df6740c/permission-settings\"}}}}}" + "text": "{\"data\":{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":11,\"created_at\":\"2025-11-27T14:11:43.090563+00:00\",\"description\":null,\"handle\":\"test-handle-ecfc4ff61997ed40\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-27T14:11:43.090563+00:00\",\"name\":\"test-name-ecfc4ff61997ed40\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/fc8f8844-54c3-4898-aabc-68d6fccbe20e/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/fc8f8844-54c3-4898-aabc-68d6fccbe20e/permission-settings\"}}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-11-18T12:44:30.584Z", - "time": 847 + "startedDateTime": "2025-11-27T14:11:42.769Z", + "time": 424 }, { - "_id": "e1fe73f1b557b9ed473da3a5df93a49a", + "_id": "4ab7208aec898a63da29bc0ec0ea3b66", "_order": 0, "cache": {}, "request": { @@ -138,7 +138,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-08T12:44:29.751Z\",\"end_date\":\"2025-11-28T12:44:29.751Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"537c2919-c47c-11f0-9b08-ce88c9776d95\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-13T12:44:29.751Z\"}],\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1763469869\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:42.299Z\",\"end_date\":\"2025-12-07T14:11:42.299Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"ffde914a-cb9a-11f0-ae87-2a5e5028fcef\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:42.299Z\"}],\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1764252702\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -148,7 +148,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 367, - "text": "{\"data\":{\"id\":\"3be141a8-848d-4af1-86de-e5d76cd6e4fc\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1763469869\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"0c2a552f-a2e0-47ca-ad8b-4407608b3f67\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"4325ddef-dc72-4609-90c2-01167759f277\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1764252702\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"86d3719a-7516-46f0-bfc4-2bd40ad1b855\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -163,15 +163,15 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-11-18T12:44:31.442Z", - "time": 345 + "startedDateTime": "2025-11-27T14:11:43.202Z", + "time": 443 }, { - "_id": "2df297d35324bfa3fc057e59cdba417f", + "_id": "dcd1a5fc7c916d51e6c9df3916b89e9b", "_order": 0, "cache": {}, "request": { - "bodySize": 651, + "bodySize": 762, "cookies": [], "headers": [ { @@ -191,7 +191,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1763469869\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"teams\"},{\"id\":\"3be141a8-848d-4af1-86de-e5d76cd6e4fc\",\"type\":\"schedules\"},{\"id\":\"537c2919-c47c-11f0-9b08-ce88c9776d95\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" + "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1764252702\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"teams\"},{\"id\":\"4325ddef-dc72-4609-90c2-01167759f277\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"4325ddef-dc72-4609-90c2-01167759f277\",\"type\":\"schedules\"},{\"id\":\"ffde914a-cb9a-11f0-ae87-2a5e5028fcef\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" @@ -201,7 +201,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 440, - "text": "{\"data\":{\"id\":\"5fe7a7c8-a2c1-4f07-9510-a5d483df5ae7\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1763469869\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"11f436b4-85bf-47c8-ab21-e851974ccf60\",\"type\":\"steps\"},{\"id\":\"6f0da5a9-4b7d-4d12-a859-4799599f074d\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"5a7ecb26-4ebe-4496-bcfb-ff30c655a1a9\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Get_team_on_call_users_returns_OK_response-1764252702\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"2694ac87-8900-4b0f-a108-fb8961c7ef89\",\"type\":\"steps\"},{\"id\":\"e41057da-895e-4a23-81f2-617f61c53a84\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -216,11 +216,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-11-18T12:44:31.794Z", - "time": 694 + "startedDateTime": "2025-11-27T14:11:43.651Z", + "time": 520 }, { - "_id": "9ce3e78ab3f5ecbbba29c62840172d27", + "_id": "1cf754c3bce60add1dc469208d43d007", "_order": 0, "cache": {}, "request": { @@ -244,17 +244,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"rules\":[{\"actions\":[],\"policy_id\":\"5fe7a7c8-a2c1-4f07-9510-a5d483df5ae7\",\"query\":\"\",\"urgency\":\"low\"}]},\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"team_routing_rules\"}}" + "text": "{\"data\":{\"attributes\":{\"rules\":[{\"actions\":[],\"policy_id\":\"5a7ecb26-4ebe-4496-bcfb-ff30c655a1a9\",\"query\":\"\",\"urgency\":\"low\"}]},\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"team_routing_rules\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/teams/11ba6480-761b-4dbd-b4a0-c77a9df6740c/routing-rules" + "url": "https://api.datadoghq.com/api/v2/on-call/teams/fc8f8844-54c3-4898-aabc-68d6fccbe20e/routing-rules" }, "response": { "bodySize": 208, "content": { "mimeType": "application/vnd.api+json", "size": 208, - "text": "{\"data\":{\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"team_routing_rules\",\"relationships\":{\"rules\":{\"data\":[{\"id\":\"virtual-11ba6480-761b-4dbd-b4a0-c77a9df6740c-rule-0\",\"type\":\"team_routing_rules\"}]}}}}" + "text": "{\"data\":{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"team_routing_rules\",\"relationships\":{\"rules\":{\"data\":[{\"id\":\"virtual-fc8f8844-54c3-4898-aabc-68d6fccbe20e-rule-0\",\"type\":\"team_routing_rules\"}]}}}}" }, "cookies": [], "headers": [ @@ -269,11 +269,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-18T12:44:32.503Z", - "time": 505 + "startedDateTime": "2025-11-27T14:11:44.179Z", + "time": 437 }, { - "_id": "89d378d2694ce27a4ad43f3b5047f024", + "_id": "09fd219c402d46ce881facc06fe50eae", "_order": 0, "cache": {}, "request": { @@ -295,14 +295,14 @@ "value": "responders,escalations.responders" } ], - "url": "https://api.datadoghq.com/api/v2/on-call/teams/11ba6480-761b-4dbd-b4a0-c77a9df6740c/on-call?include=responders%2Cescalations.responders" + "url": "https://api.datadoghq.com/api/v2/on-call/teams/fc8f8844-54c3-4898-aabc-68d6fccbe20e/on-call?include=responders%2Cescalations.responders" }, "response": { "bodySize": 427, "content": { "mimeType": "application/vnd.api+json", "size": 427, - "text": "{\"data\":{\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c-1763469873\",\"type\":\"team_oncall_responders\",\"relationships\":{\"escalations\":{\"data\":[]},\"responders\":{\"data\":[{\"id\":\"537c2919-c47c-11f0-9b08-ce88c9776d95\",\"type\":\"users\"}]}}},\"included\":[{\"id\":\"537c2919-c47c-11f0-9b08-ce88c9776d95\",\"type\":\"users\",\"attributes\":{\"email\":\"test-get_team_on_call_users_returns_ok_response-1763469869@datadoghq.com\",\"name\":\"\",\"status\":\"pending\"}}]}" + "text": "{\"data\":{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e-1764252704\",\"type\":\"team_oncall_responders\",\"relationships\":{\"escalations\":{\"data\":[]},\"responders\":{\"data\":[{\"id\":\"ffde914a-cb9a-11f0-ae87-2a5e5028fcef\",\"type\":\"users\"}]}}},\"included\":[{\"id\":\"ffde914a-cb9a-11f0-ae87-2a5e5028fcef\",\"type\":\"users\",\"attributes\":{\"email\":\"test-get_team_on_call_users_returns_ok_response-1764252702@datadoghq.com\",\"name\":\"\",\"status\":\"pending\"}}]}" }, "cookies": [], "headers": [ @@ -317,11 +317,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-18T12:44:33.032Z", - "time": 445 + "startedDateTime": "2025-11-27T14:11:44.624Z", + "time": 466 }, { - "_id": "102aca23767ede23003229968dd4ec4b", + "_id": "03be28566d7514e3dcd6e31fa8c3597e", "_order": 0, "cache": {}, "request": { @@ -345,17 +345,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"rules\":[]},\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"team_routing_rules\"}}" + "text": "{\"data\":{\"attributes\":{\"rules\":[]},\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"team_routing_rules\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/teams/11ba6480-761b-4dbd-b4a0-c77a9df6740c/routing-rules" + "url": "https://api.datadoghq.com/api/v2/on-call/teams/fc8f8844-54c3-4898-aabc-68d6fccbe20e/routing-rules" }, "response": { "bodySize": 120, "content": { "mimeType": "application/vnd.api+json", "size": 120, - "text": "{\"data\":{\"id\":\"11ba6480-761b-4dbd-b4a0-c77a9df6740c\",\"type\":\"team_routing_rules\",\"relationships\":{\"rules\":{\"data\":[]}}}}" + "text": "{\"data\":{\"id\":\"fc8f8844-54c3-4898-aabc-68d6fccbe20e\",\"type\":\"team_routing_rules\",\"relationships\":{\"rules\":{\"data\":[]}}}}" }, "cookies": [], "headers": [ @@ -370,11 +370,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-18T12:44:33.495Z", - "time": 478 + "startedDateTime": "2025-11-27T14:11:45.098Z", + "time": 458 }, { - "_id": "6e425c1be8a5189559fc500f16267124", + "_id": "7e123e654fa83ae6f9673319eec1cfe0", "_order": 0, "cache": {}, "request": { @@ -391,7 +391,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/5fe7a7c8-a2c1-4f07-9510-a5d483df5ae7" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/5a7ecb26-4ebe-4496-bcfb-ff30c655a1a9" }, "response": { "bodySize": 0, @@ -407,11 +407,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-11-18T12:44:33.982Z", - "time": 427 + "startedDateTime": "2025-11-27T14:11:45.563Z", + "time": 422 }, { - "_id": "a7c55cdb9ddf307a483a43156deab580", + "_id": "e0ae89f5b9261020f6ffebd10343e10c", "_order": 0, "cache": {}, "request": { @@ -428,7 +428,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/3be141a8-848d-4af1-86de-e5d76cd6e4fc" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/4325ddef-dc72-4609-90c2-01167759f277" }, "response": { "bodySize": 0, @@ -444,11 +444,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-11-18T12:44:34.417Z", - "time": 456 + "startedDateTime": "2025-11-27T14:11:45.989Z", + "time": 438 }, { - "_id": "39e7b285cea62fd7d1e6e0b80bed70b9", + "_id": "ab2a7b8ffb980efbdb109271bf696130", "_order": 0, "cache": {}, "request": { @@ -465,7 +465,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/team/11ba6480-761b-4dbd-b4a0-c77a9df6740c" + "url": "https://api.datadoghq.com/api/v2/team/fc8f8844-54c3-4898-aabc-68d6fccbe20e" }, "response": { "bodySize": 0, @@ -481,11 +481,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-11-18T12:44:34.883Z", - "time": 559 + "startedDateTime": "2025-11-27T14:11:46.432Z", + "time": 557 }, { - "_id": "2253d3eb439194df26b9ec13bc9149e9", + "_id": "5090a1c39f46a92c4bb54651b5518ee4", "_order": 0, "cache": {}, "request": { @@ -502,7 +502,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/537c2919-c47c-11f0-9b08-ce88c9776d95" + "url": "https://api.datadoghq.com/api/v2/users/ffde914a-cb9a-11f0-ae87-2a5e5028fcef" }, "response": { "bodySize": 0, @@ -518,8 +518,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-11-18T12:44:35.453Z", - "time": 566 + "startedDateTime": "2025-11-27T14:11:46.993Z", + "time": 629 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Get-the-schedule-on-call-user-returns-OK-response_4196899322/frozen.json b/cassettes/v2/On-Call_446749911/Get-the-schedule-on-call-user-returns-OK-response_4196899322/frozen.json index 6064f7df7f46..7671b38f8dce 100644 --- a/cassettes/v2/On-Call_446749911/Get-the-schedule-on-call-user-returns-OK-response_4196899322/frozen.json +++ b/cassettes/v2/On-Call_446749911/Get-the-schedule-on-call-user-returns-OK-response_4196899322/frozen.json @@ -1 +1 @@ -"2025-05-29T04:54:08.864Z" +"2025-11-27T14:11:47.631Z" diff --git a/cassettes/v2/On-Call_446749911/Get-the-schedule-on-call-user-returns-OK-response_4196899322/recording.har b/cassettes/v2/On-Call_446749911/Get-the-schedule-on-call-user-returns-OK-response_4196899322/recording.har index d6368f0a9a8a..198fc49832ea 100644 --- a/cassettes/v2/On-Call_446749911/Get-the-schedule-on-call-user-returns-OK-response_4196899322/recording.har +++ b/cassettes/v2/On-Call_446749911/Get-the-schedule-on-call-user-returns-OK-response_4196899322/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "1e12d53076a5c838db22b95700d937f7", + "_id": "f2592e5f27684cf1127ffb6994dbb296", "_order": 0, "cache": {}, "request": { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_the_schedule_on_call_user_returns_OK_response-1748494448@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Get_the_schedule_on_call_user_returns_OK_response-1764252707@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 703, + "bodySize": 726, "content": { "mimeType": "application/json", - "size": 703, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"f506d945-3c48-11f0-b6eb-6e406f40657f\",\"attributes\":{\"name\":null,\"handle\":\"test-get_the_schedule_on_call_user_returns_ok_response-1748494448@datadoghq.com\",\"created_at\":\"2025-05-29T04:54:09.466437+00:00\",\"modified_at\":\"2025-05-29T04:54:09.466437+00:00\",\"email\":\"test-get_the_schedule_on_call_user_returns_ok_response-1748494448@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/6c6e9988bfb6ab3c5c5ae2111d47fc54?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 726, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"030e767a-cb9b-11f0-8fcd-5ac0b02adf59\",\"attributes\":{\"name\":null,\"handle\":\"test-get_the_schedule_on_call_user_returns_ok_response-1764252707@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:48.013486+00:00\",\"modified_at\":\"2025-11-27T14:11:48.013486+00:00\",\"email\":\"test-get_the_schedule_on_call_user_returns_ok_response-1764252707@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/a9e8940d153698e24c0b29024875d46f?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:54:08.867Z", - "time": 681 + "startedDateTime": "2025-11-27T14:11:47.635Z", + "time": 469 }, { - "_id": "5c1053daa726e11fba71521d0b4e3906", + "_id": "5dfe96b65e236697ab1126519ef0bf70", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:54:08.864Z\",\"end_date\":\"2025-06-08T04:54:08.864Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"f506d945-3c48-11f0-b6eb-6e406f40657f\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:54:08.864Z\"}],\"name\":\"Test-Get_the_schedule_on_call_user_returns_OK_response-1748494448\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:47.631Z\",\"end_date\":\"2025-12-07T14:11:47.631Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"030e767a-cb9b-11f0-8fcd-5ac0b02adf59\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:47.631Z\"}],\"name\":\"Test-Get_the_schedule_on_call_user_returns_OK_response-1764252707\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 374, - "text": "{\"data\":{\"id\":\"3e8644f0-f579-4459-8cb3-e585cd817db1\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_the_schedule_on_call_user_returns_OK_response-1748494448\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"00847dac-89e7-4a60-8e72-9a5897a3a1e5\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"93a33505-71dc-4be4-a55d-95eb23b6b400\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Get_the_schedule_on_call_user_returns_OK_response-1764252707\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"c9addf6a-059c-4b07-aced-a2c287fd969f\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:54:09.560Z", - "time": 642 + "startedDateTime": "2025-11-27T14:11:48.111Z", + "time": 440 }, { - "_id": "1b5ef1b384c18605bbdf2716815acf6a", + "_id": "39e441da955dc16cd1e693330774196f", "_order": 0, "cache": {}, "request": { @@ -131,14 +131,14 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/3e8644f0-f579-4459-8cb3-e585cd817db1/on-call" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/93a33505-71dc-4be4-a55d-95eb23b6b400/on-call" }, "response": { - "bodySize": 309, + "bodySize": 308, "content": { "mimeType": "application/vnd.api+json", - "size": 309, - "text": "{\"data\":{\"id\":\"f506d945-3c48-11f0-b6eb-6e406f40657f-2025-05-29T00:54:10-04:00-2025-05-30T00:54:08-04:00\",\"type\":\"shifts\",\"attributes\":{\"end\":\"2025-05-30T00:54:08-04:00\",\"start\":\"2025-05-29T00:54:10.138754-04:00\"},\"relationships\":{\"user\":{\"data\":{\"id\":\"f506d945-3c48-11f0-b6eb-6e406f40657f\",\"type\":\"users\"}}}}}" + "size": 308, + "text": "{\"data\":{\"id\":\"030e767a-cb9b-11f0-8fcd-5ac0b02adf59-2025-11-27T09:11:48-05:00-2025-11-28T09:11:47-05:00\",\"type\":\"shifts\",\"attributes\":{\"end\":\"2025-11-28T09:11:47-05:00\",\"start\":\"2025-11-27T09:11:48.47496-05:00\"},\"relationships\":{\"user\":{\"data\":{\"id\":\"030e767a-cb9b-11f0-8fcd-5ac0b02adf59\",\"type\":\"users\"}}}}}" }, "cookies": [], "headers": [ @@ -153,11 +153,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-05-29T04:54:10.215Z", - "time": 607 + "startedDateTime": "2025-11-27T14:11:48.560Z", + "time": 389 }, { - "_id": "ff710b2e63c2ae3aa16b1b58c64e8a17", + "_id": "0d43106dea02c4f7744b6acdce88d57a", "_order": 0, "cache": {}, "request": { @@ -174,7 +174,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/3e8644f0-f579-4459-8cb3-e585cd817db1" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/93a33505-71dc-4be4-a55d-95eb23b6b400" }, "response": { "bodySize": 0, @@ -190,11 +190,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:54:10.831Z", - "time": 619 + "startedDateTime": "2025-11-27T14:11:48.958Z", + "time": 427 }, { - "_id": "d2b0367ff598fade7825d837d4b47de3", + "_id": "818bd98d114a84cedad8501f35d2e638", "_order": 0, "cache": {}, "request": { @@ -211,7 +211,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/f506d945-3c48-11f0-b6eb-6e406f40657f" + "url": "https://api.datadoghq.com/api/v2/users/030e767a-cb9b-11f0-8fcd-5ac0b02adf59" }, "response": { "bodySize": 0, @@ -227,8 +227,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:54:11.459Z", - "time": 764 + "startedDateTime": "2025-11-27T14:11:49.391Z", + "time": 562 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Set-On-Call-team-routing-rules-returns-OK-response_1745526811/frozen.json b/cassettes/v2/On-Call_446749911/Set-On-Call-team-routing-rules-returns-OK-response_1745526811/frozen.json index e61cecad55eb..ffff81d4e3d2 100644 --- a/cassettes/v2/On-Call_446749911/Set-On-Call-team-routing-rules-returns-OK-response_1745526811/frozen.json +++ b/cassettes/v2/On-Call_446749911/Set-On-Call-team-routing-rules-returns-OK-response_1745526811/frozen.json @@ -1 +1 @@ -"2025-11-18T13:04:14.085Z" +"2025-11-27T14:11:49.966Z" diff --git a/cassettes/v2/On-Call_446749911/Set-On-Call-team-routing-rules-returns-OK-response_1745526811/recording.har b/cassettes/v2/On-Call_446749911/Set-On-Call-team-routing-rules-returns-OK-response_1745526811/recording.har index 1d74e8e92073..0c16fc94a991 100644 --- a/cassettes/v2/On-Call_446749911/Set-On-Call-team-routing-rules-returns-OK-response_1745526811/recording.har +++ b/cassettes/v2/On-Call_446749911/Set-On-Call-team-routing-rules-returns-OK-response_1745526811/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "bc0c68449b503db1e0baa59e550db2f1", + "_id": "07055f7d82b7f7c5900fec8976ba7ab7", "_order": 0, "cache": {}, "request": { @@ -26,13 +26,13 @@ "value": "application/json" } ], - "headersSize": 549, + "headersSize": 550, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1763471054@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1764252709@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/json", "size": 728, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"15c47aed-c47f-11f0-9f0b-be6d33dcd787\",\"attributes\":{\"name\":null,\"handle\":\"test-set_on_call_team_routing_rules_returns_ok_response-1763471054@datadoghq.com\",\"created_at\":\"2025-11-18T13:04:15.357470+00:00\",\"modified_at\":\"2025-11-18T13:04:15.357470+00:00\",\"email\":\"test-set_on_call_team_routing_rules_returns_ok_response-1763471054@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/958eeb5c5b80b7b5b4ec2f1794031763?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"0473ca92-cb9b-11f0-85f9-9a82ffe01443\",\"attributes\":{\"name\":null,\"handle\":\"test-set_on_call_team_routing_rules_returns_ok_response-1764252709@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:50.355271+00:00\",\"modified_at\":\"2025-11-27T14:11:50.355271+00:00\",\"email\":\"test-set_on_call_team_routing_rules_returns_ok_response-1764252709@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/ad92f892fdf302962d879c0d02664d8e?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-11-18T13:04:15.058Z", - "time": 373 + "startedDateTime": "2025-11-27T14:11:49.970Z", + "time": 472 }, { - "_id": "4b48a9b52d1dbe112ec4ecd259d28e78", + "_id": "b2cc82267752de843639fd21eea86f85", "_order": 0, "cache": {}, "request": { @@ -79,23 +79,23 @@ "value": "application/json" } ], - "headersSize": 548, + "headersSize": 549, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-f77a37b001e848f1\",\"name\":\"test-name-f77a37b001e848f1\"},\"type\":\"team\"}}" + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-a7692378c203a880\",\"name\":\"test-name-a7692378c203a880\"},\"type\":\"team\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/team" }, "response": { - "bodySize": 660, + "bodySize": 661, "content": { "mimeType": "application/vnd.api+json", - "size": 660, - "text": "{\"data\":{\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":6,\"created_at\":\"2025-11-18T13:04:15.712638+00:00\",\"description\":null,\"handle\":\"test-handle-f77a37b001e848f1\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-18T13:04:15.712638+00:00\",\"name\":\"test-name-f77a37b001e848f1\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/8ab3f777-435e-42b6-8511-0c9020365b8d/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/8ab3f777-435e-42b6-8511-0c9020365b8d/permission-settings\"}}}}}" + "size": 661, + "text": "{\"data\":{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":14,\"created_at\":\"2025-11-27T14:11:50.842947+00:00\",\"description\":null,\"handle\":\"test-handle-a7692378c203a880\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-27T14:11:50.842947+00:00\",\"name\":\"test-name-a7692378c203a880\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/ba4fe917-0da4-4b40-96da-f9d7306d97d8/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/ba4fe917-0da4-4b40-96da-f9d7306d97d8/permission-settings\"}}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-11-18T13:04:15.445Z", - "time": 348 + "startedDateTime": "2025-11-27T14:11:50.448Z", + "time": 495 }, { - "_id": "3e61253779aeae111999ede5265f096b", + "_id": "44fc32335f8b1f37316cd7a745aee094", "_order": 0, "cache": {}, "request": { @@ -132,13 +132,13 @@ "value": "application/json" } ], - "headersSize": 570, + "headersSize": 572, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-08T13:04:14.085Z\",\"end_date\":\"2025-11-28T13:04:14.085Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"15c47aed-c47f-11f0-9f0b-be6d33dcd787\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-13T13:04:14.085Z\"}],\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1763471054\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:49.966Z\",\"end_date\":\"2025-12-07T14:11:49.966Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"0473ca92-cb9b-11f0-85f9-9a82ffe01443\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:49.966Z\"}],\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1764252709\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -148,7 +148,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 375, - "text": "{\"data\":{\"id\":\"10ab1649-e333-41ac-9271-3484b87939a7\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1763471054\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"f0e28d78-8563-4d83-8d67-0b079bd7fab7\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"1f9b0595-17a3-4d95-9b2e-edcea3b6e737\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1764252709\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"0eecb6fe-83c6-48c9-9e0e-82379498f733\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -163,15 +163,15 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-11-18T13:04:15.799Z", - "time": 268 + "startedDateTime": "2025-11-27T14:11:50.949Z", + "time": 423 }, { - "_id": "87915a697808ad5eea435b9665936dd6", + "_id": "9b1f112eed9b24a3439d609848b84864", "_order": 0, "cache": {}, "request": { - "bodySize": 659, + "bodySize": 770, "cookies": [], "headers": [ { @@ -185,13 +185,13 @@ "value": "application/json" } ], - "headersSize": 589, + "headersSize": 590, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1763471054\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"teams\"},{\"id\":\"10ab1649-e333-41ac-9271-3484b87939a7\",\"type\":\"schedules\"},{\"id\":\"15c47aed-c47f-11f0-9f0b-be6d33dcd787\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" + "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1764252709\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"teams\"},{\"id\":\"1f9b0595-17a3-4d95-9b2e-edcea3b6e737\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"1f9b0595-17a3-4d95-9b2e-edcea3b6e737\",\"type\":\"schedules\"},{\"id\":\"0473ca92-cb9b-11f0-85f9-9a82ffe01443\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" @@ -201,7 +201,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 448, - "text": "{\"data\":{\"id\":\"ad66e3aa-4df4-4ab0-b928-03abd68cc44e\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1763471054\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"975ba331-0aaa-4878-9660-c1f580b01711\",\"type\":\"steps\"},{\"id\":\"4b342992-de9c-4163-9360-ee63a115519a\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"66f0e922-2834-4d68-aa0b-98cc81fc2a9d\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Set_On_Call_team_routing_rules_returns_OK_response-1764252709\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"533f661e-6a1f-4327-8d3f-035add94cff8\",\"type\":\"steps\"},{\"id\":\"b8948730-6aec-4a51-8662-cce4026b94dc\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -216,11 +216,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-11-18T13:04:16.072Z", - "time": 284 + "startedDateTime": "2025-11-27T14:11:51.380Z", + "time": 456 }, { - "_id": "6a3efee15b3c1bf7832c4d231d8b604c", + "_id": "c9970e7e9ed5a6607997ac6316dafd27", "_order": 0, "cache": {}, "request": { @@ -238,13 +238,13 @@ "value": "application/json" } ], - "headersSize": 636, + "headersSize": 637, "httpVersion": "HTTP/1.1", "method": "PUT", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"rules\":[{\"actions\":[{\"channel\":\"channel\",\"type\":\"send_slack_message\",\"workspace\":\"workspace\"}],\"query\":\"tags.service:test\",\"time_restriction\":{\"restrictions\":[{\"end_day\":\"monday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"},{\"end_day\":\"tuesday\",\"end_time\":\"17:00:00\",\"start_day\":\"tuesday\",\"start_time\":\"09:00:00\"}],\"time_zone\":\"Europe/Paris\"}},{\"policy_id\":\"ad66e3aa-4df4-4ab0-b928-03abd68cc44e\",\"query\":\"\",\"urgency\":\"low\"}]},\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"team_routing_rules\"}}" + "text": "{\"data\":{\"attributes\":{\"rules\":[{\"actions\":[{\"channel\":\"channel\",\"type\":\"send_slack_message\",\"workspace\":\"workspace\"}],\"query\":\"tags.service:test\",\"time_restriction\":{\"restrictions\":[{\"end_day\":\"monday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"},{\"end_day\":\"tuesday\",\"end_time\":\"17:00:00\",\"start_day\":\"tuesday\",\"start_time\":\"09:00:00\"}],\"time_zone\":\"Europe/Paris\"}},{\"policy_id\":\"66f0e922-2834-4d68-aa0b-98cc81fc2a9d\",\"query\":\"\",\"urgency\":\"low\"}]},\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"team_routing_rules\"}}" }, "queryString": [ { @@ -252,14 +252,14 @@ "value": "rules" } ], - "url": "https://api.datadoghq.com/api/v2/on-call/teams/8ab3f777-435e-42b6-8511-0c9020365b8d/routing-rules?include=rules" + "url": "https://api.datadoghq.com/api/v2/on-call/teams/ba4fe917-0da4-4b40-96da-f9d7306d97d8/routing-rules?include=rules" }, "response": { "bodySize": 1056, "content": { "mimeType": "application/vnd.api+json", "size": 1056, - "text": "{\"data\":{\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"team_routing_rules\",\"relationships\":{\"rules\":{\"data\":[{\"id\":\"virtual-8ab3f777-435e-42b6-8511-0c9020365b8d-rule-0\",\"type\":\"team_routing_rules\"},{\"id\":\"virtual-8ab3f777-435e-42b6-8511-0c9020365b8d-rule-1\",\"type\":\"team_routing_rules\"}]}}},\"included\":[{\"id\":\"virtual-8ab3f777-435e-42b6-8511-0c9020365b8d-rule-0\",\"type\":\"team_routing_rules\",\"attributes\":{\"actions\":[{\"type\":\"send_slack_message\",\"channel\":\"channel\",\"workspace\":\"workspace\"}],\"query\":\"tags.service:test\",\"time_restriction\":{\"time_zone\":\"Europe/Paris\",\"restrictions\":[{\"start_time\":\"09:00:00\",\"start_day\":\"monday\",\"end_time\":\"17:00:00\",\"end_day\":\"monday\"},{\"start_time\":\"09:00:00\",\"start_day\":\"tuesday\",\"end_time\":\"17:00:00\",\"end_day\":\"tuesday\"}]}},\"relationships\":{\"policy\":{\"data\":null}}},{\"id\":\"virtual-8ab3f777-435e-42b6-8511-0c9020365b8d-rule-1\",\"type\":\"team_routing_rules\",\"attributes\":{\"actions\":[],\"query\":\"\",\"urgency\":\"low\"},\"relationships\":{\"policy\":{\"data\":{\"id\":\"ad66e3aa-4df4-4ab0-b928-03abd68cc44e\",\"type\":\"policies\"}}}}]}" + "text": "{\"data\":{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"team_routing_rules\",\"relationships\":{\"rules\":{\"data\":[{\"id\":\"virtual-ba4fe917-0da4-4b40-96da-f9d7306d97d8-rule-0\",\"type\":\"team_routing_rules\"},{\"id\":\"virtual-ba4fe917-0da4-4b40-96da-f9d7306d97d8-rule-1\",\"type\":\"team_routing_rules\"}]}}},\"included\":[{\"id\":\"virtual-ba4fe917-0da4-4b40-96da-f9d7306d97d8-rule-0\",\"type\":\"team_routing_rules\",\"attributes\":{\"actions\":[{\"type\":\"send_slack_message\",\"channel\":\"channel\",\"workspace\":\"workspace\"}],\"query\":\"tags.service:test\",\"time_restriction\":{\"time_zone\":\"Europe/Paris\",\"restrictions\":[{\"start_time\":\"09:00:00\",\"start_day\":\"monday\",\"end_time\":\"17:00:00\",\"end_day\":\"monday\"},{\"start_time\":\"09:00:00\",\"start_day\":\"tuesday\",\"end_time\":\"17:00:00\",\"end_day\":\"tuesday\"}]}},\"relationships\":{\"policy\":{\"data\":null}}},{\"id\":\"virtual-ba4fe917-0da4-4b40-96da-f9d7306d97d8-rule-1\",\"type\":\"team_routing_rules\",\"attributes\":{\"actions\":[],\"query\":\"\",\"urgency\":\"low\"},\"relationships\":{\"policy\":{\"data\":{\"id\":\"66f0e922-2834-4d68-aa0b-98cc81fc2a9d\",\"type\":\"policies\"}}}}]}" }, "cookies": [], "headers": [ @@ -274,11 +274,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-18T13:04:16.363Z", - "time": 275 + "startedDateTime": "2025-11-27T14:11:51.847Z", + "time": 442 }, { - "_id": "2c30a450c62483c92cdf496f9b231544", + "_id": "8e16cbe74c6d421444df932c13079e00", "_order": 0, "cache": {}, "request": { @@ -296,23 +296,23 @@ "value": "application/json" } ], - "headersSize": 622, + "headersSize": 623, "httpVersion": "HTTP/1.1", "method": "PUT", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"rules\":[]},\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"team_routing_rules\"}}" + "text": "{\"data\":{\"attributes\":{\"rules\":[]},\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"team_routing_rules\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/teams/8ab3f777-435e-42b6-8511-0c9020365b8d/routing-rules" + "url": "https://api.datadoghq.com/api/v2/on-call/teams/ba4fe917-0da4-4b40-96da-f9d7306d97d8/routing-rules" }, "response": { "bodySize": 120, "content": { "mimeType": "application/vnd.api+json", "size": 120, - "text": "{\"data\":{\"id\":\"8ab3f777-435e-42b6-8511-0c9020365b8d\",\"type\":\"team_routing_rules\",\"relationships\":{\"rules\":{\"data\":[]}}}}" + "text": "{\"data\":{\"id\":\"ba4fe917-0da4-4b40-96da-f9d7306d97d8\",\"type\":\"team_routing_rules\",\"relationships\":{\"rules\":{\"data\":[]}}}}" }, "cookies": [], "headers": [ @@ -327,11 +327,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-11-18T13:04:16.643Z", - "time": 311 + "startedDateTime": "2025-11-27T14:11:52.295Z", + "time": 444 }, { - "_id": "894ed436a007131606686bc54a40d1ba", + "_id": "c26189d3750889a7a4fd05c9a5d03ce7", "_order": 0, "cache": {}, "request": { @@ -344,11 +344,11 @@ "value": "*/*" } ], - "headersSize": 562, + "headersSize": 563, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/ad66e3aa-4df4-4ab0-b928-03abd68cc44e" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/66f0e922-2834-4d68-aa0b-98cc81fc2a9d" }, "response": { "bodySize": 0, @@ -364,11 +364,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-11-18T13:04:16.957Z", - "time": 254 + "startedDateTime": "2025-11-27T14:11:52.745Z", + "time": 410 }, { - "_id": "797df6bc5832d5b37f14c34dac958c13", + "_id": "13fd1a4c62032e806486f8eaa339c28b", "_order": 0, "cache": {}, "request": { @@ -381,11 +381,11 @@ "value": "*/*" } ], - "headersSize": 544, + "headersSize": 545, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/10ab1649-e333-41ac-9271-3484b87939a7" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/1f9b0595-17a3-4d95-9b2e-edcea3b6e737" }, "response": { "bodySize": 0, @@ -401,11 +401,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-11-18T13:04:17.214Z", - "time": 273 + "startedDateTime": "2025-11-27T14:11:53.162Z", + "time": 421 }, { - "_id": "5f0b04b22fafcb90e03f7f4c143d8701", + "_id": "8c75ecab4d74a2b69dbcdad49c49345c", "_order": 0, "cache": {}, "request": { @@ -418,11 +418,11 @@ "value": "*/*" } ], - "headersSize": 521, + "headersSize": 522, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/team/8ab3f777-435e-42b6-8511-0c9020365b8d" + "url": "https://api.datadoghq.com/api/v2/team/ba4fe917-0da4-4b40-96da-f9d7306d97d8" }, "response": { "bodySize": 0, @@ -432,17 +432,17 @@ }, "cookies": [], "headers": [], - "headersSize": 632, + "headersSize": 631, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-11-18T13:04:17.490Z", - "time": 408 + "startedDateTime": "2025-11-27T14:11:53.587Z", + "time": 545 }, { - "_id": "b39d7b8fb1fabd8f82c0b0e73dc4bfe3", + "_id": "96fcc6280c00501e78b9d3212c0190a8", "_order": 0, "cache": {}, "request": { @@ -455,11 +455,11 @@ "value": "*/*" } ], - "headersSize": 523, + "headersSize": 524, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/15c47aed-c47f-11f0-9f0b-be6d33dcd787" + "url": "https://api.datadoghq.com/api/v2/users/0473ca92-cb9b-11f0-85f9-9a82ffe01443" }, "response": { "bodySize": 0, @@ -475,8 +475,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-11-18T13:04:17.901Z", - "time": 412 + "startedDateTime": "2025-11-27T14:11:54.138Z", + "time": 611 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Update-On-Call-escalation-policy-returns-OK-response_2508838799/frozen.json b/cassettes/v2/On-Call_446749911/Update-On-Call-escalation-policy-returns-OK-response_2508838799/frozen.json index b99cfd9f5681..63e88648b33c 100644 --- a/cassettes/v2/On-Call_446749911/Update-On-Call-escalation-policy-returns-OK-response_2508838799/frozen.json +++ b/cassettes/v2/On-Call_446749911/Update-On-Call-escalation-policy-returns-OK-response_2508838799/frozen.json @@ -1 +1 @@ -"2025-05-29T04:54:18.437Z" +"2025-11-27T14:11:54.763Z" diff --git a/cassettes/v2/On-Call_446749911/Update-On-Call-escalation-policy-returns-OK-response_2508838799/recording.har b/cassettes/v2/On-Call_446749911/Update-On-Call-escalation-policy-returns-OK-response_2508838799/recording.har index a8428817930d..19f1992b69ec 100644 --- a/cassettes/v2/On-Call_446749911/Update-On-Call-escalation-policy-returns-OK-response_2508838799/recording.har +++ b/cassettes/v2/On-Call_446749911/Update-On-Call-escalation-policy-returns-OK-response_2508838799/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "d054a8c720a353546b0806bf869d885b", + "_id": "b2eb552598a5d05792162f216e879b07", "_order": 0, "cache": {}, "request": { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1748494458@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 709, + "bodySize": 732, "content": { "mimeType": "application/json", - "size": 709, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"fabd9ae0-3c48-11f0-b407-16d8dc894a02\",\"attributes\":{\"name\":null,\"handle\":\"test-update_on_call_escalation_policy_returns_ok_response-1748494458@datadoghq.com\",\"created_at\":\"2025-05-29T04:54:19.052756+00:00\",\"modified_at\":\"2025-05-29T04:54:19.052756+00:00\",\"email\":\"test-update_on_call_escalation_policy_returns_ok_response-1748494458@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/cf87c53bf68b572610145962e6965e0c?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 732, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"074d412b-cb9b-11f0-85f9-9a82ffe01443\",\"attributes\":{\"name\":null,\"handle\":\"test-update_on_call_escalation_policy_returns_ok_response-1764252714@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:55.135880+00:00\",\"modified_at\":\"2025-11-27T14:11:55.135880+00:00\",\"email\":\"test-update_on_call_escalation_policy_returns_ok_response-1764252714@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/56710b9d4c6476f7e9cb32cf32f2d8fa?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/json" } ], - "headersSize": 681, + "headersSize": 680, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:54:18.441Z", - "time": 696 + "startedDateTime": "2025-11-27T14:11:54.766Z", + "time": 461 }, { - "_id": "d7c84ec274c484c81c4521c56064732b", + "_id": "b440e752901b4961d531cac7aef1c9b4", "_order": 0, "cache": {}, "request": { @@ -85,36 +85,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-e987bfc60cf27d84\",\"name\":\"test-name-e987bfc60cf27d84\"},\"type\":\"team\"}}" + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-87ae65b051bd37ef\",\"name\":\"test-name-87ae65b051bd37ef\"},\"type\":\"team\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/team" }, "response": { - "bodySize": 635, + "bodySize": 661, "content": { - "mimeType": "application/json", - "size": 635, - "text": "{\"data\":{\"type\":\"team\",\"id\":\"37ea8c60-77bd-4154-ba2e-ac59d25541c6\",\"attributes\":{\"name\":\"test-name-e987bfc60cf27d84\",\"handle\":\"test-handle-e987bfc60cf27d84\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":3,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-05-29T04:54:19.729870+00:00\",\"modified_at\":\"2025-05-29T04:54:19.729879+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/37ea8c60-77bd-4154-ba2e-ac59d25541c6/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/37ea8c60-77bd-4154-ba2e-ac59d25541c6/permission-settings\"}}}}}\n" + "mimeType": "application/vnd.api+json", + "size": 661, + "text": "{\"data\":{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":11,\"created_at\":\"2025-11-27T14:11:55.632151+00:00\",\"description\":null,\"handle\":\"test-handle-87ae65b051bd37ef\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-27T14:11:55.632152+00:00\",\"name\":\"test-name-87ae65b051bd37ef\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/f38d82f9-3de9-4a4a-8a48-650c0b19151f/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/f38d82f9-3de9-4a4a-8a48-650c0b19151f/permission-settings\"}}}}}" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json" + "value": "application/vnd.api+json" } ], - "headersSize": 685, + "headersSize": 699, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:54:19.148Z", - "time": 758 + "startedDateTime": "2025-11-27T14:11:55.233Z", + "time": 498 }, { - "_id": "83824c496fbf2d64b606c2098dcf8bbf", + "_id": "b2f939a4b9b7781226e055247a23460f", "_order": 0, "cache": {}, "request": { @@ -138,7 +138,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:54:18.437Z\",\"end_date\":\"2025-06-08T04:54:18.437Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"fabd9ae0-3c48-11f0-b407-16d8dc894a02\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:54:18.437Z\"}],\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1748494458\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:54.763Z\",\"end_date\":\"2025-12-07T14:11:54.763Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"074d412b-cb9b-11f0-85f9-9a82ffe01443\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:54.763Z\"}],\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -148,7 +148,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 377, - "text": "{\"data\":{\"id\":\"f8a9543a-dc0f-4d81-bb16-7054201fa099\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1748494458\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"f2cc2a31-c4f9-40bf-9820-93af15c77625\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"1ab20921-4556-4f30-80df-e1ce748c3fc1\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"94644551-c1bd-4b16-8774-ddbf0b6ce12c\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -163,15 +163,15 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:54:19.918Z", - "time": 623 + "startedDateTime": "2025-11-27T14:11:55.741Z", + "time": 453 }, { - "_id": "bb29ffa97fb34e84e85c4d6e6ca1ebfd", + "_id": "765e1637a3cac92a6c7260a5b3580e79", "_order": 0, "cache": {}, "request": { - "bodySize": 661, + "bodySize": 772, "cookies": [], "headers": [ { @@ -191,7 +191,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1748494458\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"37ea8c60-77bd-4154-ba2e-ac59d25541c6\",\"type\":\"teams\"},{\"id\":\"f8a9543a-dc0f-4d81-bb16-7054201fa099\",\"type\":\"schedules\"},{\"id\":\"fabd9ae0-3c48-11f0-b407-16d8dc894a02\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"37ea8c60-77bd-4154-ba2e-ac59d25541c6\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"37ea8c60-77bd-4154-ba2e-ac59d25541c6\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" + "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"},{\"id\":\"1ab20921-4556-4f30-80df-e1ce748c3fc1\",\"type\":\"schedules\"},{\"config\":{\"schedule\":{\"position\":\"previous\"}},\"id\":\"1ab20921-4556-4f30-80df-e1ce748c3fc1\",\"type\":\"schedules\"},{\"id\":\"074d412b-cb9b-11f0-85f9-9a82ffe01443\",\"type\":\"users\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies" @@ -201,7 +201,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 450, - "text": "{\"data\":{\"id\":\"05ee91ac-c049-4e7c-b43b-3f673a7ce96d\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1748494458\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"6a0d2106-0430-4211-af70-54ea18031d0d\",\"type\":\"steps\"},{\"id\":\"f4c4d70e-72e5-4f5c-89fb-bf7aea612c1b\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"37ea8c60-77bd-4154-ba2e-ac59d25541c6\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"b20fdf89-f87f-4237-8f19-ed8c9c57cf5c\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"6d4b5398-50bf-425d-93b8-3eae379ff8a0\",\"type\":\"steps\"},{\"id\":\"b3f4a0dd-337f-42b7-9fda-b2f4486e700f\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -216,11 +216,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-05-29T04:54:20.552Z", - "time": 663 + "startedDateTime": "2025-11-27T14:11:56.202Z", + "time": 430 }, { - "_id": "b8254827a73f624375283bc455d68973", + "_id": "175bc37dc5981f74ad662f542b3b60ad", "_order": 0, "cache": {}, "request": { @@ -244,17 +244,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1748494458-updated\",\"resolve_page_on_policy_end\":false,\"retries\":0,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"id\":\"6a0d2106-0430-4211-af70-54ea18031d0d\",\"targets\":[{\"id\":\"fabd9ae0-3c48-11f0-b407-16d8dc894a02\",\"type\":\"users\"}]}]},\"id\":\"05ee91ac-c049-4e7c-b43b-3f673a7ce96d\",\"relationships\":{\"teams\":{\"data\":[{\"id\":\"37ea8c60-77bd-4154-ba2e-ac59d25541c6\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" + "text": "{\"data\":{\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714-updated\",\"resolve_page_on_policy_end\":false,\"retries\":0,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"id\":\"6d4b5398-50bf-425d-93b8-3eae379ff8a0\",\"targets\":[{\"id\":\"074d412b-cb9b-11f0-85f9-9a82ffe01443\",\"type\":\"users\"}]}]},\"id\":\"b20fdf89-f87f-4237-8f19-ed8c9c57cf5c\",\"relationships\":{\"teams\":{\"data\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/05ee91ac-c049-4e7c-b43b-3f673a7ce96d" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/b20fdf89-f87f-4237-8f19-ed8c9c57cf5c" }, "response": { "bodySize": 398, "content": { "mimeType": "application/vnd.api+json", "size": 398, - "text": "{\"data\":{\"id\":\"05ee91ac-c049-4e7c-b43b-3f673a7ce96d\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1748494458-updated\",\"resolve_page_on_policy_end\":false,\"retries\":0},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"6a0d2106-0430-4211-af70-54ea18031d0d\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"37ea8c60-77bd-4154-ba2e-ac59d25541c6\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"b20fdf89-f87f-4237-8f19-ed8c9c57cf5c\",\"type\":\"policies\",\"attributes\":{\"name\":\"Test-Update_On_Call_escalation_policy_returns_OK_response-1764252714-updated\",\"resolve_page_on_policy_end\":false,\"retries\":0},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"6d4b5398-50bf-425d-93b8-3eae379ff8a0\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"f38d82f9-3de9-4a4a-8a48-650c0b19151f\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -269,11 +269,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-05-29T04:54:21.228Z", - "time": 630 + "startedDateTime": "2025-11-27T14:11:56.644Z", + "time": 446 }, { - "_id": "3f5ca2728dd8f634c4d1e90271196a52", + "_id": "b270fd6d9ac2fe5e429289747d5af3b4", "_order": 0, "cache": {}, "request": { @@ -290,7 +290,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/05ee91ac-c049-4e7c-b43b-3f673a7ce96d" + "url": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/b20fdf89-f87f-4237-8f19-ed8c9c57cf5c" }, "response": { "bodySize": 0, @@ -306,11 +306,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:54:21.867Z", - "time": 615 + "startedDateTime": "2025-11-27T14:11:57.098Z", + "time": 426 }, { - "_id": "592eb78e35d105a0d154962fff969d63", + "_id": "881661eb6083f274b312782047281bfe", "_order": 0, "cache": {}, "request": { @@ -327,7 +327,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/f8a9543a-dc0f-4d81-bb16-7054201fa099" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/1ab20921-4556-4f30-80df-e1ce748c3fc1" }, "response": { "bodySize": 0, @@ -343,11 +343,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:54:22.487Z", - "time": 621 + "startedDateTime": "2025-11-27T14:11:57.530Z", + "time": 414 }, { - "_id": "a8759645273cd16db3c737a4ca719e6f", + "_id": "85369d0f73f8f4d221db5b9b97e8096b", "_order": 0, "cache": {}, "request": { @@ -364,7 +364,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/team/37ea8c60-77bd-4154-ba2e-ac59d25541c6" + "url": "https://api.datadoghq.com/api/v2/team/f38d82f9-3de9-4a4a-8a48-650c0b19151f" }, "response": { "bodySize": 0, @@ -374,17 +374,17 @@ }, "cookies": [], "headers": [], - "headersSize": 632, + "headersSize": 631, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:54:23.119Z", - "time": 720 + "startedDateTime": "2025-11-27T14:11:57.949Z", + "time": 569 }, { - "_id": "9d38d5d21d19026dfd851627712c4319", + "_id": "b2cd7e94b21d5e281fdd9631fbcfec8b", "_order": 0, "cache": {}, "request": { @@ -401,7 +401,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/fabd9ae0-3c48-11f0-b407-16d8dc894a02" + "url": "https://api.datadoghq.com/api/v2/users/074d412b-cb9b-11f0-85f9-9a82ffe01443" }, "response": { "bodySize": 0, @@ -417,8 +417,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-05-29T04:54:23.845Z", - "time": 745 + "startedDateTime": "2025-11-27T14:11:58.524Z", + "time": 535 } ], "pages": [], diff --git a/cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/frozen.json b/cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/frozen.json index f9f53090a20f..fb8e57fe1383 100644 --- a/cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/frozen.json +++ b/cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/frozen.json @@ -1 +1 @@ -"2025-07-03T14:30:45.232Z" +"2025-11-27T14:11:59.069Z" diff --git a/cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/recording.har b/cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/recording.har index c46675f43e5d..23c0b1c7473f 100644 --- a/cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/recording.har +++ b/cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "7a980b613319a1591f4ddffbf1f7ab7a", + "_id": "d4ccb0d649a377b56c75bed77a52e8f1", "_order": 0, "cache": {}, "request": { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_On_Call_schedule_returns_OK_response-1764252719@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" }, "response": { - "bodySize": 691, + "bodySize": 714, "content": { "mimeType": "application/json", - "size": 691, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"4ea279a2-581a-11f0-bb4d-bed6e06a25e4\",\"attributes\":{\"name\":null,\"handle\":\"test-update_on_call_schedule_returns_ok_response-1751553045@datadoghq.com\",\"created_at\":\"2025-07-03T14:30:46.015046+00:00\",\"modified_at\":\"2025-07-03T14:30:46.015046+00:00\",\"email\":\"test-update_on_call_schedule_returns_ok_response-1751553045@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/8c4a38455f71bb12d82add5157f105a0?s=48&d=retro\",\"title\":\"user 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\"}}}}}\n" + "size": 714, + "text": "{\"data\":{\"type\":\"users\",\"id\":\"09e2b0f4-cb9b-11f0-a56e-4e680b759023\",\"attributes\":{\"name\":null,\"handle\":\"test-update_on_call_schedule_returns_ok_response-1764252719@datadoghq.com\",\"created_at\":\"2025-11-27T14:11:59.470672+00:00\",\"modified_at\":\"2025-11-27T14:11:59.470672+00:00\",\"email\":\"test-update_on_call_schedule_returns_ok_response-1764252719@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/62638e49f4a83e63caabec2a6ab50bba?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\",\"last_login_time\":null},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/json" } ], - "headersSize": 681, + "headersSize": 680, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-03T14:30:45.698Z", - "time": 367 + "startedDateTime": "2025-11-27T14:11:59.072Z", + "time": 483 }, { - "_id": "02046e92e0ca85f41b507d3f50c1e2d5", + "_id": "9f05ee4ad62dd85721b53524fdccdea4", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-06-23T14:30:45.232Z\",\"end_date\":\"2025-07-13T14:30:45.232Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"4ea279a2-581a-11f0-bb4d-bed6e06a25e4\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-06-28T14:30:45.232Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:59.069Z\",\"end_date\":\"2025-12-07T14:11:59.069Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"09e2b0f4-cb9b-11f0-a56e-4e680b759023\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:59.069Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1764252719\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/on-call/schedules" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 368, - "text": "{\"data\":{\"id\":\"3cb80fa4-f506-4b2f-9187-2af6c2253698\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"70f75d0e-19d0-46a1-9c1c-19d2de171744\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"0e2c2b38-3f21-4216-aeb7-49eb8b371c09\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1764252719\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"140f452a-0ecf-48ab-b7e9-e358a2cf925b\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-03T14:30:46.088Z", - "time": 97 + "startedDateTime": "2025-11-27T14:11:59.564Z", + "time": 418 }, { - "_id": "209cd9cddfdc4d67deba703111217b32", + "_id": "3d1e9b3289a84005523cd082110dc19c", "_order": 0, "cache": {}, "request": { @@ -138,36 +138,36 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-001d7ca9284aa632\",\"name\":\"test-name-001d7ca9284aa632\"},\"type\":\"team\"}}" + "text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-0db1ad1d49052f19\",\"name\":\"test-name-0db1ad1d49052f19\"},\"type\":\"team\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/team" }, "response": { - "bodySize": 636, + "bodySize": 660, "content": { - "mimeType": "application/json", - "size": 636, - "text": "{\"data\":{\"type\":\"team\",\"id\":\"9ca20f11-ede5-4147-addb-25b7f91ce508\",\"attributes\":{\"name\":\"test-name-001d7ca9284aa632\",\"handle\":\"test-handle-001d7ca9284aa632\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":13,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-07-03T14:30:46.275583+00:00\",\"modified_at\":\"2025-07-03T14:30:46.275594+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/9ca20f11-ede5-4147-addb-25b7f91ce508/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/9ca20f11-ede5-4147-addb-25b7f91ce508/permission-settings\"}}}}}\n" + "mimeType": "application/vnd.api+json", + "size": 660, + "text": "{\"data\":{\"id\":\"500acba0-bf4f-4f5c-83be-d0de24c5739c\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":8,\"created_at\":\"2025-11-27T14:12:00.429799+00:00\",\"description\":null,\"handle\":\"test-handle-0db1ad1d49052f19\",\"hidden_modules\":[],\"link_count\":0,\"modified_at\":\"2025-11-27T14:12:00.429799+00:00\",\"name\":\"test-name-0db1ad1d49052f19\",\"summary\":null,\"user_count\":0,\"visible_modules\":[]},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/500acba0-bf4f-4f5c-83be-d0de24c5739c/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/500acba0-bf4f-4f5c-83be-d0de24c5739c/permission-settings\"}}}}}" }, "cookies": [], "headers": [ { "name": "content-type", - "value": "application/json" + "value": "application/vnd.api+json" } ], - "headersSize": 685, + "headersSize": 700, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-03T14:30:46.190Z", - "time": 211 + "startedDateTime": "2025-11-27T14:11:59.991Z", + "time": 536 }, { - "_id": "88b557506990756dddad235f5be22de0", + "_id": "6b88a1e4d096407f553fcb090e9962ff", "_order": 0, "cache": {}, "request": { @@ -191,17 +191,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-06-23T14:30:45.232Z\",\"end_date\":\"2025-07-13T14:30:45.232Z\",\"id\":\"70f75d0e-19d0-46a1-9c1c-19d2de171744\",\"interval\":{\"seconds\":3600},\"members\":[{\"user\":{\"id\":\"4ea279a2-581a-11f0-bb4d-bed6e06a25e4\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-06-28T14:30:45.232Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045\",\"time_zone\":\"America/New_York\"},\"id\":\"3cb80fa4-f506-4b2f-9187-2af6c2253698\",\"relationships\":{\"teams\":{\"data\":[{\"id\":\"9ca20f11-ede5-4147-addb-25b7f91ce508\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" + "text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-11-17T14:11:59.069Z\",\"end_date\":\"2025-12-07T14:11:59.069Z\",\"id\":\"140f452a-0ecf-48ab-b7e9-e358a2cf925b\",\"interval\":{\"seconds\":3600},\"members\":[{\"user\":{\"id\":\"09e2b0f4-cb9b-11f0-a56e-4e680b759023\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-11-22T14:11:59.069Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1764252719\",\"time_zone\":\"America/New_York\"},\"id\":\"0e2c2b38-3f21-4216-aeb7-49eb8b371c09\",\"relationships\":{\"teams\":{\"data\":[{\"id\":\"500acba0-bf4f-4f5c-83be-d0de24c5739c\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/3cb80fa4-f506-4b2f-9187-2af6c2253698" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/0e2c2b38-3f21-4216-aeb7-49eb8b371c09" }, "response": { "bodySize": 368, "content": { "mimeType": "application/vnd.api+json", "size": 368, - "text": "{\"data\":{\"id\":\"3cb80fa4-f506-4b2f-9187-2af6c2253698\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"70f75d0e-19d0-46a1-9c1c-19d2de171744\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"9ca20f11-ede5-4147-addb-25b7f91ce508\",\"type\":\"teams\"}]}}}}" + "text": "{\"data\":{\"id\":\"0e2c2b38-3f21-4216-aeb7-49eb8b371c09\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1764252719\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"140f452a-0ecf-48ab-b7e9-e358a2cf925b\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"500acba0-bf4f-4f5c-83be-d0de24c5739c\",\"type\":\"teams\"}]}}}}" }, "cookies": [], "headers": [ @@ -216,11 +216,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-03T14:30:46.408Z", - "time": 97 + "startedDateTime": "2025-11-27T14:12:00.534Z", + "time": 449 }, { - "_id": "e2caa3bd1d9ba23a54e4a3973ceca236", + "_id": "571af3b3060467fd1470da571d024b0c", "_order": 0, "cache": {}, "request": { @@ -233,11 +233,11 @@ "value": "*/*" } ], - "headersSize": 521, + "headersSize": 522, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/team/9ca20f11-ede5-4147-addb-25b7f91ce508" + "url": "https://api.datadoghq.com/api/v2/team/500acba0-bf4f-4f5c-83be-d0de24c5739c" }, "response": { "bodySize": 0, @@ -253,11 +253,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-03T14:30:46.511Z", - "time": 164 + "startedDateTime": "2025-11-27T14:12:00.991Z", + "time": 530 }, { - "_id": "8b2043af33621f9a0413fb0f61b0d9c9", + "_id": "1b8d4e729879b6dc986ccad4d4d64e02", "_order": 0, "cache": {}, "request": { @@ -274,7 +274,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/on-call/schedules/3cb80fa4-f506-4b2f-9187-2af6c2253698" + "url": "https://api.datadoghq.com/api/v2/on-call/schedules/0e2c2b38-3f21-4216-aeb7-49eb8b371c09" }, "response": { "bodySize": 0, @@ -290,11 +290,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-03T14:30:46.677Z", - "time": 102 + "startedDateTime": "2025-11-27T14:12:01.526Z", + "time": 436 }, { - "_id": "7c96887e173281462525a52999e1af53", + "_id": "d09c8cb1d9dce0111bf5fcd22ebc7058", "_order": 0, "cache": {}, "request": { @@ -311,7 +311,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/4ea279a2-581a-11f0-bb4d-bed6e06a25e4" + "url": "https://api.datadoghq.com/api/v2/users/09e2b0f4-cb9b-11f0-a56e-4e680b759023" }, "response": { "bodySize": 0, @@ -327,8 +327,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-03T14:30:46.783Z", - "time": 298 + "startedDateTime": "2025-11-27T14:12:01.966Z", + "time": 514 } ], "pages": [], diff --git a/examples/v2/on-call/CreateOnCallEscalationPolicy.ts b/examples/v2/on-call/CreateOnCallEscalationPolicy.ts index 72bcc807cf08..b98b3861e192 100644 --- a/examples/v2/on-call/CreateOnCallEscalationPolicy.ts +++ b/examples/v2/on-call/CreateOnCallEscalationPolicy.ts @@ -36,6 +36,15 @@ const params: v2.OnCallApiCreateOnCallEscalationPolicyRequest = { id: SCHEDULE_DATA_ID, type: "schedules", }, + { + config: { + schedule: { + position: "previous", + }, + }, + id: SCHEDULE_DATA_ID, + type: "schedules", + }, { id: DD_TEAM_DATA_ID, type: "teams", diff --git a/features/v2/given.json b/features/v2/given.json index 6c6d3bf98f4c..2dd671379adb 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -747,7 +747,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{ unique }}\",\n \"resolve_page_on_policy_end\": true,\n \"retries\": 2,\n \"steps\": [\n {\n \"assignment\": \"default\",\n \"escalate_after_seconds\": 3600,\n \"targets\": [\n {\n \"id\": \"{{ dd_team.data.id }}\",\n \"type\": \"teams\"\n },\n {\n \"id\": \"{{ schedule.data.id }}\",\n \"type\": \"schedules\"\n },\n {\n \"id\": \"{{ user.data.id }}\",\n \"type\": \"users\"\n }\n ]\n },\n {\n \"assignment\": \"round-robin\",\n \"escalate_after_seconds\": 3600,\n \"targets\": [\n {\n \"id\": \"{{ dd_team.data.id }}\",\n \"type\": \"teams\"\n }\n ]\n }\n ]\n },\n \"relationships\": {\n \"teams\": {\n \"data\": [\n {\n \"id\": \"{{ dd_team.data.id }}\",\n \"type\": \"teams\"\n }\n ]\n }\n },\n \"type\": \"policies\"\n }\n}" + "value": "{\n \"data\": {\n \"attributes\": {\n \"name\": \"{{ unique }}\",\n \"resolve_page_on_policy_end\": true,\n \"retries\": 2,\n \"steps\": [\n {\n \"assignment\": \"default\",\n \"escalate_after_seconds\": 3600,\n \"targets\": [\n {\n \"id\": \"{{ dd_team.data.id }}\",\n \"type\": \"teams\"\n },\n {\n \"id\": \"{{ schedule.data.id }}\",\n \"type\": \"schedules\"\n },\n {\n \"id\": \"{{ schedule.data.id }}\",\n \"type\": \"schedules\",\n \"config\": {\n \"schedule\": {\n \"position\": \"previous\"\n }\n }\n },\n {\n \"id\": \"{{ user.data.id }}\",\n \"type\": \"users\"\n }\n ]\n },\n {\n \"assignment\": \"round-robin\",\n \"escalate_after_seconds\": 3600,\n \"targets\": [\n {\n \"id\": \"{{ dd_team.data.id }}\",\n \"type\": \"teams\"\n }\n ]\n }\n ]\n },\n \"relationships\": {\n \"teams\": {\n \"data\": [\n {\n \"id\": \"{{ dd_team.data.id }}\",\n \"type\": \"teams\"\n }\n ]\n }\n },\n \"type\": \"policies\"\n }\n}" } ], "step": "there is a valid \"escalation_policy\" in the system", diff --git a/features/v2/on-call.feature b/features/v2/on-call.feature index 39640938e4a1..7bcd1d00e1b5 100644 --- a/features/v2/on-call.feature +++ b/features/v2/on-call.feature @@ -12,7 +12,7 @@ Feature: On-Call @generated @skip @team:DataDog/on-call Scenario: Create On-Call escalation policy returns "Bad Request" response Given new "CreateOnCallEscalationPolicy" request - And body with value {"data": {"attributes": {"name": "Escalation Policy 1", "resolve_page_on_policy_end": true, "retries": 2, "steps": [{"assignment": "default", "escalate_after_seconds": 3600, "targets": [{"id": "00000000-aba1-0000-0000-000000000000", "type": "users"}, {"id": "00000000-aba2-0000-0000-000000000000", "type": "schedules"}, {"id": "00000000-aba3-0000-0000-000000000000", "type": "teams"}]}, {"assignment": "round-robin", "escalate_after_seconds": 3600, "targets": [{"id": "00000000-aba1-0000-0000-000000000000", "type": "users"}, {"id": "00000000-abb1-0000-0000-000000000000", "type": "users"}]}]}, "relationships": {"teams": {"data": [{"id": "00000000-da3a-0000-0000-000000000000", "type": "teams"}]}}, "type": "policies"}} + And body with value {"data": {"attributes": {"name": "Escalation Policy 1", "resolve_page_on_policy_end": true, "retries": 2, "steps": [{"assignment": "default", "escalate_after_seconds": 3600, "targets": [{"id": "00000000-aba1-0000-0000-000000000000", "type": "users"}, {"config": {"schedule": {"position": "previous"}}, "id": "00000000-aba2-0000-0000-000000000000", "type": "schedules"}, {"id": "00000000-aba3-0000-0000-000000000000", "type": "teams"}]}, {"assignment": "round-robin", "escalate_after_seconds": 3600, "targets": [{"id": "00000000-aba1-0000-0000-000000000000", "type": "users"}, {"id": "00000000-abb1-0000-0000-000000000000", "type": "users"}]}]}, "relationships": {"teams": {"data": [{"id": "00000000-da3a-0000-0000-000000000000", "type": "teams"}]}}, "type": "policies"}} When the request is sent Then the response status is 400 Bad Request @@ -22,7 +22,7 @@ Feature: On-Call And there is a valid "user" in the system And there is a valid "schedule" in the system And there is a valid "dd_team" in the system - And body with value {"data": {"attributes": {"name": "{{ unique }}", "resolve_page_on_policy_end": true, "retries": 2, "steps": [{"assignment": "default", "escalate_after_seconds": 3600, "targets": [{"id": "{{ user.data.id }}", "type": "users"}, {"id": "{{ schedule.data.id }}", "type": "schedules"}, {"id": "{{ dd_team.data.id }}", "type": "teams"}]}, {"assignment": "round-robin", "escalate_after_seconds": 3600, "targets": [{"id": "{{ dd_team.data.id }}", "type": "teams"}]}]}, "relationships": {"teams": {"data": [{"id": "{{ dd_team.data.id }}", "type": "teams"}]}}, "type": "policies"}} + And body with value {"data": {"attributes": {"name": "{{ unique }}", "resolve_page_on_policy_end": true, "retries": 2, "steps": [{"assignment": "default", "escalate_after_seconds": 3600, "targets": [{"id": "{{ user.data.id }}", "type": "users"}, {"id": "{{ schedule.data.id }}", "type": "schedules"}, {"config": {"schedule": {"position": "previous"}}, "id": "{{ schedule.data.id }}", "type": "schedules"}, {"id": "{{ dd_team.data.id }}", "type": "teams"}]}, {"assignment": "round-robin", "escalate_after_seconds": 3600, "targets": [{"id": "{{ dd_team.data.id }}", "type": "teams"}]}]}, "relationships": {"teams": {"data": [{"id": "{{ dd_team.data.id }}", "type": "teams"}]}}, "type": "policies"}} And request contains "include" parameter with value "steps.targets" When the request is sent Then the response status is 201 Created diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index ed4494f4e4ac..9aa10c4a3c0c 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -1589,6 +1589,12 @@ export { ConfigCatIntegrationUpdate } from "./models/ConfigCatIntegrationUpdate" export { ConfigCatSDKKey } from "./models/ConfigCatSDKKey"; export { ConfigCatSDKKeyType } from "./models/ConfigCatSDKKeyType"; export { ConfigCatSDKKeyUpdate } from "./models/ConfigCatSDKKeyUpdate"; +export { ConfiguredSchedule } from "./models/ConfiguredSchedule"; +export { ConfiguredScheduleTarget } from "./models/ConfiguredScheduleTarget"; +export { ConfiguredScheduleTargetAttributes } from "./models/ConfiguredScheduleTargetAttributes"; +export { ConfiguredScheduleTargetRelationships } from "./models/ConfiguredScheduleTargetRelationships"; +export { ConfiguredScheduleTargetRelationshipsSchedule } from "./models/ConfiguredScheduleTargetRelationshipsSchedule"; +export { ConfiguredScheduleTargetType } from "./models/ConfiguredScheduleTargetType"; export { ConfluentAccountCreateRequest } from "./models/ConfluentAccountCreateRequest"; export { ConfluentAccountCreateRequestAttributes } from "./models/ConfluentAccountCreateRequestAttributes"; export { ConfluentAccountCreateRequestData } from "./models/ConfluentAccountCreateRequestData"; @@ -2121,6 +2127,8 @@ export { EscalationPolicyStepAttributes } from "./models/EscalationPolicyStepAtt export { EscalationPolicyStepAttributesAssignment } from "./models/EscalationPolicyStepAttributesAssignment"; export { EscalationPolicyStepRelationships } from "./models/EscalationPolicyStepRelationships"; export { EscalationPolicyStepTarget } from "./models/EscalationPolicyStepTarget"; +export { EscalationPolicyStepTargetConfig } from "./models/EscalationPolicyStepTargetConfig"; +export { EscalationPolicyStepTargetConfigSchedule } from "./models/EscalationPolicyStepTargetConfigSchedule"; export { EscalationPolicyStepTargetType } from "./models/EscalationPolicyStepTargetType"; export { EscalationPolicyStepType } from "./models/EscalationPolicyStepType"; export { EscalationPolicyUpdateRequest } from "./models/EscalationPolicyUpdateRequest"; @@ -3853,6 +3861,7 @@ export { ScheduleMemberType } from "./models/ScheduleMemberType"; export { ScheduleRequestDataAttributesLayersItemsMembersItems } from "./models/ScheduleRequestDataAttributesLayersItemsMembersItems"; export { ScheduleRequestDataAttributesLayersItemsMembersItemsUser } from "./models/ScheduleRequestDataAttributesLayersItemsMembersItemsUser"; export { ScheduleTarget } from "./models/ScheduleTarget"; +export { ScheduleTargetPosition } from "./models/ScheduleTargetPosition"; export { ScheduleTargetType } from "./models/ScheduleTargetType"; export { ScheduleTrigger } from "./models/ScheduleTrigger"; export { ScheduleTriggerWrapper } from "./models/ScheduleTriggerWrapper"; diff --git a/packages/datadog-api-client-v2/models/ConfiguredSchedule.ts b/packages/datadog-api-client-v2/models/ConfiguredSchedule.ts new file mode 100644 index 000000000000..0cc5d4e127a6 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ConfiguredSchedule.ts @@ -0,0 +1,83 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ConfiguredScheduleTargetAttributes } from "./ConfiguredScheduleTargetAttributes"; +import { ConfiguredScheduleTargetRelationships } from "./ConfiguredScheduleTargetRelationships"; +import { ConfiguredScheduleTargetType } from "./ConfiguredScheduleTargetType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Full resource representation of a configured schedule target with position (previous, current, or next). + */ +export class ConfiguredSchedule { + /** + * Attributes for a configured schedule target, including position. + */ + "attributes": ConfiguredScheduleTargetAttributes; + /** + * Specifies the unique identifier of the configured schedule target. + */ + "id": string; + /** + * Represents the relationships of a configured schedule target. + */ + "relationships": ConfiguredScheduleTargetRelationships; + /** + * Indicates that the resource is of type `schedule_target`. + */ + "type": ConfiguredScheduleTargetType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "ConfiguredScheduleTargetAttributes", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + relationships: { + baseName: "relationships", + type: "ConfiguredScheduleTargetRelationships", + required: true, + }, + type: { + baseName: "type", + type: "ConfiguredScheduleTargetType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ConfiguredSchedule.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ConfiguredScheduleTarget.ts b/packages/datadog-api-client-v2/models/ConfiguredScheduleTarget.ts new file mode 100644 index 000000000000..73045c31a375 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ConfiguredScheduleTarget.ts @@ -0,0 +1,63 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ConfiguredScheduleTargetType } from "./ConfiguredScheduleTargetType"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Relationship reference to a configured schedule target. + */ +export class ConfiguredScheduleTarget { + /** + * Specifies the unique identifier of the configured schedule target. + */ + "id": string; + /** + * Indicates that the resource is of type `schedule_target`. + */ + "type": ConfiguredScheduleTargetType; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "ConfiguredScheduleTargetType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ConfiguredScheduleTarget.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetAttributes.ts b/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetAttributes.ts new file mode 100644 index 000000000000..8d9028eea6c8 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetAttributes.ts @@ -0,0 +1,54 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ScheduleTargetPosition } from "./ScheduleTargetPosition"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Attributes for a configured schedule target, including position. + */ +export class ConfiguredScheduleTargetAttributes { + /** + * Specifies the position of a schedule target (example `previous`, `current`, or `next`). + */ + "position": ScheduleTargetPosition; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + position: { + baseName: "position", + type: "ScheduleTargetPosition", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ConfiguredScheduleTargetAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetRelationships.ts b/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetRelationships.ts new file mode 100644 index 000000000000..0d34d6cd4019 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetRelationships.ts @@ -0,0 +1,54 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ConfiguredScheduleTargetRelationshipsSchedule } from "./ConfiguredScheduleTargetRelationshipsSchedule"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Represents the relationships of a configured schedule target. + */ +export class ConfiguredScheduleTargetRelationships { + /** + * Holds the schedule reference for a configured schedule target. + */ + "schedule": ConfiguredScheduleTargetRelationshipsSchedule; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + schedule: { + baseName: "schedule", + type: "ConfiguredScheduleTargetRelationshipsSchedule", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ConfiguredScheduleTargetRelationships.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetRelationshipsSchedule.ts b/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetRelationshipsSchedule.ts new file mode 100644 index 000000000000..7dce7ee20439 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetRelationshipsSchedule.ts @@ -0,0 +1,54 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ScheduleTarget } from "./ScheduleTarget"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Holds the schedule reference for a configured schedule target. + */ +export class ConfiguredScheduleTargetRelationshipsSchedule { + /** + * Represents a schedule target for an escalation policy step, including its ID and resource type. This is a shortcut for a configured schedule target with position set to 'current'. + */ + "data": ScheduleTarget; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "ScheduleTarget", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return ConfiguredScheduleTargetRelationshipsSchedule.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetType.ts b/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetType.ts new file mode 100644 index 000000000000..3a8046d29650 --- /dev/null +++ b/packages/datadog-api-client-v2/models/ConfiguredScheduleTargetType.ts @@ -0,0 +1,16 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Indicates that the resource is of type `schedule_target`. + */ + +export type ConfiguredScheduleTargetType = + | typeof SCHEDULE_TARGET + | UnparsedObject; +export const SCHEDULE_TARGET = "schedule_target"; diff --git a/packages/datadog-api-client-v2/models/EscalationPolicyIncluded.ts b/packages/datadog-api-client-v2/models/EscalationPolicyIncluded.ts index 08011964f2f8..5544b2a8f89d 100644 --- a/packages/datadog-api-client-v2/models/EscalationPolicyIncluded.ts +++ b/packages/datadog-api-client-v2/models/EscalationPolicyIncluded.ts @@ -3,6 +3,7 @@ * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ +import { ConfiguredSchedule } from "./ConfiguredSchedule"; import { EscalationPolicyStep } from "./EscalationPolicyStep"; import { EscalationPolicyUser } from "./EscalationPolicyUser"; import { ScheduleData } from "./ScheduleData"; @@ -15,8 +16,9 @@ import { UnparsedObject } from "../../datadog-api-client-common/util"; */ export type EscalationPolicyIncluded = - | TeamReference | EscalationPolicyStep | EscalationPolicyUser | ScheduleData + | ConfiguredSchedule + | TeamReference | UnparsedObject; diff --git a/packages/datadog-api-client-v2/models/EscalationPolicyStepTarget.ts b/packages/datadog-api-client-v2/models/EscalationPolicyStepTarget.ts index 29b8cb42afd7..a008d00a7954 100644 --- a/packages/datadog-api-client-v2/models/EscalationPolicyStepTarget.ts +++ b/packages/datadog-api-client-v2/models/EscalationPolicyStepTarget.ts @@ -3,14 +3,19 @@ * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ +import { EscalationPolicyStepTargetConfig } from "./EscalationPolicyStepTargetConfig"; import { EscalationPolicyStepTargetType } from "./EscalationPolicyStepTargetType"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * Defines a single escalation target within a step for an escalation policy creation request. Contains `id` and `type`. + * Defines a single escalation target within a step for an escalation policy creation request. Contains `id`, `type`, and optional `config`. */ export class EscalationPolicyStepTarget { + /** + * Configuration for an escalation target, such as schedule position. + */ + "config"?: EscalationPolicyStepTargetConfig; /** * Specifies the unique identifier for this target. */ @@ -36,6 +41,10 @@ export class EscalationPolicyStepTarget { * @ignore */ static readonly attributeTypeMap: AttributeTypeMap = { + config: { + baseName: "config", + type: "EscalationPolicyStepTargetConfig", + }, id: { baseName: "id", type: "string", diff --git a/packages/datadog-api-client-v2/models/EscalationPolicyStepTargetConfig.ts b/packages/datadog-api-client-v2/models/EscalationPolicyStepTargetConfig.ts new file mode 100644 index 000000000000..47eaef57896f --- /dev/null +++ b/packages/datadog-api-client-v2/models/EscalationPolicyStepTargetConfig.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { EscalationPolicyStepTargetConfigSchedule } from "./EscalationPolicyStepTargetConfigSchedule"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Configuration for an escalation target, such as schedule position. + */ +export class EscalationPolicyStepTargetConfig { + /** + * Schedule-specific configuration for an escalation target. + */ + "schedule"?: EscalationPolicyStepTargetConfigSchedule; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + schedule: { + baseName: "schedule", + type: "EscalationPolicyStepTargetConfigSchedule", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return EscalationPolicyStepTargetConfig.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/EscalationPolicyStepTargetConfigSchedule.ts b/packages/datadog-api-client-v2/models/EscalationPolicyStepTargetConfigSchedule.ts new file mode 100644 index 000000000000..28f297bb81cd --- /dev/null +++ b/packages/datadog-api-client-v2/models/EscalationPolicyStepTargetConfigSchedule.ts @@ -0,0 +1,53 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { ScheduleTargetPosition } from "./ScheduleTargetPosition"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Schedule-specific configuration for an escalation target. + */ +export class EscalationPolicyStepTargetConfigSchedule { + /** + * Specifies the position of a schedule target (example `previous`, `current`, or `next`). + */ + "position"?: ScheduleTargetPosition; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + position: { + baseName: "position", + type: "ScheduleTargetPosition", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return EscalationPolicyStepTargetConfigSchedule.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/EscalationTarget.ts b/packages/datadog-api-client-v2/models/EscalationTarget.ts index f252ed99f1f2..6ed4325fa5af 100644 --- a/packages/datadog-api-client-v2/models/EscalationTarget.ts +++ b/packages/datadog-api-client-v2/models/EscalationTarget.ts @@ -3,6 +3,7 @@ * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ +import { ConfiguredScheduleTarget } from "./ConfiguredScheduleTarget"; import { ScheduleTarget } from "./ScheduleTarget"; import { TeamTarget } from "./TeamTarget"; import { UserTarget } from "./UserTarget"; @@ -10,11 +11,12 @@ import { UserTarget } from "./UserTarget"; import { UnparsedObject } from "../../datadog-api-client-common/util"; /** - * Represents an escalation target, which can be a team, user, or schedule. + * Represents an escalation target, which can be a team, user, schedule, or configured schedule target. */ export type EscalationTarget = | TeamTarget | UserTarget | ScheduleTarget + | ConfiguredScheduleTarget | UnparsedObject; diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index 9a7ca7b4888f..03231babdc0a 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -462,6 +462,11 @@ import { ConfigCatIntegration } from "./ConfigCatIntegration"; import { ConfigCatIntegrationUpdate } from "./ConfigCatIntegrationUpdate"; import { ConfigCatSDKKey } from "./ConfigCatSDKKey"; import { ConfigCatSDKKeyUpdate } from "./ConfigCatSDKKeyUpdate"; +import { ConfiguredSchedule } from "./ConfiguredSchedule"; +import { ConfiguredScheduleTarget } from "./ConfiguredScheduleTarget"; +import { ConfiguredScheduleTargetAttributes } from "./ConfiguredScheduleTargetAttributes"; +import { ConfiguredScheduleTargetRelationships } from "./ConfiguredScheduleTargetRelationships"; +import { ConfiguredScheduleTargetRelationshipsSchedule } from "./ConfiguredScheduleTargetRelationshipsSchedule"; import { ConfluentAccountCreateRequest } from "./ConfluentAccountCreateRequest"; import { ConfluentAccountCreateRequestAttributes } from "./ConfluentAccountCreateRequestAttributes"; import { ConfluentAccountCreateRequestData } from "./ConfluentAccountCreateRequestData"; @@ -885,6 +890,8 @@ import { EscalationPolicyStep } from "./EscalationPolicyStep"; import { EscalationPolicyStepAttributes } from "./EscalationPolicyStepAttributes"; import { EscalationPolicyStepRelationships } from "./EscalationPolicyStepRelationships"; import { EscalationPolicyStepTarget } from "./EscalationPolicyStepTarget"; +import { EscalationPolicyStepTargetConfig } from "./EscalationPolicyStepTargetConfig"; +import { EscalationPolicyStepTargetConfigSchedule } from "./EscalationPolicyStepTargetConfigSchedule"; import { EscalationPolicyUpdateRequest } from "./EscalationPolicyUpdateRequest"; import { EscalationPolicyUpdateRequestData } from "./EscalationPolicyUpdateRequestData"; import { EscalationPolicyUpdateRequestDataAttributes } from "./EscalationPolicyUpdateRequestDataAttributes"; @@ -3035,6 +3042,7 @@ const enumsMap: { [key: string]: any[] } = { ], ConfigCatIntegrationType: ["ConfigCat"], ConfigCatSDKKeyType: ["ConfigCatSDKKey"], + ConfiguredScheduleTargetType: ["schedule_target"], ConfluentAccountType: ["confluent-cloud-accounts"], ConfluentResourceType: ["confluent-cloud-resources"], ConnectedTeamRefDataType: ["github_team"], @@ -3974,6 +3982,7 @@ const enumsMap: { [key: string]: any[] } = { ScheduleDataType: ["schedules"], ScheduleMemberRelationshipsUserDataType: ["users"], ScheduleMemberType: ["members"], + ScheduleTargetPosition: ["previous", "current", "next"], ScheduleTargetType: ["schedules"], ScheduleUpdateRequestDataType: ["schedules"], ScheduleUserType: ["users"], @@ -4922,6 +4931,12 @@ const typeMap: { [index: string]: any } = { ConfigCatIntegrationUpdate: ConfigCatIntegrationUpdate, ConfigCatSDKKey: ConfigCatSDKKey, ConfigCatSDKKeyUpdate: ConfigCatSDKKeyUpdate, + ConfiguredSchedule: ConfiguredSchedule, + ConfiguredScheduleTarget: ConfiguredScheduleTarget, + ConfiguredScheduleTargetAttributes: ConfiguredScheduleTargetAttributes, + ConfiguredScheduleTargetRelationships: ConfiguredScheduleTargetRelationships, + ConfiguredScheduleTargetRelationshipsSchedule: + ConfiguredScheduleTargetRelationshipsSchedule, ConfluentAccountCreateRequest: ConfluentAccountCreateRequest, ConfluentAccountCreateRequestAttributes: ConfluentAccountCreateRequestAttributes, @@ -5431,6 +5446,9 @@ const typeMap: { [index: string]: any } = { EscalationPolicyStepAttributes: EscalationPolicyStepAttributes, EscalationPolicyStepRelationships: EscalationPolicyStepRelationships, EscalationPolicyStepTarget: EscalationPolicyStepTarget, + EscalationPolicyStepTargetConfig: EscalationPolicyStepTargetConfig, + EscalationPolicyStepTargetConfigSchedule: + EscalationPolicyStepTargetConfigSchedule, EscalationPolicyUpdateRequest: EscalationPolicyUpdateRequest, EscalationPolicyUpdateRequestData: EscalationPolicyUpdateRequestData, EscalationPolicyUpdateRequestDataAttributes: @@ -7768,12 +7786,18 @@ const oneOfMap: { [index: string]: string[] } = { "EntityV3APISpecInterfaceDefinition", ], EscalationPolicyIncluded: [ - "TeamReference", "EscalationPolicyStep", "EscalationPolicyUser", "ScheduleData", + "ConfiguredSchedule", + "TeamReference", + ], + EscalationTarget: [ + "TeamTarget", + "UserTarget", + "ScheduleTarget", + "ConfiguredScheduleTarget", ], - EscalationTarget: ["TeamTarget", "UserTarget", "ScheduleTarget"], EventPayloadAttributes: [ "ChangeEventCustomAttributes", "AlertEventCustomAttributes", diff --git a/packages/datadog-api-client-v2/models/ScheduleTarget.ts b/packages/datadog-api-client-v2/models/ScheduleTarget.ts index df4cd81cbdb3..f765b962fb7f 100644 --- a/packages/datadog-api-client-v2/models/ScheduleTarget.ts +++ b/packages/datadog-api-client-v2/models/ScheduleTarget.ts @@ -8,7 +8,7 @@ import { ScheduleTargetType } from "./ScheduleTargetType"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** - * Represents a schedule target for an escalation policy step, including its ID and resource type. + * Represents a schedule target for an escalation policy step, including its ID and resource type. This is a shortcut for a configured schedule target with position set to 'current'. */ export class ScheduleTarget { /** diff --git a/packages/datadog-api-client-v2/models/ScheduleTargetPosition.ts b/packages/datadog-api-client-v2/models/ScheduleTargetPosition.ts new file mode 100644 index 000000000000..717f0c3efacf --- /dev/null +++ b/packages/datadog-api-client-v2/models/ScheduleTargetPosition.ts @@ -0,0 +1,20 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { UnparsedObject } from "../../datadog-api-client-common/util"; + +/** + * Specifies the position of a schedule target (example `previous`, `current`, or `next`). + */ + +export type ScheduleTargetPosition = + | typeof PREVIOUS + | typeof CURRENT + | typeof NEXT + | UnparsedObject; +export const PREVIOUS = "previous"; +export const CURRENT = "current"; +export const NEXT = "next";