From 6c224c96100954e579e70aff85b94e42069375b2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 30 Dec 2025 14:33:53 +0000 Subject: [PATCH] Regenerate client from commit 7eecd8c of spec repo --- .generator/schemas/v2/openapi.yaml | 13 ++++-- .../client/v2/model/CaseCreateAttributes.java | 41 ++++++++++++++++++- .../client/v2/model/CustomAttributeType.java | 3 +- ...e_case_returns_Bad_Request_response.freeze | 2 +- ...ive_case_returns_Bad_Request_response.json | 6 +-- .../Archive_case_returns_OK_response.freeze | 2 +- .../v2/Archive_case_returns_OK_response.json | 8 ++-- ...n_case_returns_Bad_Request_response.freeze | 2 +- ...ign_case_returns_Bad_Request_response.json | 6 +-- .../v2/Assign_case_returns_OK_response.freeze | 2 +- .../v2/Assign_case_returns_OK_response.json | 20 ++++----- ...t_case_returns_Bad_Request_response.freeze | 2 +- ...ent_case_returns_Bad_Request_response.json | 6 +-- .../Comment_case_returns_OK_response.freeze | 2 +- .../v2/Comment_case_returns_OK_response.json | 8 ++-- ..._comment_returns_Not_Found_response.freeze | 2 +- ...se_comment_returns_Not_Found_response.json | 8 ++-- ...rom_case_returns_Not_Found_response.freeze | 2 +- ..._from_case_returns_Not_Found_response.json | 8 ++-- ...tails_of_a_case_returns_OK_response.freeze | 2 +- ...details_of_a_case_returns_OK_response.json | 8 ++-- ...e_case_returns_Bad_Request_response.freeze | 2 +- ...ive_case_returns_Bad_Request_response.json | 6 +-- .../Unarchive_case_returns_OK_response.freeze | 2 +- .../Unarchive_case_returns_OK_response.json | 8 ++-- ...n_case_returns_Bad_Request_response.freeze | 2 +- ...ign_case_returns_Bad_Request_response.json | 6 +-- .../Unassign_case_returns_OK_response.freeze | 2 +- .../v2/Unassign_case_returns_OK_response.json | 8 ++-- ...case_attributes_returns_OK_response.freeze | 2 +- ...e_case_attributes_returns_OK_response.json | 8 ++-- ...ttribute_returns_Not_Found_response.freeze | 2 +- ..._attribute_returns_Not_Found_response.json | 8 ++-- ...ase_description_returns_OK_response.freeze | 2 +- ..._case_description_returns_OK_response.json | 8 ++-- ...iority_returns_Bad_Request_response.freeze | 2 +- ...priority_returns_Bad_Request_response.json | 8 ++-- ...e_case_priority_returns_OK_response.freeze | 2 +- ...ate_case_priority_returns_OK_response.json | 8 ++-- ...status_returns_Bad_Request_response.freeze | 2 +- ...e_status_returns_Bad_Request_response.json | 8 ++-- ...ate_case_status_returns_OK_response.freeze | 2 +- ...pdate_case_status_returns_OK_response.json | 8 ++-- ..._title_returns_Bad_Request_response.freeze | 2 +- ...se_title_returns_Bad_Request_response.json | 6 +-- ...date_case_title_returns_OK_response.freeze | 2 +- ...Update_case_title_returns_OK_response.json | 8 ++-- 47 files changed, 161 insertions(+), 116 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d2192b74841..fb8574b175e 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/main/java/com/datadog/api/client/v2/model/CaseCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/CaseCreateAttributes.java index 1d35f9fb34e..17d1094c02c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CaseCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/CaseCreateAttributes.java @@ -19,6 +19,7 @@ /** Case creation attributes */ @JsonPropertyOrder({ + CaseCreateAttributes.JSON_PROPERTY_CUSTOM_ATTRIBUTES, CaseCreateAttributes.JSON_PROPERTY_DESCRIPTION, CaseCreateAttributes.JSON_PROPERTY_PRIORITY, CaseCreateAttributes.JSON_PROPERTY_TITLE, @@ -28,6 +29,9 @@ value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CaseCreateAttributes { @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_CUSTOM_ATTRIBUTES = "custom_attributes"; + private Map customAttributes = null; + public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; @@ -50,6 +54,36 @@ public CaseCreateAttributes( this.typeId = typeId; } + public CaseCreateAttributes customAttributes(Map customAttributes) { + this.customAttributes = customAttributes; + return this; + } + + public CaseCreateAttributes putCustomAttributesItem( + String key, CustomAttributeValue customAttributesItem) { + if (this.customAttributes == null) { + this.customAttributes = new HashMap<>(); + } + this.customAttributes.put(key, customAttributesItem); + return this; + } + + /** + * Case custom attributes + * + * @return customAttributes + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CUSTOM_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Map getCustomAttributes() { + return customAttributes; + } + + public void setCustomAttributes(Map customAttributes) { + this.customAttributes = customAttributes; + } + public CaseCreateAttributes description(String description) { this.description = description; return this; @@ -192,7 +226,8 @@ public boolean equals(Object o) { return false; } CaseCreateAttributes caseCreateAttributes = (CaseCreateAttributes) o; - return Objects.equals(this.description, caseCreateAttributes.description) + return Objects.equals(this.customAttributes, caseCreateAttributes.customAttributes) + && Objects.equals(this.description, caseCreateAttributes.description) && Objects.equals(this.priority, caseCreateAttributes.priority) && Objects.equals(this.title, caseCreateAttributes.title) && Objects.equals(this.typeId, caseCreateAttributes.typeId) @@ -201,13 +236,15 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(description, priority, title, typeId, additionalProperties); + return Objects.hash( + customAttributes, description, priority, title, typeId, additionalProperties); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CaseCreateAttributes {\n"); + sb.append(" customAttributes: ").append(toIndentedString(customAttributes)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" priority: ").append(toIndentedString(priority)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/CustomAttributeType.java b/src/main/java/com/datadog/api/client/v2/model/CustomAttributeType.java index 52453089872..006294fcda4 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CustomAttributeType.java +++ b/src/main/java/com/datadog/api/client/v2/model/CustomAttributeType.java @@ -23,11 +23,12 @@ public class CustomAttributeType extends ModelEnum { private static final Set allowedValues = - new HashSet(Arrays.asList("URL", "TEXT", "NUMBER")); + new HashSet(Arrays.asList("URL", "TEXT", "NUMBER", "SELECT")); public static final CustomAttributeType URL = new CustomAttributeType("URL"); public static final CustomAttributeType TEXT = new CustomAttributeType("TEXT"); public static final CustomAttributeType NUMBER = new CustomAttributeType("NUMBER"); + public static final CustomAttributeType SELECT = new CustomAttributeType("SELECT"); CustomAttributeType(String value) { super(value, allowedValues); diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.freeze index 586a14bae6e..73056732d9d 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json index 559428de639..73ccee50ec7 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,7 +37,7 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/3601878d-b851-43b6-900f-0deb35e536d7/archive", + "path": "/api/v2/cases/e3f011bc-8ae6-4ec2-b80d-3069e73bc6a1/archive", "keepAlive": false, "secure": true }, @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "e1a10cf1-3e3c-c706-790a-1973ce7c87c7" + "id": "ab7d7635-9dd8-75bc-f0cf-3417055b82d9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.freeze index 12270626115..49fdfee8b6d 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json index 129c2364491..4462748bb01 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/b5cf9b44-cb77-4487-a436-0e3ef4e88d49/archive", + "path": "/api/v2/cases/926e6b8a-4af6-43b2-8a29-33813af68594/archive", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "57529eb3-3888-9ea0-582e-398aac78c8cc" + "id": "d9673a60-73f9-7390-7584-792968835a2b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.freeze index ea5b97b0a6d..2fd4c4e8f03 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json index 244a30dd57f..97d2e012fb0 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,7 +37,7 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/1beeecc8-5c4f-4194-a785-e5c60234e263/assign", + "path": "/api/v2/cases/b3cef7a0-9637-43fb-88cf-d9ac56310a7b/assign", "keepAlive": false, "secure": true }, @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "30bda267-2a5e-f496-0edc-0461cb732a9b" + "id": "ed3d10de-dc2d-ee05-2933-dd494eefe952" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.freeze index 791da7476a0..ff2fee4b644 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json index 075165fbc98..c791186e6fd 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -33,7 +33,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1759322794@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "json": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1767102585@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "headers": {}, "method": "POST", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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", + "body": "{\"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", "headers": { "Content-Type": [ "application/json" @@ -57,22 +57,22 @@ "timeToLive": { "unlimited": true }, - "id": "4b743354-44f9-b130-5659-6ada19cf5360" + "id": "1aea590a-b5c0-4088-8dbd-4421362dcb28" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"assignee_id\":\"aa4556b9-9ec4-11f0-8e55-4666095c4509\"},\"type\":\"case\"}}" + "json": "{\"data\":{\"attributes\":{\"assignee_id\":\"06fe1d45-8040-47eb-b161-837f416635e7\"},\"type\":\"case\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/3266bb95-e129-4377-a6a1-16cbd3e07395/assign", + "path": "/api/v2/cases/0bb969fd-0864-46a1-8e6d-35434e677004/assign", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\":\"\"}}]}", + "body": "{\"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\":\"\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -87,13 +87,13 @@ "timeToLive": { "unlimited": true }, - "id": "13bc6938-d07a-ad87-fcb8-ea5ff6f91d23" + "id": "a9b52545-c8c8-50f0-0133-1578de88c3c6" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/users/aa4556b9-9ec4-11f0-8e55-4666095c4509", + "path": "/api/v2/users/06fe1d45-8040-47eb-b161-837f416635e7", "keepAlive": false, "secure": true }, @@ -108,6 +108,6 @@ "timeToLive": { "unlimited": true }, - "id": "ce688cf4-a7e2-c67b-c28a-6c0b211f2d33" + "id": "eb370e23-b433-00af-a8bd-5fd68296bf84" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.freeze index bea3893eb21..7a164c32e7a 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json index e7fba0da841..ad9498044cf 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,7 +37,7 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/5ce18aba-c435-4b23-9818-bf79e97dcc66/comment", + "path": "/api/v2/cases/dabff9f7-18d4-40ac-acd5-50b2d311ff53/comment", "keepAlive": false, "secure": true }, @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "565c699f-09b1-73bd-c8fa-7550bcbc4135" + "id": "01952a50-d07b-3802-2f0e-0c782d816608" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.freeze index 654ac6feecc..98b9d1fc74b 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json index b8a295d04c6..7a1d8329345 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/1e943f20-0e96-4833-bc3f-728b8991d32e/comment", + "path": "/api/v2/cases/84a0af3b-6609-442a-b4de-b082652354cf/comment", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "44eb7d93-b01e-d6bc-e444-07428474e0a3" + "id": "58b7b9f2-697c-5379-6b82-7cf1e5fa1155" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.freeze index e7e401d337b..86ab74d050c 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json index afc14299adc..4a4af70d4d6 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -33,12 +33,12 @@ "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/cases/41de4d6f-9ed2-478f-b180-3a383c14dc64/comment/23fca2aa-4967-4936-bdd7-9157d9e456d7", + "path": "/api/v2/cases/e48aba34-ea79-45c7-a425-56d5b09c9fc4/comment/23fca2aa-4967-4936-bdd7-9157d9e456d7", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"timeline cell not found\"}]}", + "body": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to get timeline cell: timeline cell not found\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "c736bcd4-97f0-ef9b-9852-4bdb89d929ad" + "id": "4b3038dd-0bd3-d0d1-cb5b-2cf2b69eae26" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.freeze index 437e011d446..fe06c3881a9 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json index 0c846427a6c..4d6f43f87bf 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -33,12 +33,12 @@ "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/cases/16b310dd-5329-48c5-82fe-ccd2b39cb0e5/custom_attributes/invalid_key", + "path": "/api/v2/cases/83a5e059-3fde-48b5-b4d4-8bcc5227db32/custom_attributes/invalid_key", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to update case (command func error): custom attribute configuration not found\",\"meta\":{\"key\":\"invalid_key\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "230dc6ce-a811-89ee-78ea-c567ccd8e048" + "id": "183879c8-ce93-a6d7-59d6-feafa3cbe38d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.freeze index 10a2481a020..64799d65807 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json index ec14e25a720..5b5d81e7265 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -33,12 +33,12 @@ "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/cases/da266ceb-843c-4af1-9190-9f1ab13fd4f4", + "path": "/api/v2/cases/9daaa414-8843-46e2-8360-c36d3713285f", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "79ba9a29-6735-bbf1-bd2a-c825ed36150a" + "id": "5356bd53-4c9d-a707-e73f-dc2eec98011f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.freeze index 7fe2db8b1d4..b5329637a40 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json index 008ab19ac30..5e1eff89d33 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,7 +37,7 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/add421a8-61e3-416e-85ec-9db7440bc951/unarchive", + "path": "/api/v2/cases/21c1b181-cee4-4b72-bf96-38859d367da4/unarchive", "keepAlive": false, "secure": true }, @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "8727092a-b76e-793e-8833-3319aae69e02" + "id": "05a0a4d3-a117-a4c9-1a25-59a8b73c2e09" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.freeze index 5a7cef238be..eee04a8be38 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json index 5b97823cb04..60a873eea23 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/6f53ae15-54ca-418d-b3bc-ae2b039dbb5c/unarchive", + "path": "/api/v2/cases/a02bcfe0-5678-49bb-a696-86544bde2bee/unarchive", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "0d959302-a31b-60d1-3dd9-f3356b4f4618" + "id": "583aac04-758f-f452-e82f-34b94ecc5b40" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.freeze index 0400accbe4b..c94e0251e1c 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json index 536e468388d..30ea1068d6c 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,7 +37,7 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/976a6c59-d5b2-477a-95e4-00d154bcf447/unassign", + "path": "/api/v2/cases/5fa6cf48-aa31-40bc-9d17-f8f78eea95be/unassign", "keepAlive": false, "secure": true }, @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "5c813948-145f-9b61-4df2-1155a36ee278" + "id": "d94b7518-df87-6583-b57a-bf4e0005df5e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.freeze index 9fe15caf998..ec79ed792bc 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json index 1655523c8e2..49fb8cc064c 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/83f41574-2062-47de-be0e-b3c2ae43ef5c/unassign", + "path": "/api/v2/cases/6491a991-9117-46dc-9762-ea2cc244e5b3/unassign", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "5eb29ce2-3f49-70ae-cf29-0825ada34982" + "id": "464bb4be-df35-70da-f0f2-e0e7ef1d5841" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.freeze index 9619ed45f87..279957c450f 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json index 5aa43032332..d2688342500 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/916e1b61-25b1-4da9-b3a3-000150b675f6/attributes", + "path": "/api/v2/cases/8c6346d6-448d-43a0-b957-b38773438c4f/attributes", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "d5b91317-cfef-6581-e933-8a16f2c399d8" + "id": "c1d9e605-98be-8f34-4fbd-ff0cb1b5c1bf" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.freeze index 3f6e4336b9c..ffe59d3bc44 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json index 6ac2a8d7015..87c697b97a9 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/8e87c755-54a9-470a-9118-62a0942ec870/custom_attributes/invalid_key", + "path": "/api/v2/cases/6ace1538-7ef1-4a00-a0bd-67c8ed9a3cd3/custom_attributes/invalid_key", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to update case (command func error): custom attribute configuration not found\",\"meta\":{\"key\":\"invalid_key\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "ae0c1365-24e0-cce5-9084-21fddee76fb1" + "id": "00969290-ec0b-585c-709e-232af7bbf179" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.freeze index f5684a8e2aa..338af624d51 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json index b0c0bef8a87..0facddc7bca 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/bb8284e0-959e-43db-9920-adf55f37ed7d/description", + "path": "/api/v2/cases/a4887f3f-c7a8-47d7-ae65-a1f7ce9687c5/description", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "2a758c5a-a7aa-f4ad-a5ec-47150a1c5f20" + "id": "7a9d973e-0b9a-d469-f700-a64cea1c9faf" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.freeze index a4821efc16f..40e66d12a7b 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json index 4eb6a1d4d89..f17e853b338 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/66eb3131-0b3b-489b-b672-2781600cc1e6/priority", + "path": "/api/v2/cases/4ef03b27-6d40-455b-8dd8-3f3224a34a7a/priority", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of NOT_DEFINED, P1, P2, P3, P4, P5\"}]}", + "body": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P1, P2, P3, P4, P5, NOT_DEFINED\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "43319c4b-1308-2ac9-2bd4-eedd3e613c7d" + "id": "dba3cadb-08bb-5cbe-cc24-c2cc04d8bd68" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.freeze index da62d2e6f68..08ad7529379 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json index 56d9bae88eb..f58f1fcd76c 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/d42afb74-0480-4535-bf4d-af0353d32c1c/priority", + "path": "/api/v2/cases/511f7667-3d80-4498-8118-416211a1a131/priority", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "a48226ee-212a-02a3-0d63-59437a27c03f" + "id": "05d211f6-4059-525d-71a7-49ce1b406c63" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.freeze index fa70f7c3252..b4042237f55 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json index caa06d06b79..c89fd84ffe7 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/53897bb0-8e8b-4652-985b-0b9e2e8c3a30/status", + "path": "/api/v2/cases/ae30545d-e705-493d-a672-7210315ccec2/status", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}]}", + "body": "{\"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\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "fa695953-ee18-d658-7966-9142f8b79819" + "id": "77ccf915-0520-8a3a-e795-1ff4ecc34af3" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.freeze index 447e0043d27..79276a9d782 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json index 12566dc0383..9843435430c 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/e030702b-1f81-4ff0-94ba-ff9650823cf3/status", + "path": "/api/v2/cases/d417f9be-d247-4ce8-b3e4-ae7a9283f3d6/status", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "69253082-0f2e-d31f-e1e0-70a9f50ccb2f" + "id": "3b4cf2cd-48a7-ed80-eea5-45c831cc770f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.freeze index ca09c6cf32d..3cfdb82bc08 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json index 5b71267e4f0..eb21dfe7899 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,7 +37,7 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/de7cd20f-3755-44aa-9f89-846b6ae37124/title", + "path": "/api/v2/cases/00a64fed-4338-458b-9af5-77ba6e6c9d7b/title", "keepAlive": false, "secure": true }, @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "884ef7cf-369c-0d48-d024-100b746703c7" + "id": "75a4bc10-5f5e-97e9-fb31-d5da8cd3e4c3" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.freeze index 898a971bbd3..7cd7790590b 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.freeze @@ -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/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json index 50866402a79..b0f714f21ea 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/cases/4c4bfc12-4f7c-4891-a8d0-70a15a0f29c2/title", + "path": "/api/v2/cases/03ec656b-5d21-41c4-a655-ccb18b0aa990/title", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"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\"}}]}", + "body": "{\"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\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "76ae267d-127e-fb17-a7b1-449d572b5eb5" + "id": "2a0f7a91-92a6-6b12-38bc-0b94b64b72f5" } ] \ No newline at end of file