diff --git a/.generated-info b/.generated-info index 1650e399ca84..051f20368d2a 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "d02c8a3", - "generated": "2025-08-08 12:07:03.564" + "spec_repo_commit": "5d6481a", + "generated": "2025-08-12 11:13:03.789" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 4f155402b7ec..a156ddb278c7 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -7280,6 +7280,35 @@ components: type: $ref: '#/components/schemas/CaseType' type: object + CaseComment: + description: Case comment + properties: + attributes: + $ref: '#/components/schemas/CaseCommentAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseCommentAttributes: + description: Case comment attributes + properties: + comment: + description: The `CaseCommentAttributes` `message`. + example: This is my comment ! + type: string + required: + - comment + type: object + CaseCommentRequest: + description: Case comment request + properties: + data: + $ref: '#/components/schemas/CaseComment' + required: + - data + type: object CaseCreate: description: Case creation data properties: @@ -42538,6 +42567,120 @@ components: - time_zone - restrictions type: object + TimelineCell: + description: timeline cell + properties: + author: + $ref: '#/components/schemas/TimelineCellAuthor' + cell_content: + $ref: '#/components/schemas/TimelineCellContent' + created_at: + description: Timestamp of when the cell was created + format: date-time + readOnly: true + type: string + deleted_at: + description: Timestamp of when the cell was deleted + format: date-time + readOnly: true + type: string + modified_at: + description: Timestamp of when the cell was last modified + format: date-time + readOnly: true + type: string + type: + $ref: '#/components/schemas/TimelineCellType' + type: object + TimelineCellAuthor: + description: author of the timeline cell + oneOf: + - $ref: '#/components/schemas/TimelineCellAuthorUser' + TimelineCellAuthorUser: + description: timeline cell user author + properties: + content: + $ref: '#/components/schemas/TimelineCellAuthorUserContent' + type: + $ref: '#/components/schemas/TimelineCellAuthorUserType' + type: object + TimelineCellAuthorUserContent: + description: user author content. + properties: + email: + description: user email + type: string + handle: + description: user handle + type: string + id: + description: user UUID + type: string + name: + description: user name + type: string + type: object + TimelineCellAuthorUserType: + description: user author type. + enum: + - USER + example: USER + type: string + x-enum-varnames: + - USER + TimelineCellContent: + description: timeline cell content + oneOf: + - $ref: '#/components/schemas/TimelineCellContentComment' + TimelineCellContentComment: + description: comment content + properties: + message: + description: comment message + type: string + type: object + TimelineCellResource: + description: Timeline cell JSON:API resource + properties: + attributes: + $ref: '#/components/schemas/TimelineCell' + id: + description: Timeline cell's identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: '#/components/schemas/TimelineCellResourceType' + required: + - id + - type + - attributes + type: object + TimelineCellResourceType: + default: timeline_cell + description: Timeline cell JSON:API resource type + enum: + - timeline_cell + example: timeline_cell + type: string + x-enum-varnames: + - TIMELINE_CELL + TimelineCellType: + description: Timeline cell content type + enum: + - COMMENT + example: COMMENT + type: string + x-enum-varnames: + - COMMENT + TimelineResponse: + description: Timeline response + properties: + data: + description: The `TimelineResponse` `data`. + items: + $ref: '#/components/schemas/TimelineCellResource' + type: array + type: object TimeseriesFormulaQueryRequest: description: A request wrapper around a single timeseries query to be executed. properties: @@ -47570,6 +47713,39 @@ paths: summary: Update case attributes tags: - Case Management + /api/v2/cases/{case_id}/comment: + post: + description: Comment case + operationId: CommentCase + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseCommentRequest' + description: Case comment payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TimelineResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Comment case + tags: + - Case Management /api/v2/cases/{case_id}/priority: post: description: Update case priority diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json index 2430585c88f6..b176e858e19d 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:40.919Z" +"2025-08-12T11:05:35.408Z" diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har index 5b7370fafe06..ddbc64f1e302 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 838, + "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", - "size": 838, - "text": "{\"data\":{\"id\":\"6706fe66-cabd-4b22-b4c5-dd478bba421a\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:41.25066Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6706fe66-cabd-4b22-b4c5-dd478bba421a\",\"key\":\"DDFC-72317\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72377\",\"status\":\"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\"}}]}" + "size": 839, + "text": "{\"data\":{\"id\":\"77547410-8537-458a-9384-dcfe251d7c7e\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:35.824748Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"77547410-8537-458a-9384-dcfe251d7c7e\",\"key\":\"DDFC-75922\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75982\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:40.926Z", - "time": 397 + "startedDateTime": "2025-08-12T11:05:35.415Z", + "time": 439 }, { - "_id": "75643134d0d3233903bf06a1fd35338d", + "_id": "f878fd82be15daac32ba7b7e485a4330", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/6706fe66-cabd-4b22-b4c5-dd478bba421a/archive" + "url": "https://api.datadoghq.com/api/v2/cases/77547410-8537-458a-9384-dcfe251d7c7e/archive" }, "response": { "bodySize": 108, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:41.332Z", - "time": 372 + "startedDateTime": "2025-08-12T11:05:35.864Z", + "time": 384 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json index 463177057157..78d83c918004 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:41.730Z" +"2025-08-12T11:05:36.261Z" diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har index 588478b62ca7..e0bed3e875b9 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:41.735Z", - "time": 392 + "startedDateTime": "2025-08-12T11:05:36.264Z", + "time": 397 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json index 6f1fa9a84828..08697f71b03d 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:42.155Z" +"2025-08-12T11:05:36.670Z" diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har index edf74e49698e..1ebeebb42f8a 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 838, + "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", - "size": 838, - "text": "{\"data\":{\"id\":\"b074b409-24f8-42ae-b545-b1486429630d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:42.51392Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b074b409-24f8-42ae-b545-b1486429630d\",\"key\":\"DDFC-72318\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72378\",\"status\":\"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\"}}]}" + "size": 839, + "text": "{\"data\":{\"id\":\"dc347aa5-0e19-44fe-9ba3-0114728a47a1\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:37.067799Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"dc347aa5-0e19-44fe-9ba3-0114728a47a1\",\"key\":\"DDFC-75923\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75983\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:42.177Z", - "time": 412 + "startedDateTime": "2025-08-12T11:05:36.673Z", + "time": 400 }, { - "_id": "f102e9889a3b0592a1d5f6e9c4d2deb8", + "_id": "3dc20d754a42cb5524f5a085f9c59be2", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/b074b409-24f8-42ae-b545-b1486429630d/archive" + "url": "https://api.datadoghq.com/api/v2/cases/dc347aa5-0e19-44fe-9ba3-0114728a47a1/archive" }, "response": { - "bodySize": 1012, + "bodySize": 1013, "content": { "mimeType": "application/vnd.api+json", - "size": 1012, - "text": "{\"data\":{\"id\":\"b074b409-24f8-42ae-b545-b1486429630d\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2025-07-21T13:52:42.933945716Z\",\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:42.51392Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b074b409-24f8-42ae-b545-b1486429630d\",\"key\":\"DDFC-72318\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T13:52:42.933946Z\",\"priority\":\"P4\",\"public_id\":\"72378\",\"status\":\"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\"}}]}" + "size": 1013, + "text": "{\"data\":{\"id\":\"dc347aa5-0e19-44fe-9ba3-0114728a47a1\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2025-08-12T11:05:37.477128247Z\",\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:37.067799Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"dc347aa5-0e19-44fe-9ba3-0114728a47a1\",\"key\":\"DDFC-75923\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-12T11:05:37.477128Z\",\"priority\":\"P4\",\"public_id\":\"75983\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:42.597Z", - "time": 412 + "startedDateTime": "2025-08-12T11:05:37.081Z", + "time": 407 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json index 81e746e2c780..7c69e033a899 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:43.015Z" +"2025-08-12T11:05:37.497Z" diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har index 879c3f1e497d..d9a5c9ea5531 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"510b0121-1477-43c0-8986-78f011016d48\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:43.335245Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"510b0121-1477-43c0-8986-78f011016d48\",\"key\":\"DDFC-72319\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72379\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"86b3e00d-7c2d-4683-8007-6514c321628a\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:37.877307Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"86b3e00d-7c2d-4683-8007-6514c321628a\",\"key\":\"DDFC-75924\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75984\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:43.017Z", - "time": 384 + "startedDateTime": "2025-08-12T11:05:37.499Z", + "time": 385 }, { - "_id": "389b3a16ce3121bf75a0da30a1d8d867", + "_id": "924a1ee4b0a69de2492dde4ef2150af6", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"invalid-uuid\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/510b0121-1477-43c0-8986-78f011016d48/assign" + "url": "https://api.datadoghq.com/api/v2/cases/86b3e00d-7c2d-4683-8007-6514c321628a/assign" }, "response": { "bodySize": 51, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:43.407Z", - "time": 399 + "startedDateTime": "2025-08-12T11:05:37.889Z", + "time": 376 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json index 9113f8468596..883721ed0eb4 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:43.820Z" +"2025-08-12T11:05:38.270Z" diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har index dea343054521..1ab6a013905f 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "3a6509b8912e674e1435d921d51c7b19", + "_id": "16017a31816f9b7ce8e08c0f292c2116", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_Not_Found_response-1753105963@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_Not_Found_response-1754996738@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/json", "size": 681, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"fa033cd0-6639-11f0-b658-96290b93dbfc\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_not_found_response-1753105963@datadoghq.com\",\"created_at\":\"2025-07-21T13:52:44.217086+00:00\",\"modified_at\":\"2025-07-21T13:52:44.217086+00:00\",\"email\":\"test-assign_case_returns_not_found_response-1753105963@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/de9eda912656e39d585005ddc0880775?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" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"476d5d56-776c-11f0-a31d-56cf0fbed926\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_not_found_response-1754996738@datadoghq.com\",\"created_at\":\"2025-08-12T11:05:38.700864+00:00\",\"modified_at\":\"2025-08-12T11:05:38.700864+00:00\",\"email\":\"test-assign_case_returns_not_found_response-1754996738@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/281d9039509c05094e8235c264fd4263?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" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:43.831Z", - "time": 471 + "startedDateTime": "2025-08-12T11:05:38.274Z", + "time": 452 }, { - "_id": "2fc59d7830abc6f23dfdfc7e3227a10f", + "_id": "26ab465cffa1d825ac192e7c7bd2fe8e", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"fa033cd0-6639-11f0-b658-96290b93dbfc\"},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"476d5d56-776c-11f0-a31d-56cf0fbed926\"},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/assign" @@ -110,11 +110,11 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:44.313Z", - "time": 392 + "startedDateTime": "2025-08-12T11:05:38.732Z", + "time": 375 }, { - "_id": "13e04c013bdd39314e4a143c5dc2c240", + "_id": "9600862bafb359502fb2d05d881daa2f", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/fa033cd0-6639-11f0-b658-96290b93dbfc" + "url": "https://api.datadoghq.com/api/v2/users/476d5d56-776c-11f0-a31d-56cf0fbed926" }, "response": { "bodySize": 0, @@ -147,8 +147,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-21T13:52:44.713Z", - "time": 581 + "startedDateTime": "2025-08-12T11:05:39.112Z", + "time": 542 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json index be46aaf666a0..4bbfe074c632 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:45.309Z" +"2025-08-12T11:05:39.662Z" diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har index a0838b9e4dfe..5ccc9d5f96fc 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 839, + "bodySize": 838, "content": { "mimeType": "application/vnd.api+json", - "size": 839, - "text": "{\"data\":{\"id\":\"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:45.654592Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d\",\"key\":\"DDFC-72320\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72380\",\"status\":\"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\"}}]}" + "size": 838, + "text": "{\"data\":{\"id\":\"01a3276d-e609-4d6b-bfa4-a3af4585aeff\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:40.05498Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"01a3276d-e609-4d6b-bfa4-a3af4585aeff\",\"key\":\"DDFC-75925\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75985\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:45.314Z", - "time": 405 + "startedDateTime": "2025-08-12T11:05:39.666Z", + "time": 394 }, { - "_id": "1c46448e7d25abe927a6cc18e2daee88", + "_id": "7495b2a8e8f34187b771fcc509c797c8", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1753105965@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1754996739@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/json", "size": 667, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"fb218c6d-6639-11f0-a2d3-1a819e56f795\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1753105965@datadoghq.com\",\"created_at\":\"2025-07-21T13:52:46.093451+00:00\",\"modified_at\":\"2025-07-21T13:52:46.093451+00:00\",\"email\":\"test-assign_case_returns_ok_response-1753105965@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/a6015cb53f5ee1693a8a69c8f6904fae?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" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"48886112-776c-11f0-a31d-56cf0fbed926\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1754996739@datadoghq.com\",\"created_at\":\"2025-08-12T11:05:40.555626+00:00\",\"modified_at\":\"2025-08-12T11:05:40.555626+00:00\",\"email\":\"test-assign_case_returns_ok_response-1754996739@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/4153187a90e0a13181c322ee071aff0e?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" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:45.725Z", - "time": 451 + "startedDateTime": "2025-08-12T11:05:40.070Z", + "time": 515 }, { - "_id": "4ccb70fc741d3b01ad3fa75043756876", + "_id": "2f615175939cd054d2bf29b23c25d8b0", "_order": 0, "cache": {}, "request": { @@ -138,17 +138,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"fb218c6d-6639-11f0-a2d3-1a819e56f795\"},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"48886112-776c-11f0-a31d-56cf0fbed926\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/fd1228dc-d475-4a0b-8677-7a9ce3b50b3d/assign" + "url": "https://api.datadoghq.com/api/v2/cases/01a3276d-e609-4d6b-bfa4-a3af4585aeff/assign" }, "response": { "bodySize": 1290, "content": { "mimeType": "application/vnd.api+json", "size": 1290, - "text": "{\"data\":{\"id\":\"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:45.654592Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d\",\"key\":\"DDFC-72320\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T13:52:46.52116Z\",\"priority\":\"P4\",\"public_id\":\"72380\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"fb218c6d-6639-11f0-a2d3-1a819e56f795\",\"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\":\"fb218c6d-6639-11f0-a2d3-1a819e56f795\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-assign_case_returns_ok_response-1753105965@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1753105965@datadoghq.com\",\"name\":\"\"}}]}" + "text": "{\"data\":{\"id\":\"01a3276d-e609-4d6b-bfa4-a3af4585aeff\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:40.05498Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"01a3276d-e609-4d6b-bfa4-a3af4585aeff\",\"key\":\"DDFC-75925\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-12T11:05:40.996328Z\",\"priority\":\"P4\",\"public_id\":\"75985\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"48886112-776c-11f0-a31d-56cf0fbed926\",\"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\":\"48886112-776c-11f0-a31d-56cf0fbed926\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-assign_case_returns_ok_response-1754996739@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1754996739@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -163,11 +163,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:46.181Z", - "time": 422 + "startedDateTime": "2025-08-12T11:05:40.595Z", + "time": 423 }, { - "_id": "e845491baa68cb5940d86d0133e35e2a", + "_id": "29e3e8fcf39b4b10da69efe655f6203b", "_order": 0, "cache": {}, "request": { @@ -184,7 +184,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/fb218c6d-6639-11f0-a2d3-1a819e56f795" + "url": "https://api.datadoghq.com/api/v2/users/48886112-776c-11f0-a31d-56cf0fbed926" }, "response": { "bodySize": 0, @@ -200,8 +200,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-21T13:52:46.614Z", - "time": 536 + "startedDateTime": "2025-08-12T11:05:41.024Z", + "time": 533 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/frozen.json b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/frozen.json new file mode 100644 index 000000000000..2f711f3e9f4b --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/frozen.json @@ -0,0 +1 @@ +"2025-08-12T11:05:41.562Z" diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/recording.har b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/recording.har new file mode 100644 index 000000000000..3e6adf909d3d --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Case Management/Comment case returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"059436d1-1499-4fd3-804d-5baccc7630b4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:41.952059Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"059436d1-1499-4fd3-804d-5baccc7630b4\",\"key\":\"DDFC-75926\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75986\",\"status\":\"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\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-12T11:05:41.563Z", + "time": 386 + }, + { + "_id": "e83f8a25af3329d04af242a0f83b4dce", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 52, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"comment\":\"\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/059436d1-1499-4fd3-804d-5baccc7630b4/comment" + }, + "response": { + "bodySize": 51, + "content": { + "mimeType": "application/vnd.api+json", + "size": 51, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2025-08-12T11:05:41.963Z", + "time": 391 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/frozen.json b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/frozen.json new file mode 100644 index 000000000000..c66e730cb0ae --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/frozen.json @@ -0,0 +1 @@ +"2025-08-12T11:05:42.357Z" diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/recording.har b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/recording.har new file mode 100644 index 000000000000..834145432605 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Case Management/Comment case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "880d2358dcbdddea2416553756adc9c8", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 65, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"comment\":\"Hello world !\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/comment" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-12T11:05:42.360Z", + "time": 368 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/frozen.json b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/frozen.json new file mode 100644 index 000000000000..c75f88bbe656 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/frozen.json @@ -0,0 +1 @@ +"2025-08-12T11:05:42.731Z" diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/recording.har b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/recording.har new file mode 100644 index 000000000000..aed39b55e675 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Case Management/Comment case returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"b69c5616-c246-4650-bf25-affaf5d9454e\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:43.101473Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b69c5616-c246-4650-bf25-affaf5d9454e\",\"key\":\"DDFC-75927\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75987\",\"status\":\"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\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-12T11:05:42.733Z", + "time": 369 + }, + { + "_id": "f3276df3dd3d43fac9666aa4bb62ed08", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 65, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"comment\":\"Hello World !\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/b69c5616-c246-4650-bf25-affaf5d9454e/comment" + }, + "response": { + "bodySize": 412, + "content": { + "mimeType": "application/vnd.api+json", + "size": 412, + "text": "{\"data\":[{\"id\":\"f7623c15-be41-45cd-99bb-9838689cd5cc\",\"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-08-12T11:05:43.486353187Z\",\"type\":\"COMMENT\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 664, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-12T11:05:43.107Z", + "time": 386 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json index 4641c9ca96f3..bb800a79c862 100644 --- a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:47.155Z" +"2025-08-12T11:05:43.498Z" diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har index 6a296b4517d4..7838b538e702 100644 --- a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har @@ -57,8 +57,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:47.158Z", - "time": 363 + "startedDateTime": "2025-08-12T11:05:43.501Z", + "time": 353 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json index 13675cce053d..28d65587df12 100644 --- a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:47.527Z" +"2025-08-12T11:05:43.859Z" diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har index 52eb74c60377..7640d514e060 100644 --- a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "c041f86fbb92fed5164f2b8e519f13ab", + "_id": "2bb8d661f00777af9f9861bd1426d037", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_case_returns_CREATED_response-1753105967@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_case_returns_CREATED_response-1754996743@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/json", "size": 681, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"fc35a29f-6639-11f0-8bee-a24ce66fd256\",\"attributes\":{\"name\":null,\"handle\":\"test-create_a_case_returns_created_response-1753105967@datadoghq.com\",\"created_at\":\"2025-07-21T13:52:47.902815+00:00\",\"modified_at\":\"2025-07-21T13:52:47.902815+00:00\",\"email\":\"test-create_a_case_returns_created_response-1753105967@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/600ad64c52b4a9b6a9f2a46d8fa9ec0a?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" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"4ac31947-776c-11f0-badd-8e038317dcb3\",\"attributes\":{\"name\":null,\"handle\":\"test-create_a_case_returns_created_response-1754996743@datadoghq.com\",\"created_at\":\"2025-08-12T11:05:44.295897+00:00\",\"modified_at\":\"2025-08-12T11:05:44.295897+00:00\",\"email\":\"test-create_a_case_returns_created_response-1754996743@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/15ce20c162e7b9d2bfeeae56fc5a72d1?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" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:47.529Z", - "time": 454 + "startedDateTime": "2025-08-12T11:05:43.860Z", + "time": 459 }, { - "_id": "cd1eb429036658517b6b147e02d981e7", + "_id": "04552985e3fc180ce34bf21533946114", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation in 20df485fb3942e6f\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"fc35a29f-6639-11f0-8bee-a24ce66fd256\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation in 393b7da998da23ad\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"4ac31947-776c-11f0-badd-8e038317dcb3\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 1225, - "text": "{\"data\":{\"id\":\"2275ce7b-781b-4539-b0f3-2cc1b2140565\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:48.320633Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"2275ce7b-781b-4539-b0f3-2cc1b2140565\",\"key\":\"DDFC-72321\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"NOT_DEFINED\",\"public_id\":\"72381\",\"status\":\"OPEN\",\"title\":\"Security breach investigation in 20df485fb3942e6f\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"fc35a29f-6639-11f0-8bee-a24ce66fd256\",\"type\":\"user\"}},\"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\"}},{\"id\":\"fc35a29f-6639-11f0-8bee-a24ce66fd256\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-create_a_case_returns_created_response-1753105967@datadoghq.com\",\"handle\":\"test-create_a_case_returns_created_response-1753105967@datadoghq.com\",\"name\":\"\"}}]}" + "text": "{\"data\":{\"id\":\"63b0b4c2-3500-4971-84b6-7a76e9784611\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:44.707022Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"63b0b4c2-3500-4971-84b6-7a76e9784611\",\"key\":\"DDFC-75928\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"NOT_DEFINED\",\"public_id\":\"75988\",\"status\":\"OPEN\",\"title\":\"Security breach investigation in 393b7da998da23ad\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"4ac31947-776c-11f0-badd-8e038317dcb3\",\"type\":\"user\"}},\"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\"}},{\"id\":\"4ac31947-776c-11f0-badd-8e038317dcb3\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-create_a_case_returns_created_response-1754996743@datadoghq.com\",\"handle\":\"test-create_a_case_returns_created_response-1754996743@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:47.987Z", - "time": 400 + "startedDateTime": "2025-08-12T11:05:44.323Z", + "time": 386 }, { - "_id": "84e4fedac559f349d1771d8c606e81fb", + "_id": "cbd121ad10254a502dcf414063350571", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/fc35a29f-6639-11f0-8bee-a24ce66fd256" + "url": "https://api.datadoghq.com/api/v2/users/4ac31947-776c-11f0-badd-8e038317dcb3" }, "response": { "bodySize": 0, @@ -147,8 +147,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-21T13:52:48.392Z", - "time": 555 + "startedDateTime": "2025-08-12T11:05:44.714Z", + "time": 541 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json index 81b71f13abfa..b9a9e181f052 100644 --- a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:48.953Z" +"2025-08-12T11:05:45.261Z" diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har index 030dd847f303..7ebc0cdbb271 100644 --- a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har @@ -47,8 +47,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:48.955Z", - "time": 384 + "startedDateTime": "2025-08-12T11:05:45.263Z", + "time": 380 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json index 0a4c09cb0078..af88a4245890 100644 --- a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:49.345Z" +"2025-08-12T11:05:45.648Z" diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har index abf00b817287..b61466a8437e 100644 --- a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"5e66536f-3946-41fd-9e0f-183e719d7128\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:49.694835Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5e66536f-3946-41fd-9e0f-183e719d7128\",\"key\":\"DDFC-72322\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72382\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"14ffa380-71ff-4ce5-b134-27e5653f024f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:46.034839Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"14ffa380-71ff-4ce5-b134-27e5653f024f\",\"key\":\"DDFC-75929\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75989\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:49.352Z", - "time": 401 + "startedDateTime": "2025-08-12T11:05:45.649Z", + "time": 383 }, { - "_id": "2d750a1fb5cb9c2f0ec8401990f8293d", + "_id": "9f4afb9b18093a0ea71eec27a16b0f10", "_order": 0, "cache": {}, "request": { @@ -78,14 +78,14 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/5e66536f-3946-41fd-9e0f-183e719d7128" + "url": "https://api.datadoghq.com/api/v2/cases/14ffa380-71ff-4ce5-b134-27e5653f024f" }, "response": { "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"5e66536f-3946-41fd-9e0f-183e719d7128\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:49.694835Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5e66536f-3946-41fd-9e0f-183e719d7128\",\"key\":\"DDFC-72322\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72382\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"14ffa380-71ff-4ce5-b134-27e5653f024f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:46.034839Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"14ffa380-71ff-4ce5-b134-27e5653f024f\",\"key\":\"DDFC-75929\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75989\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -100,8 +100,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:49.758Z", - "time": 365 + "startedDateTime": "2025-08-12T11:05:46.036Z", + "time": 384 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json index d2f911894840..08aeaf4571a2 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:50.131Z" +"2025-08-12T11:05:46.427Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har index 8c4ea35ed64b..e0c3e46685db 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"5fd92551-50b8-46e9-899d-5846cf3eab9e\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:50.459513Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5fd92551-50b8-46e9-899d-5846cf3eab9e\",\"key\":\"DDFC-72323\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72383\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"664ca564-1b8e-42f2-a2d6-becc1f5141c5\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:46.816713Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"664ca564-1b8e-42f2-a2d6-becc1f5141c5\",\"key\":\"DDFC-75930\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75990\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:50.133Z", - "time": 388 + "startedDateTime": "2025-08-12T11:05:46.429Z", + "time": 386 }, { - "_id": "606a4ae8236d1bcff95b75593921880d", + "_id": "559f20ce214386328d8ac11faf255818", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/5fd92551-50b8-46e9-899d-5846cf3eab9e/unarchive" + "url": "https://api.datadoghq.com/api/v2/cases/664ca564-1b8e-42f2-a2d6-becc1f5141c5/unarchive" }, "response": { "bodySize": 108, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:50.525Z", - "time": 364 + "startedDateTime": "2025-08-12T11:05:46.819Z", + "time": 365 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json index c70685247a2b..fe2f2739b39e 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:50.895Z" +"2025-08-12T11:05:47.190Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har index fb63ce6861fe..66f84aed32dc 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har @@ -51,14 +51,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:50.897Z", - "time": 378 + "startedDateTime": "2025-08-12T11:05:47.191Z", + "time": 413 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json index c0d3211f2d27..75816d965f28 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:51.279Z" +"2025-08-12T11:05:47.609Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har index 1707e51ba2b4..465c14b85d91 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"b6a0f192-9be6-4898-b05b-f4cc308de679\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:51.610535Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b6a0f192-9be6-4898-b05b-f4cc308de679\",\"key\":\"DDFC-72324\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72384\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"2a42b59d-e045-43a9-a643-6d5a18303ca5\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:47.982942Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"2a42b59d-e045-43a9-a643-6d5a18303ca5\",\"key\":\"DDFC-75931\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75991\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:51.280Z", - "time": 389 + "startedDateTime": "2025-08-12T11:05:47.611Z", + "time": 370 }, { - "_id": "2e646eb33de09a50a8373aaf12064055", + "_id": "93a603e7a468479b8d121528d10bd483", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/b6a0f192-9be6-4898-b05b-f4cc308de679/unarchive" + "url": "https://api.datadoghq.com/api/v2/cases/2a42b59d-e045-43a9-a643-6d5a18303ca5/unarchive" }, "response": { "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"b6a0f192-9be6-4898-b05b-f4cc308de679\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:51.610535Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b6a0f192-9be6-4898-b05b-f4cc308de679\",\"key\":\"DDFC-72324\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72384\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"2a42b59d-e045-43a9-a643-6d5a18303ca5\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:47.982942Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"2a42b59d-e045-43a9-a643-6d5a18303ca5\",\"key\":\"DDFC-75931\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75991\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 663, + "headersSize": 664, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:51.674Z", - "time": 387 + "startedDateTime": "2025-08-12T11:05:47.985Z", + "time": 421 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json index ffe94d260201..9dd1ac182afe 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:52.067Z" +"2025-08-12T11:05:48.411Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har index 4c07d5bd8169..69ab64b9fce3 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"6e4af4e8-67fd-461a-9664-adf910673121\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:52.413703Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6e4af4e8-67fd-461a-9664-adf910673121\",\"key\":\"DDFC-72325\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72385\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"9d87c1a7-0b0e-4452-b7a2-e439ffc1d05b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:48.798612Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"9d87c1a7-0b0e-4452-b7a2-e439ffc1d05b\",\"key\":\"DDFC-75932\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75992\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:52.068Z", - "time": 402 + "startedDateTime": "2025-08-12T11:05:48.412Z", + "time": 386 }, { - "_id": "c6d80aa4c12fd13c9fd89c1ba24e6b71", + "_id": "b14c7beeff3c5aa3075153e630d14202", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/6e4af4e8-67fd-461a-9664-adf910673121/unassign" + "url": "https://api.datadoghq.com/api/v2/cases/9d87c1a7-0b0e-4452-b7a2-e439ffc1d05b/unassign" }, "response": { "bodySize": 108, @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 663, + "headersSize": 664, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:52.474Z", - "time": 374 + "startedDateTime": "2025-08-12T11:05:48.803Z", + "time": 359 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json index 19d9a9d07483..db496ed7ae8c 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:52.854Z" +"2025-08-12T11:05:49.167Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har index 86492e6ef314..4976528d42e5 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har @@ -51,14 +51,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:52.855Z", - "time": 387 + "startedDateTime": "2025-08-12T11:05:49.168Z", + "time": 390 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json index cf0cbda5767b..91874e630533 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:53.249Z" +"2025-08-12T11:05:49.563Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har index 17d96d95e833..cd21e7d4e125 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"b222e3e7-19fe-434f-ab26-7e0845775ccd\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:53.581415Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b222e3e7-19fe-434f-ab26-7e0845775ccd\",\"key\":\"DDFC-72326\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72386\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"6341e17d-6015-4503-9d83-cc43709cab0b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:49.930002Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6341e17d-6015-4503-9d83-cc43709cab0b\",\"key\":\"DDFC-75933\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75993\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:53.251Z", - "time": 389 + "startedDateTime": "2025-08-12T11:05:49.564Z", + "time": 361 }, { - "_id": "17abcb435f8a9c91d3c568726f2e29e9", + "_id": "77c2cfc698e5e4b3ab5963f995be402b", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/b222e3e7-19fe-434f-ab26-7e0845775ccd/unassign" + "url": "https://api.datadoghq.com/api/v2/cases/6341e17d-6015-4503-9d83-cc43709cab0b/unassign" }, "response": { "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"b222e3e7-19fe-434f-ab26-7e0845775ccd\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:53.581415Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b222e3e7-19fe-434f-ab26-7e0845775ccd\",\"key\":\"DDFC-72326\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72386\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"6341e17d-6015-4503-9d83-cc43709cab0b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:49.930002Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6341e17d-6015-4503-9d83-cc43709cab0b\",\"key\":\"DDFC-75933\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75993\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 663, + "headersSize": 664, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:53.644Z", - "time": 382 + "startedDateTime": "2025-08-12T11:05:49.929Z", + "time": 368 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/frozen.json index bb386bb01fb0..383fd9e31684 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/frozen.json @@ -1 +1 @@ -"2025-07-21T08:23:42.266Z" +"2025-08-12T11:05:50.302Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/recording.har index a652f6f276c9..e6fcdf1fe489 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/recording.har @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T08:23:42.269Z", - "time": 129 + "startedDateTime": "2025-08-12T11:05:50.303Z", + "time": 361 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/frozen.json index 84005dc06633..4e42ccb2b4e2 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/frozen.json @@ -1 +1 @@ -"2025-07-21T18:43:31.851Z" +"2025-08-12T11:05:50.669Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/recording.har index 7996f423fbb4..b008e9a58f17 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"f396c907-777d-4985-9e9d-2a420a0c0515\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T18:42:41.549781Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"f396c907-777d-4985-9e9d-2a420a0c0515\",\"key\":\"DDFC-72342\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72402\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"229bd993-8d76-4813-8146-e1d5aa4c3790\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:51.045003Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"229bd993-8d76-4813-8146-e1d5aa4c3790\",\"key\":\"DDFC-75934\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75994\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 663, + "headersSize": 662, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T18:43:31.855Z", - "time": 142 + "startedDateTime": "2025-08-12T11:05:50.671Z", + "time": 371 }, { - "_id": "2bc87020cc36ac8d24cfbd38fc3c838f", + "_id": "ab85911670e14071fae4cbcb74ce5cd8", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]}},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/f396c907-777d-4985-9e9d-2a420a0c0515/attributes" + "url": "https://api.datadoghq.com/api/v2/cases/229bd993-8d76-4813-8146-e1d5aa4c3790/attributes" }, "response": { "bodySize": 1034, "content": { "mimeType": "application/vnd.api+json", "size": 1034, - "text": "{\"data\":{\"id\":\"f396c907-777d-4985-9e9d-2a420a0c0515\",\"type\":\"case\",\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]},\"comment_count\":0,\"created_at\":\"2025-07-21T18:42:41.549781Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"f396c907-777d-4985-9e9d-2a420a0c0515\",\"key\":\"DDFC-72342\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T18:42:41.694883Z\",\"priority\":\"P4\",\"public_id\":\"72402\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"229bd993-8d76-4813-8146-e1d5aa4c3790\",\"type\":\"case\",\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:51.045003Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"229bd993-8d76-4813-8146-e1d5aa4c3790\",\"key\":\"DDFC-75934\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-12T11:05:51.432359Z\",\"priority\":\"P4\",\"public_id\":\"75994\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 665, + "headersSize": 664, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T18:43:32.005Z", - "time": 147 + "startedDateTime": "2025-08-12T11:05:51.046Z", + "time": 392 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json index 863b4b262aba..6f04d004592d 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:56.000Z" +"2025-08-12T11:05:51.444Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har index 33d9d67f6c57..3555a1363373 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"57868e9a-2697-4384-b724-8e118b20a7f3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:56.317328Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"57868e9a-2697-4384-b724-8e118b20a7f3\",\"key\":\"DDFC-72329\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72389\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"93122233-1625-4a63-90a2-990c1bf6beec\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:51.814655Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"93122233-1625-4a63-90a2-990c1bf6beec\",\"key\":\"DDFC-75935\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75995\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:56.002Z", - "time": 373 + "startedDateTime": "2025-08-12T11:05:51.445Z", + "time": 369 }, { - "_id": "72df50c046cd23a29858a891311aeca1", + "_id": "ca627e6e231cc17cea5f5180546c66aa", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"priority\":\"P1234\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/57868e9a-2697-4384-b724-8e118b20a7f3/priority" + "url": "https://api.datadoghq.com/api/v2/cases/93122233-1625-4a63-90a2-990c1bf6beec/priority" }, "response": { "bodySize": 120, "content": { "mimeType": "application/vnd.api+json", "size": 120, - "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P2, P3, P4, P5, NOT_DEFINED, P1\"}]}" + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P3, P4, P5, NOT_DEFINED, P1, P2\"}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:56.381Z", - "time": 372 + "startedDateTime": "2025-08-12T11:05:51.819Z", + "time": 368 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json index fcfe57cb0f2a..3e79cd6700aa 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:56.765Z" +"2025-08-12T11:05:52.193Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har index 8e0f5958a3c2..8ff58b5ef7fc 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:56.772Z", - "time": 385 + "startedDateTime": "2025-08-12T11:05:52.194Z", + "time": 362 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json index b20095d23aa2..963ea4b92a6e 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:57.162Z" +"2025-08-12T11:05:52.560Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har index 25b786c8467c..41475d9ec8b8 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har @@ -38,11 +38,11 @@ "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 839, + "bodySize": 838, "content": { "mimeType": "application/vnd.api+json", - "size": 839, - "text": "{\"data\":{\"id\":\"18014b24-6e64-4ca5-8cac-7ccbdd65258b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:57.488697Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"18014b24-6e64-4ca5-8cac-7ccbdd65258b\",\"key\":\"DDFC-72330\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72390\",\"status\":\"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\"}}]}" + "size": 838, + "text": "{\"data\":{\"id\":\"6b7941bb-2818-439f-b6d7-d4c557b13f89\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:52.92812Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6b7941bb-2818-439f-b6d7-d4c557b13f89\",\"key\":\"DDFC-75936\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75996\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:57.163Z", - "time": 393 + "startedDateTime": "2025-08-12T11:05:52.561Z", + "time": 362 }, { - "_id": "1a133ade9b956e647d2bb7ec6d4755b4", + "_id": "37ea54bda23b25ed4e73bd41352ca487", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"priority\":\"P3\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/18014b24-6e64-4ca5-8cac-7ccbdd65258b/priority" + "url": "https://api.datadoghq.com/api/v2/cases/6b7941bb-2818-439f-b6d7-d4c557b13f89/priority" }, "response": { - "bodySize": 966, + "bodySize": 964, "content": { "mimeType": "application/vnd.api+json", - "size": 966, - "text": "{\"data\":{\"id\":\"18014b24-6e64-4ca5-8cac-7ccbdd65258b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:57.488697Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"18014b24-6e64-4ca5-8cac-7ccbdd65258b\",\"key\":\"DDFC-72330\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T13:52:57.885095Z\",\"priority\":\"P3\",\"public_id\":\"72390\",\"status\":\"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\"}}]}" + "size": 964, + "text": "{\"data\":{\"id\":\"6b7941bb-2818-439f-b6d7-d4c557b13f89\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:52.92812Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6b7941bb-2818-439f-b6d7-d4c557b13f89\",\"key\":\"DDFC-75936\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-12T11:05:53.31421Z\",\"priority\":\"P3\",\"public_id\":\"75996\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:57.559Z", - "time": 390 + "startedDateTime": "2025-08-12T11:05:52.927Z", + "time": 391 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json index 1febabe0e53f..41d74d0eb0f4 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:57.959Z" +"2025-08-12T11:05:53.323Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har index b9c2ebed30d6..c8f1ccc4c5bf 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"98319575-b53b-43be-96b2-7595a5f1be6c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:58.293018Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"98319575-b53b-43be-96b2-7595a5f1be6c\",\"key\":\"DDFC-72331\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72391\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"b4b4d1fd-0df6-4e62-8c64-e248cdd7f056\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:53.707101Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b4b4d1fd-0df6-4e62-8c64-e248cdd7f056\",\"key\":\"DDFC-75937\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75997\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:57.961Z", - "time": 392 + "startedDateTime": "2025-08-12T11:05:53.324Z", + "time": 381 }, { - "_id": "195135ee0304f678903af6058a0be0e6", + "_id": "63e9cfe47a41f118b10b82edd30ec343", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"status\":\"OPENED\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/98319575-b53b-43be-96b2-7595a5f1be6c/status" + "url": "https://api.datadoghq.com/api/v2/cases/b4b4d1fd-0df6-4e62-8c64-e248cdd7f056/status" }, "response": { "bodySize": 232, "content": { "mimeType": "application/vnd.api+json", "size": 232, - "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of PENDING_APPROVAL, APPROVED, IMPLEMENTING, CANCELLED, SUNKNOWN, ACKNOWLEDGED, TRIGGERED, RESOLVED, COMPLETED, DECLINED, OPEN, IN_PROGRESS, CLOSED\"}]}" + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of TRIGGERED, RESOLVED, PENDING_APPROVAL, APPROVED, COMPLETED, SUNKNOWN, OPEN, ACKNOWLEDGED, IMPLEMENTING, CANCELLED, DECLINED, IN_PROGRESS, CLOSED\"}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:58.357Z", - "time": 358 + "startedDateTime": "2025-08-12T11:05:53.709Z", + "time": 366 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json index 2530f6b55e52..bdf216dd4e19 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:58.721Z" +"2025-08-12T11:05:54.080Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har index a814280603cf..5e62f13b94df 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:58.723Z", - "time": 386 + "startedDateTime": "2025-08-12T11:05:54.081Z", + "time": 378 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json index 9b8b2cc71d0c..cd993e951f2b 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:59.116Z" +"2025-08-12T11:05:54.464Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har index 9a3e298d243c..46ac1d615e6f 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"6d09fb31-6357-4f35-b1af-eaa0047f19f0\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:59.449985Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6d09fb31-6357-4f35-b1af-eaa0047f19f0\",\"key\":\"DDFC-72332\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72392\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"044015c0-63c9-4e7a-bb22-83974581ed55\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:54.852591Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"044015c0-63c9-4e7a-bb22-83974581ed55\",\"key\":\"DDFC-75938\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"75998\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:59.118Z", + "startedDateTime": "2025-08-12T11:05:54.465Z", "time": 392 }, { - "_id": "1b6a4861322ffe6c3bd95d34b6d2e305", + "_id": "f320780aa0d79dbaf9c9221623bd6627", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"status\":\"IN_PROGRESS\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/6d09fb31-6357-4f35-b1af-eaa0047f19f0/status" + "url": "https://api.datadoghq.com/api/v2/cases/044015c0-63c9-4e7a-bb22-83974581ed55/status" }, "response": { "bodySize": 973, "content": { "mimeType": "application/vnd.api+json", "size": 973, - "text": "{\"data\":{\"id\":\"6d09fb31-6357-4f35-b1af-eaa0047f19f0\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:59.449985Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6d09fb31-6357-4f35-b1af-eaa0047f19f0\",\"key\":\"DDFC-72332\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T13:52:59.835103Z\",\"priority\":\"P4\",\"public_id\":\"72392\",\"status\":\"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\"}}]}" + "text": "{\"data\":{\"id\":\"044015c0-63c9-4e7a-bb22-83974581ed55\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-12T11:05:54.852591Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"044015c0-63c9-4e7a-bb22-83974581ed55\",\"key\":\"DDFC-75938\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-12T11:05:55.234628Z\",\"priority\":\"P4\",\"public_id\":\"75998\",\"status\":\"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\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:59.515Z", - "time": 384 + "startedDateTime": "2025-08-12T11:05:54.860Z", + "time": 385 } ], "pages": [], diff --git a/features/v2/case_management.feature b/features/v2/case_management.feature index 58c95f716688..7c07577e67c2 100644 --- a/features/v2/case_management.feature +++ b/features/v2/case_management.feature @@ -64,6 +64,32 @@ Feature: Case Management When the request is sent Then the response status is 200 OK + @team:DataDog/case-management + Scenario: Comment case returns "Bad Request" response + Given new "CommentCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"comment": ""}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Comment case returns "Not Found" response + Given new "CommentCase" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"attributes": {"comment": "Hello world !"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Comment case returns "OK" response + Given new "CommentCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"comment": "Hello World !"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + @team:DataDog/case-management Scenario: Create a case returns "Bad Request" response Given new "CreateCase" request diff --git a/features/v2/given.json b/features/v2/given.json index 904a03d75911..031635d1a810 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -96,6 +96,23 @@ "tag": "Case Management", "operationId": "CreateCase" }, + { + "parameters": [ + { + "name": "case_id", + "source": "case.id" + }, + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"case\",\n \"attributes\": {\n \"comment\": \"This is my new comment !\"\n }\n }\n}" + } + ], + "source": "data[0]", + "step": "there is a valid \"comment\" in the system", + "key": "comment", + "tag": "Case Management", + "operationId": "CommentCase" + }, { "parameters": [ { diff --git a/features/v2/undo.json b/features/v2/undo.json index fd14fad09365..a592953b3edf 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -452,6 +452,12 @@ "type": "idempotent" } }, + "CommentCase": { + "tag": "Case Management", + "undo": { + "type": "safe" + } + }, "UpdatePriority": { "tag": "Case Management", "undo": { diff --git a/private/bdd_runner/src/support/scenarios_model_mapping.ts b/private/bdd_runner/src/support/scenarios_model_mapping.ts index 0779d7fa60c6..9b754971019d 100644 --- a/private/bdd_runner/src/support/scenarios_model_mapping.ts +++ b/private/bdd_runner/src/support/scenarios_model_mapping.ts @@ -3080,6 +3080,17 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = { }, operationResponseType: "CaseResponse", }, + "CaseManagementApi.V2.CommentCase": { + caseId: { + type: "string", + format: "", + }, + body: { + type: "CaseCommentRequest", + format: "", + }, + operationResponseType: "TimelineResponse", + }, "CaseManagementApi.V2.UpdatePriority": { caseId: { type: "string", diff --git a/services/case_management/src/v2/CaseManagementApi.ts b/services/case_management/src/v2/CaseManagementApi.ts index d61ee183a145..4210accff44e 100644 --- a/services/case_management/src/v2/CaseManagementApi.ts +++ b/services/case_management/src/v2/CaseManagementApi.ts @@ -25,6 +25,7 @@ import { TypingInfo } from "./models/TypingInfo"; import { APIErrorResponse } from "./models/APIErrorResponse"; import { Case } from "./models/Case"; import { CaseAssignRequest } from "./models/CaseAssignRequest"; +import { CaseCommentRequest } from "./models/CaseCommentRequest"; import { CaseCreateRequest } from "./models/CaseCreateRequest"; import { CaseEmptyRequest } from "./models/CaseEmptyRequest"; import { CaseResponse } from "./models/CaseResponse"; @@ -36,6 +37,7 @@ import { CaseUpdateStatusRequest } from "./models/CaseUpdateStatusRequest"; import { ProjectCreateRequest } from "./models/ProjectCreateRequest"; import { ProjectResponse } from "./models/ProjectResponse"; import { ProjectsResponse } from "./models/ProjectsResponse"; +import { TimelineResponse } from "./models/TimelineResponse"; import { version } from "../version"; export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { @@ -167,6 +169,65 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + public async commentCase( + caseId: string, + body: CaseCommentRequest, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "commentCase"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "commentCase"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/comment".replace( + "{case_id}", + encodeURIComponent(String(caseId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementApi.v2.commentCase", + CaseManagementApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.POST, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Body Params + const contentType = getPreferredMediaType(["application/json"]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = stringify( + serialize(body, TypingInfo, "CaseCommentRequest", ""), + contentType, + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async createCase( body: CaseCreateRequest, _options?: Configuration, @@ -938,6 +999,68 @@ export class CaseManagementApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to commentCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async commentCase( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: TimelineResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "TimelineResponse", + ) as TimelineResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: TimelineResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "TimelineResponse", + "", + ) as TimelineResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -1680,6 +1803,19 @@ export interface CaseManagementApiAssignCaseRequest { body: CaseAssignRequest; } +export interface CaseManagementApiCommentCaseRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Case comment payload + * @type CaseCommentRequest + */ + body: CaseCommentRequest; +} + export interface CaseManagementApiCreateCaseRequest { /** * Case payload @@ -1876,6 +2012,28 @@ export class CaseManagementApi { }); } + /** + * Comment case + * @param param The request object + */ + public commentCase( + param: CaseManagementApiCommentCaseRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.commentCase( + param.caseId, + param.body, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.commentCase(responseContext); + }); + }); + } + /** * Create a Case * @param param The request object diff --git a/services/case_management/src/v2/index.ts b/services/case_management/src/v2/index.ts index c03dcbe29dee..237b012fea4f 100644 --- a/services/case_management/src/v2/index.ts +++ b/services/case_management/src/v2/index.ts @@ -1,6 +1,7 @@ export { CaseManagementApiArchiveCaseRequest, CaseManagementApiAssignCaseRequest, + CaseManagementApiCommentCaseRequest, CaseManagementApiCreateCaseRequest, CaseManagementApiCreateProjectRequest, CaseManagementApiDeleteProjectRequest, @@ -22,6 +23,9 @@ export { CaseAssign } from "./models/CaseAssign"; export { CaseAssignAttributes } from "./models/CaseAssignAttributes"; export { CaseAssignRequest } from "./models/CaseAssignRequest"; export { CaseAttributes } from "./models/CaseAttributes"; +export { CaseComment } from "./models/CaseComment"; +export { CaseCommentAttributes } from "./models/CaseCommentAttributes"; +export { CaseCommentRequest } from "./models/CaseCommentRequest"; export { CaseCreate } from "./models/CaseCreate"; export { CaseCreateAttributes } from "./models/CaseCreateAttributes"; export { CaseCreateRelationships } from "./models/CaseCreateRelationships"; @@ -68,6 +72,17 @@ export { ServiceNowTicket } from "./models/ServiceNowTicket"; export { ServiceNowTicketResult } from "./models/ServiceNowTicketResult"; export { TeamLinkType } from "./models/TeamLinkType"; export { TeamRelationshipsLinks } from "./models/TeamRelationshipsLinks"; +export { TimelineCell } from "./models/TimelineCell"; +export { TimelineCellAuthor } from "./models/TimelineCellAuthor"; +export { TimelineCellAuthorUser } from "./models/TimelineCellAuthorUser"; +export { TimelineCellAuthorUserContent } from "./models/TimelineCellAuthorUserContent"; +export { TimelineCellAuthorUserType } from "./models/TimelineCellAuthorUserType"; +export { TimelineCellContent } from "./models/TimelineCellContent"; +export { TimelineCellContentComment } from "./models/TimelineCellContentComment"; +export { TimelineCellResource } from "./models/TimelineCellResource"; +export { TimelineCellResourceType } from "./models/TimelineCellResourceType"; +export { TimelineCellType } from "./models/TimelineCellType"; +export { TimelineResponse } from "./models/TimelineResponse"; export { UserRelationshipData } from "./models/UserRelationshipData"; export { UserResourceType } from "./models/UserResourceType"; export { UsersRelationship } from "./models/UsersRelationship"; diff --git a/services/case_management/src/v2/models/CaseComment.ts b/services/case_management/src/v2/models/CaseComment.ts new file mode 100644 index 000000000000..9fe4dbc7e969 --- /dev/null +++ b/services/case_management/src/v2/models/CaseComment.ts @@ -0,0 +1,57 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseCommentAttributes } from "./CaseCommentAttributes"; +import { CaseResourceType } from "./CaseResourceType"; + +/** + * Case comment + */ +export class CaseComment { + /** + * Case comment attributes + */ + "attributes": CaseCommentAttributes; + /** + * Case resource type + */ + "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseCommentAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseComment.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseCommentAttributes.ts b/services/case_management/src/v2/models/CaseCommentAttributes.ts new file mode 100644 index 000000000000..d41ac7ab70dc --- /dev/null +++ b/services/case_management/src/v2/models/CaseCommentAttributes.ts @@ -0,0 +1,45 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * Case comment attributes + */ +export class CaseCommentAttributes { + /** + * The `CaseCommentAttributes` `message`. + */ + "comment": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + comment: { + baseName: "comment", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseCommentAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseCommentRequest.ts b/services/case_management/src/v2/models/CaseCommentRequest.ts new file mode 100644 index 000000000000..d85828f63ede --- /dev/null +++ b/services/case_management/src/v2/models/CaseCommentRequest.ts @@ -0,0 +1,47 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseComment } from "./CaseComment"; + +/** + * Case comment request + */ +export class CaseCommentRequest { + /** + * Case comment + */ + "data": CaseComment; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseComment", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseCommentRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCell.ts b/services/case_management/src/v2/models/TimelineCell.ts new file mode 100644 index 000000000000..1ea463afcabf --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCell.ts @@ -0,0 +1,91 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { TimelineCellAuthor } from "./TimelineCellAuthor"; +import { TimelineCellContent } from "./TimelineCellContent"; +import { TimelineCellType } from "./TimelineCellType"; + +/** + * timeline cell + */ +export class TimelineCell { + /** + * author of the timeline cell + */ + "author"?: TimelineCellAuthor; + /** + * timeline cell content + */ + "cellContent"?: TimelineCellContent; + /** + * Timestamp of when the cell was created + */ + "createdAt"?: Date; + /** + * Timestamp of when the cell was deleted + */ + "deletedAt"?: Date; + /** + * Timestamp of when the cell was last modified + */ + "modifiedAt"?: Date; + /** + * Timeline cell content type + */ + "type"?: TimelineCellType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + author: { + baseName: "author", + type: "TimelineCellAuthor", + }, + cellContent: { + baseName: "cell_content", + type: "TimelineCellContent", + }, + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + deletedAt: { + baseName: "deleted_at", + type: "Date", + format: "date-time", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + type: { + baseName: "type", + type: "TimelineCellType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCell.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellAuthor.ts b/services/case_management/src/v2/models/TimelineCellAuthor.ts new file mode 100644 index 000000000000..5ffff0756216 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellAuthor.ts @@ -0,0 +1,8 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +import { TimelineCellAuthorUser } from "./TimelineCellAuthorUser"; + +/** + * author of the timeline cell + */ +export type TimelineCellAuthor = TimelineCellAuthorUser | UnparsedObject; diff --git a/services/case_management/src/v2/models/TimelineCellAuthorUser.ts b/services/case_management/src/v2/models/TimelineCellAuthorUser.ts new file mode 100644 index 000000000000..4322bff67336 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellAuthorUser.ts @@ -0,0 +1,55 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { TimelineCellAuthorUserContent } from "./TimelineCellAuthorUserContent"; +import { TimelineCellAuthorUserType } from "./TimelineCellAuthorUserType"; + +/** + * timeline cell user author + */ +export class TimelineCellAuthorUser { + /** + * user author content. + */ + "content"?: TimelineCellAuthorUserContent; + /** + * user author type. + */ + "type"?: TimelineCellAuthorUserType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + content: { + baseName: "content", + type: "TimelineCellAuthorUserContent", + }, + type: { + baseName: "type", + type: "TimelineCellAuthorUserType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCellAuthorUser.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellAuthorUserContent.ts b/services/case_management/src/v2/models/TimelineCellAuthorUserContent.ts new file mode 100644 index 000000000000..2d6322f0e6d8 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellAuthorUserContent.ts @@ -0,0 +1,68 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * user author content. + */ +export class TimelineCellAuthorUserContent { + /** + * user email + */ + "email"?: string; + /** + * user handle + */ + "handle"?: string; + /** + * user UUID + */ + "id"?: string; + /** + * user name + */ + "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + email: { + baseName: "email", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + }, + id: { + baseName: "id", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCellAuthorUserContent.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellAuthorUserType.ts b/services/case_management/src/v2/models/TimelineCellAuthorUserType.ts new file mode 100644 index 000000000000..b9d235952b18 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellAuthorUserType.ts @@ -0,0 +1,7 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * user author type. + */ +export type TimelineCellAuthorUserType = typeof USER | UnparsedObject; +export const USER = "USER"; diff --git a/services/case_management/src/v2/models/TimelineCellContent.ts b/services/case_management/src/v2/models/TimelineCellContent.ts new file mode 100644 index 000000000000..d8da78758dfb --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellContent.ts @@ -0,0 +1,8 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +import { TimelineCellContentComment } from "./TimelineCellContentComment"; + +/** + * timeline cell content + */ +export type TimelineCellContent = TimelineCellContentComment | UnparsedObject; diff --git a/services/case_management/src/v2/models/TimelineCellContentComment.ts b/services/case_management/src/v2/models/TimelineCellContentComment.ts new file mode 100644 index 000000000000..6d9dc240cdc4 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellContentComment.ts @@ -0,0 +1,44 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * comment content + */ +export class TimelineCellContentComment { + /** + * comment message + */ + "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + message: { + baseName: "message", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCellContentComment.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellResource.ts b/services/case_management/src/v2/models/TimelineCellResource.ts new file mode 100644 index 000000000000..a96030dc756a --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellResource.ts @@ -0,0 +1,66 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { TimelineCell } from "./TimelineCell"; +import { TimelineCellResourceType } from "./TimelineCellResourceType"; + +/** + * Timeline cell JSON:API resource + */ +export class TimelineCellResource { + /** + * timeline cell + */ + "attributes": TimelineCell; + /** + * Timeline cell's identifier + */ + "id": string; + /** + * Timeline cell JSON:API resource type + */ + "type": TimelineCellResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "TimelineCell", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "TimelineCellResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCellResource.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellResourceType.ts b/services/case_management/src/v2/models/TimelineCellResourceType.ts new file mode 100644 index 000000000000..bd3771e78a54 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellResourceType.ts @@ -0,0 +1,7 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Timeline cell JSON:API resource type + */ +export type TimelineCellResourceType = typeof TIMELINE_CELL | UnparsedObject; +export const TIMELINE_CELL = "timeline_cell"; diff --git a/services/case_management/src/v2/models/TimelineCellType.ts b/services/case_management/src/v2/models/TimelineCellType.ts new file mode 100644 index 000000000000..e2877d2b0c60 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellType.ts @@ -0,0 +1,7 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Timeline cell content type + */ +export type TimelineCellType = typeof COMMENT | UnparsedObject; +export const COMMENT = "COMMENT"; diff --git a/services/case_management/src/v2/models/TimelineResponse.ts b/services/case_management/src/v2/models/TimelineResponse.ts new file mode 100644 index 000000000000..d908c8ff070d --- /dev/null +++ b/services/case_management/src/v2/models/TimelineResponse.ts @@ -0,0 +1,46 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { TimelineCellResource } from "./TimelineCellResource"; + +/** + * Timeline response + */ +export class TimelineResponse { + /** + * The `TimelineResponse` `data`. + */ + "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TypingInfo.ts b/services/case_management/src/v2/models/TypingInfo.ts index c0adcf135cec..ea6320daa7b7 100644 --- a/services/case_management/src/v2/models/TypingInfo.ts +++ b/services/case_management/src/v2/models/TypingInfo.ts @@ -6,6 +6,9 @@ import { CaseAssign } from "./CaseAssign"; import { CaseAssignAttributes } from "./CaseAssignAttributes"; import { CaseAssignRequest } from "./CaseAssignRequest"; import { CaseAttributes } from "./CaseAttributes"; +import { CaseComment } from "./CaseComment"; +import { CaseCommentAttributes } from "./CaseCommentAttributes"; +import { CaseCommentRequest } from "./CaseCommentRequest"; import { CaseCreate } from "./CaseCreate"; import { CaseCreateAttributes } from "./CaseCreateAttributes"; import { CaseCreateRelationships } from "./CaseCreateRelationships"; @@ -45,6 +48,12 @@ import { RelationshipToTeamLinks } from "./RelationshipToTeamLinks"; import { ServiceNowTicket } from "./ServiceNowTicket"; import { ServiceNowTicketResult } from "./ServiceNowTicketResult"; import { TeamRelationshipsLinks } from "./TeamRelationshipsLinks"; +import { TimelineCell } from "./TimelineCell"; +import { TimelineCellAuthorUser } from "./TimelineCellAuthorUser"; +import { TimelineCellAuthorUserContent } from "./TimelineCellAuthorUserContent"; +import { TimelineCellContentComment } from "./TimelineCellContentComment"; +import { TimelineCellResource } from "./TimelineCellResource"; +import { TimelineResponse } from "./TimelineResponse"; import { UserRelationshipData } from "./UserRelationshipData"; import { UsersRelationship } from "./UsersRelationship"; @@ -58,9 +67,15 @@ export const TypingInfo: ModelTypingInfo = { CaseType: ["STANDARD"], ProjectResourceType: ["project"], TeamLinkType: ["team_links"], + TimelineCellAuthorUserType: ["USER"], + TimelineCellResourceType: ["timeline_cell"], + TimelineCellType: ["COMMENT"], UserResourceType: ["user"], }, - oneOfMap: {}, + oneOfMap: { + TimelineCellAuthor: ["TimelineCellAuthorUser"], + TimelineCellContent: ["TimelineCellContentComment"], + }, typeMap: { APIErrorResponse: APIErrorResponse, Case: Case, @@ -68,6 +83,9 @@ export const TypingInfo: ModelTypingInfo = { CaseAssignAttributes: CaseAssignAttributes, CaseAssignRequest: CaseAssignRequest, CaseAttributes: CaseAttributes, + CaseComment: CaseComment, + CaseCommentAttributes: CaseCommentAttributes, + CaseCommentRequest: CaseCommentRequest, CaseCreate: CaseCreate, CaseCreateAttributes: CaseCreateAttributes, CaseCreateRelationships: CaseCreateRelationships, @@ -107,6 +125,12 @@ export const TypingInfo: ModelTypingInfo = { ServiceNowTicket: ServiceNowTicket, ServiceNowTicketResult: ServiceNowTicketResult, TeamRelationshipsLinks: TeamRelationshipsLinks, + TimelineCell: TimelineCell, + TimelineCellAuthorUser: TimelineCellAuthorUser, + TimelineCellAuthorUserContent: TimelineCellAuthorUserContent, + TimelineCellContentComment: TimelineCellContentComment, + TimelineCellResource: TimelineCellResource, + TimelineResponse: TimelineResponse, UserRelationshipData: UserRelationshipData, UsersRelationship: UsersRelationship, },