diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d2192b748..fb8574b17 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -9168,6 +9168,11 @@ components: CaseCreateAttributes: description: Case creation attributes properties: + custom_attributes: + additionalProperties: + $ref: '#/components/schemas/CustomAttributeValue' + description: Case custom attributes + type: object description: description: Description type: string @@ -14712,9 +14717,9 @@ components: type: number type: array CustomAttributeMultiStringValue: - description: Value of multi TEXT/URL custom attribute + description: Value of multi TEXT/URL/SELECT custom attribute items: - description: TEXT/URL Value + description: TEXT/URL/SELECT Value type: string type: array CustomAttributeNumberValue: @@ -14722,7 +14727,7 @@ components: format: double type: number CustomAttributeStringValue: - description: Value of TEXT/URL custom attribute + description: Value of TEXT/URL/SELECT custom attribute type: string CustomAttributeType: description: Custom attributes type @@ -14730,12 +14735,14 @@ components: - URL - TEXT - NUMBER + - SELECT example: NUMBER type: string x-enum-varnames: - URL - TEXT - NUMBER + - SELECT CustomAttributeValue: description: Custom attribute values properties: diff --git a/src/datadogV2/model/model_case_create_attributes.rs b/src/datadogV2/model/model_case_create_attributes.rs index cf6aab09d..4a6912a63 100644 --- a/src/datadogV2/model/model_case_create_attributes.rs +++ b/src/datadogV2/model/model_case_create_attributes.rs @@ -11,6 +11,10 @@ use std::fmt::{self, Formatter}; #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize)] pub struct CaseCreateAttributes { + /// Case custom attributes + #[serde(rename = "custom_attributes")] + pub custom_attributes: + Option>, /// Description #[serde(rename = "description")] pub description: Option, @@ -33,6 +37,7 @@ pub struct CaseCreateAttributes { impl CaseCreateAttributes { pub fn new(title: String, type_id: String) -> CaseCreateAttributes { CaseCreateAttributes { + custom_attributes: None, description: None, priority: None, title, @@ -42,6 +47,14 @@ impl CaseCreateAttributes { } } + pub fn custom_attributes( + mut self, + value: std::collections::BTreeMap, + ) -> Self { + self.custom_attributes = Some(value); + self + } + pub fn description(mut self, value: String) -> Self { self.description = Some(value); self @@ -78,6 +91,12 @@ impl<'de> Deserialize<'de> for CaseCreateAttributes { where M: MapAccess<'a>, { + let mut custom_attributes: Option< + std::collections::BTreeMap< + String, + crate::datadogV2::model::CustomAttributeValue, + >, + > = None; let mut description: Option = None; let mut priority: Option = None; let mut title: Option = None; @@ -90,6 +109,13 @@ impl<'de> Deserialize<'de> for CaseCreateAttributes { while let Some((k, v)) = map.next_entry::()? { match k.as_str() { + "custom_attributes" => { + if v.is_null() { + continue; + } + custom_attributes = + Some(serde_json::from_value(v).map_err(M::Error::custom)?); + } "description" => { if v.is_null() { continue; @@ -130,6 +156,7 @@ impl<'de> Deserialize<'de> for CaseCreateAttributes { let type_id = type_id.ok_or_else(|| M::Error::missing_field("type_id"))?; let content = CaseCreateAttributes { + custom_attributes, description, priority, title, diff --git a/src/datadogV2/model/model_custom_attribute_type.rs b/src/datadogV2/model/model_custom_attribute_type.rs index f934f9db4..8d6323878 100644 --- a/src/datadogV2/model/model_custom_attribute_type.rs +++ b/src/datadogV2/model/model_custom_attribute_type.rs @@ -10,6 +10,7 @@ pub enum CustomAttributeType { URL, TEXT, NUMBER, + SELECT, UnparsedObject(crate::datadog::UnparsedObject), } @@ -19,6 +20,7 @@ impl ToString for CustomAttributeType { Self::URL => String::from("URL"), Self::TEXT => String::from("TEXT"), Self::NUMBER => String::from("NUMBER"), + Self::SELECT => String::from("SELECT"), Self::UnparsedObject(v) => v.value.to_string(), } } @@ -46,6 +48,7 @@ impl<'de> Deserialize<'de> for CustomAttributeType { "URL" => Self::URL, "TEXT" => Self::TEXT, "NUMBER" => Self::NUMBER, + "SELECT" => Self::SELECT, _ => Self::UnparsedObject(crate::datadog::UnparsedObject { value: serde_json::Value::String(s.into()), }), diff --git a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.frozen index 586a14bae..73056732d 100644 --- a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:29.817Z \ No newline at end of file +2025-12-30T13:49:44.747Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.json index fa0259a72..9976b8610 100644 --- a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-Bad-Request-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"3601878d-b851-43b6-900f-0deb35e536d7\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:30.261735Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"3601878d-b851-43b6-900f-0deb35e536d7\",\"key\":\"DDFC-82968\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83056\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"e3f011bc-8ae6-4ec2-b80d-3069e73bc6a1\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:45.033566Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"e3f011bc-8ae6-4ec2-b80d-3069e73bc6a1\",\"key\":\"DDFC-98805\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99261\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:29 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:44 GMT" }, { "request": { @@ -49,7 +49,7 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/3601878d-b851-43b6-900f-0deb35e536d7/archive" + "uri": "https://api.datadoghq.com/api/v2/cases/e3f011bc-8ae6-4ec2-b80d-3069e73bc6a1/archive" }, "response": { "body": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:29 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:44 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.frozen index 122706261..49fdfee8b 100644 --- a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:31.029Z \ No newline at end of file +2025-12-30T13:49:45.212Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.json index f4f67f8c7..fc31f638e 100644 --- a/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Archive-case-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"b5cf9b44-cb77-4487-a436-0e3ef4e88d49\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:31.456149Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b5cf9b44-cb77-4487-a436-0e3ef4e88d49\",\"key\":\"DDFC-82969\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83057\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"926e6b8a-4af6-43b2-8a29-33813af68594\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:45.269528Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"926e6b8a-4af6-43b2-8a29-33813af68594\",\"key\":\"DDFC-98806\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99262\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:31 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:45 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/b5cf9b44-cb77-4487-a436-0e3ef4e88d49/archive" + "uri": "https://api.datadoghq.com/api/v2/cases/926e6b8a-4af6-43b2-8a29-33813af68594/archive" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"b5cf9b44-cb77-4487-a436-0e3ef4e88d49\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2025-10-01T12:46:31.920596976Z\",\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:31.456149Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b5cf9b44-cb77-4487-a436-0e3ef4e88d49\",\"key\":\"DDFC-82969\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-10-01T12:46:31.920597Z\",\"priority\":\"P4\",\"public_id\":\"83057\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"926e6b8a-4af6-43b2-8a29-33813af68594\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2025-12-30T13:49:45.40368576Z\",\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:45.269528Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"926e6b8a-4af6-43b2-8a29-33813af68594\",\"key\":\"DDFC-98806\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-12-30T13:49:45.403686Z\",\"priority\":\"P4\",\"public_id\":\"99262\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:31 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:45 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.frozen index ea5b97b0a..2fd4c4e8f 100644 --- a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:31.968Z \ No newline at end of file +2025-12-30T13:49:45.450Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.json index 392eaae45..6ad5c4335 100644 --- a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-Bad-Request-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"1beeecc8-5c4f-4194-a785-e5c60234e263\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:32.453117Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"1beeecc8-5c4f-4194-a785-e5c60234e263\",\"key\":\"DDFC-82970\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83058\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"b3cef7a0-9637-43fb-88cf-d9ac56310a7b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:45.508531Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b3cef7a0-9637-43fb-88cf-d9ac56310a7b\",\"key\":\"DDFC-98807\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99263\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:31 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:45 GMT" }, { "request": { @@ -49,7 +49,7 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/1beeecc8-5c4f-4194-a785-e5c60234e263/assign" + "uri": "https://api.datadoghq.com/api/v2/cases/b3cef7a0-9637-43fb-88cf-d9ac56310a7b/assign" }, "response": { "body": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:31 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:45 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.frozen index 791da7476..ff2fee4b6 100644 --- a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:34.590Z \ No newline at end of file +2025-12-30T13:49:45.709Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.json index 1277ce3d6..ffef62374 100644 --- a/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Assign-case-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"3266bb95-e129-4377-a6a1-16cbd3e07395\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:35.065341Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"3266bb95-e129-4377-a6a1-16cbd3e07395\",\"key\":\"DDFC-82971\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83059\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"0bb969fd-0864-46a1-8e6d-35434e677004\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:45.922467Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"0bb969fd-0864-46a1-8e6d-35434e677004\",\"key\":\"DDFC-98808\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99264\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,12 +32,12 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:34 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:45 GMT" }, { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1759322794@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", + "string": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1767102585@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}", "encoding": null }, "headers": { @@ -53,7 +53,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"type\":\"users\",\"id\":\"aa4556b9-9ec4-11f0-8e55-4666095c4509\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1759322794@datadoghq.com\",\"created_at\":\"2025-10-01T12:46:35.593518+00:00\",\"modified_at\":\"2025-10-01T12:46:35.593518+00:00\",\"email\":\"test-assign_case_returns_ok_response-1759322794@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/0b128b1184e8a9942ff24d7a55b04d84?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", + "string": "{\"data\":{\"type\":\"users\",\"id\":\"06fe1d45-8040-47eb-b161-837f416635e7\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1767102585@datadoghq.com\",\"created_at\":\"2025-12-30T13:49:46.123532+00:00\",\"modified_at\":\"2025-12-30T13:49:46.123532+00:00\",\"email\":\"test-assign_case_returns_ok_response-1767102585@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/7ef6584479871df45cdfa7868fcc1849?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", "encoding": null }, "headers": { @@ -66,12 +66,12 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:34 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:45 GMT" }, { "request": { "body": { - "string": "{\"data\":{\"attributes\":{\"assignee_id\":\"aa4556b9-9ec4-11f0-8e55-4666095c4509\"},\"type\":\"case\"}}", + "string": "{\"data\":{\"attributes\":{\"assignee_id\":\"06fe1d45-8040-47eb-b161-837f416635e7\"},\"type\":\"case\"}}", "encoding": null }, "headers": { @@ -83,11 +83,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/3266bb95-e129-4377-a6a1-16cbd3e07395/assign" + "uri": "https://api.datadoghq.com/api/v2/cases/0bb969fd-0864-46a1-8e6d-35434e677004/assign" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"3266bb95-e129-4377-a6a1-16cbd3e07395\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:35.065341Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"3266bb95-e129-4377-a6a1-16cbd3e07395\",\"key\":\"DDFC-82971\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-10-01T12:46:36.127269Z\",\"priority\":\"P4\",\"public_id\":\"83059\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"aa4556b9-9ec4-11f0-8e55-4666095c4509\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}},{\"id\":\"aa4556b9-9ec4-11f0-8e55-4666095c4509\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-assign_case_returns_ok_response-1759322794@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1759322794@datadoghq.com\",\"name\":\"\"}}]}", + "string": "{\"data\":{\"id\":\"0bb969fd-0864-46a1-8e6d-35434e677004\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:45.922467Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"0bb969fd-0864-46a1-8e6d-35434e677004\",\"key\":\"DDFC-98808\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-12-30T13:49:46.211933Z\",\"priority\":\"P4\",\"public_id\":\"99264\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"06fe1d45-8040-47eb-b161-837f416635e7\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}},{\"id\":\"06fe1d45-8040-47eb-b161-837f416635e7\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-assign_case_returns_ok_response-1767102585@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1767102585@datadoghq.com\",\"name\":\"\"}}]}", "encoding": null }, "headers": { @@ -100,7 +100,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:34 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:45 GMT" }, { "request": { @@ -111,7 +111,7 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/users/aa4556b9-9ec4-11f0-8e55-4666095c4509" + "uri": "https://api.datadoghq.com/api/v2/users/06fe1d45-8040-47eb-b161-837f416635e7" }, "response": { "body": { @@ -124,7 +124,7 @@ "message": "No Content" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:34 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:45 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.frozen index bea3893eb..7a164c32e 100644 --- a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:36.797Z \ No newline at end of file +2025-12-30T13:49:46.568Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.json index 16ee06a7e..99c8313f8 100644 --- a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-Bad-Request-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"5ce18aba-c435-4b23-9818-bf79e97dcc66\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:37.280816Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5ce18aba-c435-4b23-9818-bf79e97dcc66\",\"key\":\"DDFC-82972\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83060\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"dabff9f7-18d4-40ac-acd5-50b2d311ff53\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:46.622659Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"dabff9f7-18d4-40ac-acd5-50b2d311ff53\",\"key\":\"DDFC-98809\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99265\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:36 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:46 GMT" }, { "request": { @@ -49,7 +49,7 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/5ce18aba-c435-4b23-9818-bf79e97dcc66/comment" + "uri": "https://api.datadoghq.com/api/v2/cases/dabff9f7-18d4-40ac-acd5-50b2d311ff53/comment" }, "response": { "body": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:36 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:46 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.frozen index 654ac6fee..98b9d1fc7 100644 --- a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:38.181Z \ No newline at end of file +2025-12-30T13:49:46.777Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.json index 0507f4a73..98da3f4a5 100644 --- a/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Comment-case-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"1e943f20-0e96-4833-bc3f-728b8991d32e\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:38.628783Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"1e943f20-0e96-4833-bc3f-728b8991d32e\",\"key\":\"DDFC-82973\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83061\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"84a0af3b-6609-442a-b4de-b082652354cf\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:46.840801Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"84a0af3b-6609-442a-b4de-b082652354cf\",\"key\":\"DDFC-98810\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99266\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:38 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:46 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/1e943f20-0e96-4833-bc3f-728b8991d32e/comment" + "uri": "https://api.datadoghq.com/api/v2/cases/84a0af3b-6609-442a-b4de-b082652354cf/comment" }, "response": { "body": { - "string": "{\"data\":[{\"id\":\"d18d2a69-215e-40e6-a186-445ac1291dee\",\"type\":\"timeline_cell\",\"attributes\":{\"author\":{\"type\":\"USER\",\"content\":{\"ID\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"frog\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"active\":true}},\"cell_content\":{\"message\":\"Hello World !\"},\"content\":\"{\\\"message\\\":\\\"Hello World !\\\"}\",\"created_at\":\"2025-10-01T12:46:39.051704699Z\",\"type\":\"COMMENT\"}}]}", + "string": "{\"data\":[{\"id\":\"2df6429f-8148-440c-a959-e6503f42709b\",\"type\":\"timeline_cell\",\"attributes\":{\"author\":{\"type\":\"USER\",\"content\":{\"ID\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"active\":true}},\"cell_content\":{\"message\":\"Hello World !\"},\"content\":\"{\\\"message\\\":\\\"Hello World !\\\"}\",\"created_at\":\"2025-12-30T13:49:46.968106806Z\",\"type\":\"COMMENT\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:38 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:46 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.frozen b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.frozen index e7e401d33..86ab74d05 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:41.670Z \ No newline at end of file +2025-12-30T13:49:47.018Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.json index a1dc19b47..55cb437a4 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Delete-case-comment-returns-Not-Found-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"41de4d6f-9ed2-478f-b180-3a383c14dc64\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:42.111632Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"41de4d6f-9ed2-478f-b180-3a383c14dc64\",\"key\":\"DDFC-82975\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83064\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"e48aba34-ea79-45c7-a425-56d5b09c9fc4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:47.073795Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"e48aba34-ea79-45c7-a425-56d5b09c9fc4\",\"key\":\"DDFC-98811\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99267\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:41 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" }, { "request": { @@ -43,11 +43,11 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/cases/41de4d6f-9ed2-478f-b180-3a383c14dc64/comment/23fca2aa-4967-4936-bdd7-9157d9e456d7" + "uri": "https://api.datadoghq.com/api/v2/cases/e48aba34-ea79-45c7-a425-56d5b09c9fc4/comment/23fca2aa-4967-4936-bdd7-9157d9e456d7" }, "response": { "body": { - "string": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"timeline cell not found\"}]}", + "string": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to get timeline cell: timeline cell not found\"}]}", "encoding": null }, "headers": { @@ -60,7 +60,7 @@ "message": "Not Found" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:41 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.frozen b/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.frozen index 437e011d4..fe06c3881 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:42.614Z \ No newline at end of file +2025-12-30T13:49:47.272Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.json index 304545616..b83235f34 100644 --- a/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Delete-custom-attribute-from-case-returns-Not-Found-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"16b310dd-5329-48c5-82fe-ccd2b39cb0e5\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:43.066117Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"16b310dd-5329-48c5-82fe-ccd2b39cb0e5\",\"key\":\"DDFC-82976\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83065\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"83a5e059-3fde-48b5-b4d4-8bcc5227db32\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:47.318549Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"83a5e059-3fde-48b5-b4d4-8bcc5227db32\",\"key\":\"DDFC-98812\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99268\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:42 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" }, { "request": { @@ -43,11 +43,11 @@ ] }, "method": "delete", - "uri": "https://api.datadoghq.com/api/v2/cases/16b310dd-5329-48c5-82fe-ccd2b39cb0e5/custom_attributes/invalid_key" + "uri": "https://api.datadoghq.com/api/v2/cases/83a5e059-3fde-48b5-b4d4-8bcc5227db32/custom_attributes/invalid_key" }, "response": { "body": { - "string": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to update case (command func error): custom attribute configuration not found\",\"meta\":{\"key\":\"invalid_key\"}}]}", + "string": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to update batch: failed to apply command: failed to apply domain.RemoveCustomAttribute command: custom attribute configuration not found\",\"meta\":{\"key\":\"invalid_key\"}}]}", "encoding": null }, "headers": { @@ -60,7 +60,7 @@ "message": "Not Found" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:42 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.frozen index 10a2481a0..64799d658 100644 --- a/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:44.009Z \ No newline at end of file +2025-12-30T13:49:47.488Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.json index b62763f0f..31eeee8a3 100644 --- a/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Get-the-details-of-a-case-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"da266ceb-843c-4af1-9190-9f1ab13fd4f4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:44.422586Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"da266ceb-843c-4af1-9190-9f1ab13fd4f4\",\"key\":\"DDFC-82977\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83066\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"9daaa414-8843-46e2-8360-c36d3713285f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:47.542749Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"9daaa414-8843-46e2-8360-c36d3713285f\",\"key\":\"DDFC-98813\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99269\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:44 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" }, { "request": { @@ -43,11 +43,11 @@ ] }, "method": "get", - "uri": "https://api.datadoghq.com/api/v2/cases/da266ceb-843c-4af1-9190-9f1ab13fd4f4" + "uri": "https://api.datadoghq.com/api/v2/cases/9daaa414-8843-46e2-8360-c36d3713285f" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"da266ceb-843c-4af1-9190-9f1ab13fd4f4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:44.422586Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"da266ceb-843c-4af1-9190-9f1ab13fd4f4\",\"key\":\"DDFC-82977\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83066\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"9daaa414-8843-46e2-8360-c36d3713285f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:47.542749Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"9daaa414-8843-46e2-8360-c36d3713285f\",\"key\":\"DDFC-98813\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99269\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -60,7 +60,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:44 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.frozen index 7fe2db8b1..b5329637a 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:44.940Z \ No newline at end of file +2025-12-30T13:49:47.735Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.json index eb731d0b0..59cf8db13 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-Bad-Request-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"add421a8-61e3-416e-85ec-9db7440bc951\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:45.339926Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"add421a8-61e3-416e-85ec-9db7440bc951\",\"key\":\"DDFC-82978\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83067\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"21c1b181-cee4-4b72-bf96-38859d367da4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:47.783537Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"21c1b181-cee4-4b72-bf96-38859d367da4\",\"key\":\"DDFC-98814\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99270\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:44 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" }, { "request": { @@ -49,7 +49,7 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/add421a8-61e3-416e-85ec-9db7440bc951/unarchive" + "uri": "https://api.datadoghq.com/api/v2/cases/21c1b181-cee4-4b72-bf96-38859d367da4/unarchive" }, "response": { "body": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:44 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.frozen index 5a7cef238..eee04a8be 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:46.650Z \ No newline at end of file +2025-12-30T13:49:47.992Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.json index b16060d7f..c3c4b3a43 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unarchive-case-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"6f53ae15-54ca-418d-b3bc-ae2b039dbb5c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:47.573675Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6f53ae15-54ca-418d-b3bc-ae2b039dbb5c\",\"key\":\"DDFC-82979\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83068\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"a02bcfe0-5678-49bb-a696-86544bde2bee\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:48.042966Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"a02bcfe0-5678-49bb-a696-86544bde2bee\",\"key\":\"DDFC-98815\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99271\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:46 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/6f53ae15-54ca-418d-b3bc-ae2b039dbb5c/unarchive" + "uri": "https://api.datadoghq.com/api/v2/cases/a02bcfe0-5678-49bb-a696-86544bde2bee/unarchive" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"6f53ae15-54ca-418d-b3bc-ae2b039dbb5c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:47.573675Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6f53ae15-54ca-418d-b3bc-ae2b039dbb5c\",\"key\":\"DDFC-82979\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83068\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"a02bcfe0-5678-49bb-a696-86544bde2bee\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:48.042966Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"a02bcfe0-5678-49bb-a696-86544bde2bee\",\"key\":\"DDFC-98815\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99271\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:46 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:47 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.frozen index 0400accbe..c94e0251e 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:48.330Z \ No newline at end of file +2025-12-30T13:49:48.267Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.json index 18df5b7da..568d7dc19 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-Bad-Request-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"976a6c59-d5b2-477a-95e4-00d154bcf447\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:48.896678Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"976a6c59-d5b2-477a-95e4-00d154bcf447\",\"key\":\"DDFC-82980\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83069\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"5fa6cf48-aa31-40bc-9d17-f8f78eea95be\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:48.323172Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5fa6cf48-aa31-40bc-9d17-f8f78eea95be\",\"key\":\"DDFC-98816\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99272\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:48 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:48 GMT" }, { "request": { @@ -49,7 +49,7 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/976a6c59-d5b2-477a-95e4-00d154bcf447/unassign" + "uri": "https://api.datadoghq.com/api/v2/cases/5fa6cf48-aa31-40bc-9d17-f8f78eea95be/unassign" }, "response": { "body": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:48 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:48 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.frozen index 9fe15caf9..ec79ed792 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:50.389Z \ No newline at end of file +2025-12-30T13:49:48.487Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.json index 055bd156e..14f299cef 100644 --- a/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Unassign-case-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"83f41574-2062-47de-be0e-b3c2ae43ef5c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:50.896205Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"83f41574-2062-47de-be0e-b3c2ae43ef5c\",\"key\":\"DDFC-82981\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83070\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"6491a991-9117-46dc-9762-ea2cc244e5b3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:48.538223Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6491a991-9117-46dc-9762-ea2cc244e5b3\",\"key\":\"DDFC-98817\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99273\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:50 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:48 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/83f41574-2062-47de-be0e-b3c2ae43ef5c/unassign" + "uri": "https://api.datadoghq.com/api/v2/cases/6491a991-9117-46dc-9762-ea2cc244e5b3/unassign" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"83f41574-2062-47de-be0e-b3c2ae43ef5c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:50.896205Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"83f41574-2062-47de-be0e-b3c2ae43ef5c\",\"key\":\"DDFC-82981\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83070\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"6491a991-9117-46dc-9762-ea2cc244e5b3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:48.538223Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6491a991-9117-46dc-9762-ea2cc244e5b3\",\"key\":\"DDFC-98817\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99273\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:50 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:48 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.frozen index 9619ed45f..279957c45 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:52.908Z \ No newline at end of file +2025-12-30T13:49:48.699Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.json index 34f39e057..6aff1a5b7 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-attributes-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"916e1b61-25b1-4da9-b3a3-000150b675f6\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:53.522427Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"916e1b61-25b1-4da9-b3a3-000150b675f6\",\"key\":\"DDFC-82982\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83071\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"8c6346d6-448d-43a0-b957-b38773438c4f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:48.757052Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"8c6346d6-448d-43a0-b957-b38773438c4f\",\"key\":\"DDFC-98818\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99274\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:52 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:48 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/916e1b61-25b1-4da9-b3a3-000150b675f6/attributes" + "uri": "https://api.datadoghq.com/api/v2/cases/8c6346d6-448d-43a0-b957-b38773438c4f/attributes" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"916e1b61-25b1-4da9-b3a3-000150b675f6\",\"type\":\"case\",\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:53.522427Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"916e1b61-25b1-4da9-b3a3-000150b675f6\",\"key\":\"DDFC-82982\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-10-01T12:46:54.057858Z\",\"priority\":\"P4\",\"public_id\":\"83071\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"8c6346d6-448d-43a0-b957-b38773438c4f\",\"type\":\"case\",\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:48.757052Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"8c6346d6-448d-43a0-b957-b38773438c4f\",\"key\":\"DDFC-98818\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-12-30T13:49:48.927381Z\",\"priority\":\"P4\",\"public_id\":\"99274\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:52 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:48 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.frozen index 3f6e4336b..ffe59d3bc 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:54.092Z \ No newline at end of file +2025-12-30T13:49:48.998Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.json index bd62c0645..c0c0b6c38 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-custom-attribute-returns-Not-Found-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"8e87c755-54a9-470a-9118-62a0942ec870\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:54.666096Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"8e87c755-54a9-470a-9118-62a0942ec870\",\"key\":\"DDFC-82983\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83072\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"6ace1538-7ef1-4a00-a0bd-67c8ed9a3cd3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:49.048411Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6ace1538-7ef1-4a00-a0bd-67c8ed9a3cd3\",\"key\":\"DDFC-98819\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99275\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:54 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:48 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/8e87c755-54a9-470a-9118-62a0942ec870/custom_attributes/invalid_key" + "uri": "https://api.datadoghq.com/api/v2/cases/6ace1538-7ef1-4a00-a0bd-67c8ed9a3cd3/custom_attributes/invalid_key" }, "response": { "body": { - "string": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to update case (command func error): custom attribute configuration not found\",\"meta\":{\"key\":\"invalid_key\"}}]}", + "string": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to update batch: failed to apply command: failed to apply domain.UpdateCustomAttribute command: custom attribute configuration not found\",\"meta\":{\"key\":\"invalid_key\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "Not Found" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:54 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:48 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.frozen index f5684a8e2..338af624d 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:56.936Z \ No newline at end of file +2025-12-30T13:49:49.217Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.json index f561e54a1..3ce9ed506 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-description-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"bb8284e0-959e-43db-9920-adf55f37ed7d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:57.927663Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"bb8284e0-959e-43db-9920-adf55f37ed7d\",\"key\":\"DDFC-82984\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83073\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"a4887f3f-c7a8-47d7-ae65-a1f7ce9687c5\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:49.259766Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"a4887f3f-c7a8-47d7-ae65-a1f7ce9687c5\",\"key\":\"DDFC-98820\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99276\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:56 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:49 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/bb8284e0-959e-43db-9920-adf55f37ed7d/description" + "uri": "https://api.datadoghq.com/api/v2/cases/a4887f3f-c7a8-47d7-ae65-a1f7ce9687c5/description" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"bb8284e0-959e-43db-9920-adf55f37ed7d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:46:57.927663Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"Seeing some weird memory increase... Updating the description\",\"insights\":[],\"internal_id\":\"bb8284e0-959e-43db-9920-adf55f37ed7d\",\"key\":\"DDFC-82984\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-10-01T12:46:59.32863Z\",\"priority\":\"P4\",\"public_id\":\"83073\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"a4887f3f-c7a8-47d7-ae65-a1f7ce9687c5\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:49.259766Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"Seeing some weird memory increase... Updating the description\",\"insights\":[],\"internal_id\":\"a4887f3f-c7a8-47d7-ae65-a1f7ce9687c5\",\"key\":\"DDFC-98820\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-12-30T13:49:49.395812Z\",\"priority\":\"P4\",\"public_id\":\"99276\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:56 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:49 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.frozen index a4821efc1..40e66d12a 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-01T12:46:59.356Z \ No newline at end of file +2025-12-30T13:49:49.426Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.json index 5fbb1f010..0c9d1c419 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-Bad-Request-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"66eb3131-0b3b-489b-b672-2781600cc1e6\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:00.373489Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"66eb3131-0b3b-489b-b672-2781600cc1e6\",\"key\":\"DDFC-82985\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83074\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"4ef03b27-6d40-455b-8dd8-3f3224a34a7a\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:49.483012Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"4ef03b27-6d40-455b-8dd8-3f3224a34a7a\",\"key\":\"DDFC-98821\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99277\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:59 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:49 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/66eb3131-0b3b-489b-b672-2781600cc1e6/priority" + "uri": "https://api.datadoghq.com/api/v2/cases/4ef03b27-6d40-455b-8dd8-3f3224a34a7a/priority" }, "response": { "body": { - "string": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of NOT_DEFINED, P1, P2, P3, P4, P5\"}]}", + "string": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P1, P2, P3, P4, P5, NOT_DEFINED\"}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 01 Oct 2025 12:46:59 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:49 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.frozen index da62d2e6f..08ad75293 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:47:01.924Z \ No newline at end of file +2025-12-30T13:49:49.632Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.json index 70fd83224..453c04441 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-priority-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"d42afb74-0480-4535-bf4d-af0353d32c1c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:02.764285Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"d42afb74-0480-4535-bf4d-af0353d32c1c\",\"key\":\"DDFC-82986\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83075\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"511f7667-3d80-4498-8118-416211a1a131\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:49.67893Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"511f7667-3d80-4498-8118-416211a1a131\",\"key\":\"DDFC-98822\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99278\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:01 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:49 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/d42afb74-0480-4535-bf4d-af0353d32c1c/priority" + "uri": "https://api.datadoghq.com/api/v2/cases/511f7667-3d80-4498-8118-416211a1a131/priority" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"d42afb74-0480-4535-bf4d-af0353d32c1c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:02.764285Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"d42afb74-0480-4535-bf4d-af0353d32c1c\",\"key\":\"DDFC-82986\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-10-01T12:47:03.296015Z\",\"priority\":\"P3\",\"public_id\":\"83075\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"511f7667-3d80-4498-8118-416211a1a131\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:49.67893Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"511f7667-3d80-4498-8118-416211a1a131\",\"key\":\"DDFC-98822\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-12-30T13:49:49.835308Z\",\"priority\":\"P3\",\"public_id\":\"99278\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:01 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:49 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.frozen index fa70f7c32..b4042237f 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-01T12:47:03.345Z \ No newline at end of file +2025-12-30T13:49:49.865Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.json index 2763a8163..1e3404734 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-Bad-Request-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"53897bb0-8e8b-4652-985b-0b9e2e8c3a30\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:04.237961Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"53897bb0-8e8b-4652-985b-0b9e2e8c3a30\",\"key\":\"DDFC-82987\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83076\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"ae30545d-e705-493d-a672-7210315ccec2\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:49.916511Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"ae30545d-e705-493d-a672-7210315ccec2\",\"key\":\"DDFC-98823\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99279\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:03 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:49 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/53897bb0-8e8b-4652-985b-0b9e2e8c3a30/status" + "uri": "https://api.datadoghq.com/api/v2/cases/ae30545d-e705-493d-a672-7210315ccec2/status" }, "response": { "body": { - "string": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of CANCELLED, DECLINED, NOT_STARTED, SUNKNOWN, IN_PROGRESS, ACKNOWLEDGED, TRIGGERED, PENDING_APPROVAL, IMPLEMENTING, COMPLETED, OPEN, CLOSED, RESOLVED, APPROVED\"}]}", + "string": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of NOT_STARTED, IN_PROGRESS, CLOSED, ACKNOWLEDGED, TRIGGERED, PENDING_APPROVAL, COMPLETED, CANCELLED, DECLINED, SUNKNOWN, OPEN, RESOLVED, APPROVED, IMPLEMENTING\"}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:03 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:49 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.frozen index 447e0043d..79276a9d7 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:47:05.138Z \ No newline at end of file +2025-12-30T13:49:50.079Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.json index 8b830f463..6ab4a6b3c 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-status-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"e030702b-1f81-4ff0-94ba-ff9650823cf3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:05.547127Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"e030702b-1f81-4ff0-94ba-ff9650823cf3\",\"key\":\"DDFC-82988\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83077\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"d417f9be-d247-4ce8-b3e4-ae7a9283f3d6\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:50.123131Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"d417f9be-d247-4ce8-b3e4-ae7a9283f3d6\",\"key\":\"DDFC-98824\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99280\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:05 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:50 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/e030702b-1f81-4ff0-94ba-ff9650823cf3/status" + "uri": "https://api.datadoghq.com/api/v2/cases/d417f9be-d247-4ce8-b3e4-ae7a9283f3d6/status" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"e030702b-1f81-4ff0-94ba-ff9650823cf3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:05.547127Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"e030702b-1f81-4ff0-94ba-ff9650823cf3\",\"key\":\"DDFC-82988\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-10-01T12:47:05.982532Z\",\"priority\":\"P4\",\"public_id\":\"83077\",\"status\":\"IN_PROGRESS\",\"status_name\":\"In Progress\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"d417f9be-d247-4ce8-b3e4-ae7a9283f3d6\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:50.123131Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"d417f9be-d247-4ce8-b3e4-ae7a9283f3d6\",\"key\":\"DDFC-98824\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-12-30T13:49:50.289934Z\",\"priority\":\"P4\",\"public_id\":\"99280\",\"status\":\"IN_PROGRESS\",\"status_group\":\"SG_IN_PROGRESS\",\"status_name\":\"In Progress\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:05 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:50 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.frozen index ca09c6cf3..3cfdb82bc 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.frozen @@ -1 +1 @@ -2025-10-01T12:47:06.013Z \ No newline at end of file +2025-12-30T13:49:50.328Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.json index 404e929c5..b099eb12d 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-Bad-Request-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"de7cd20f-3755-44aa-9f89-846b6ae37124\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:06.439831Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"de7cd20f-3755-44aa-9f89-846b6ae37124\",\"key\":\"DDFC-82989\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83078\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"00a64fed-4338-458b-9af5-77ba6e6c9d7b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:50.377668Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"00a64fed-4338-458b-9af5-77ba6e6c9d7b\",\"key\":\"DDFC-98825\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99281\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:06 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:50 GMT" }, { "request": { @@ -49,7 +49,7 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/de7cd20f-3755-44aa-9f89-846b6ae37124/title" + "uri": "https://api.datadoghq.com/api/v2/cases/00a64fed-4338-458b-9af5-77ba6e6c9d7b/title" }, "response": { "body": { @@ -66,7 +66,7 @@ "message": "Bad Request" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:06 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:50 GMT" } ], "recorded_with": "VCR 6.0.0" diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.frozen b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.frozen index 898a971bb..7cd779059 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.frozen +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.frozen @@ -1 +1 @@ -2025-10-01T12:47:07.351Z \ No newline at end of file +2025-12-30T13:49:50.596Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.json b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.json index 7fcb0f2d3..550031e2d 100644 --- a/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.json +++ b/tests/scenarios/cassettes/v2/case_management/Update-case-title-returns-OK-response.json @@ -19,7 +19,7 @@ }, "response": { "body": { - "string": "{\"data\":{\"id\":\"4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:07.778878Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2\",\"key\":\"DDFC-82990\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"83079\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"03ec656b-5d21-41c4-a655-ccb18b0aa990\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:50.642707Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"03ec656b-5d21-41c4-a655-ccb18b0aa990\",\"key\":\"DDFC-98826\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"99282\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -32,7 +32,7 @@ "message": "Created" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:07 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:50 GMT" }, { "request": { @@ -49,11 +49,11 @@ ] }, "method": "post", - "uri": "https://api.datadoghq.com/api/v2/cases/4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2/title" + "uri": "https://api.datadoghq.com/api/v2/cases/03ec656b-5d21-41c4-a655-ccb18b0aa990/title" }, "response": { "body": { - "string": "{\"data\":{\"id\":\"4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-10-01T12:47:07.778878Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2\",\"key\":\"DDFC-82990\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-10-01T12:47:08.214456Z\",\"priority\":\"P4\",\"public_id\":\"83079\",\"status\":\"OPEN\",\"status_name\":\"Open\",\"title\":\"[UPDATED] Memory leak investigation on API\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}", + "string": "{\"data\":{\"id\":\"03ec656b-5d21-41c4-a655-ccb18b0aa990\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-12-30T13:49:50.642707Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"03ec656b-5d21-41c4-a655-ccb18b0aa990\",\"key\":\"DDFC-98826\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-12-30T13:49:50.769335Z\",\"priority\":\"P4\",\"public_id\":\"99282\",\"status\":\"OPEN\",\"status_group\":\"SG_OPEN\",\"status_name\":\"Open\",\"title\":\"[UPDATED] Memory leak investigation on API\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"team-intg-tools-libs-spam@datadoghq.com\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\"}}]}", "encoding": null }, "headers": { @@ -66,7 +66,7 @@ "message": "OK" } }, - "recorded_at": "Wed, 01 Oct 2025 12:47:07 GMT" + "recorded_at": "Tue, 30 Dec 2025 13:49:50 GMT" } ], "recorded_with": "VCR 6.0.0"