From 665e654a344decd8c616af034f0aa978902aae05 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 28 Jan 2026 16:40:12 +0000 Subject: [PATCH] Regenerate client from commit 2752ed9 of spec repo --- ...ate_a_team_link_returns_OK_response.freeze | 2 +- ...reate_a_team_link_returns_OK_response.json | 22 ++++++------- ...Get_a_team_link_returns_OK_response.freeze | 2 +- .../Get_a_team_link_returns_OK_response.json | 32 +++++++++---------- ...am_link_returns_No_Content_response.freeze | 2 +- ...team_link_returns_No_Content_response.json | 30 ++++++++--------- ...ate_a_team_link_returns_OK_response.freeze | 2 +- ...pdate_a_team_link_returns_OK_response.json | 30 ++++++++--------- .../com/datadog/api/client/v2/api/undo.json | 3 +- 9 files changed, 63 insertions(+), 62 deletions(-) diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.freeze index 5e31001e436..631b268503a 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.freeze @@ -1 +1 @@ -2023-08-21T19:44:43.622Z \ No newline at end of file +2026-01-23T11:00:10.582Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.json index 3a5ca49777d..eb3ba186438 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_team_link_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-95c34d7fe6d963ff\",\"name\":\"test-name-95c34d7fe6d963ff\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-5e6a036c358c6bff\",\"name\":\"test-name-5e6a036c358c6bff\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,10 +12,10 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"2d0e6d4e-405b-11ee-84bc-da7ad0900002\",\"attributes\":{\"name\":\"test-name-95c34d7fe6d963ff\",\"handle\":\"test-handle-95c34d7fe6d963ff\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":null,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2023-08-21T19:44:43.718259+00:00\",\"modified_at\":\"2023-08-21T19:44:43.718264+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/2d0e6d4e-405b-11ee-84bc-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/2d0e6d4e-405b-11ee-84bc-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"id\":\"66d6e3d2-f7ea-4946-bc93-b11db5b9bed4\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":12,\"created_at\":\"2026-01-23T11:00:12.132142+00:00\",\"description\":null,\"handle\":\"test-handle-5e6a036c358c6bff\",\"hidden_modules\":null,\"is_managed\":false,\"link_count\":0,\"modified_at\":\"2026-01-23T11:00:12.132142+00:00\",\"name\":\"test-name-5e6a036c358c6bff\",\"summary\":null,\"user_count\":0,\"visible_modules\":null},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/66d6e3d2-f7ea-4946-bc93-b11db5b9bed4/links\"}},\"user_team_permissions\":{\"data\":null,\"links\":{\"related\":\"/api/v2/team/66d6e3d2-f7ea-4946-bc93-b11db5b9bed4/permission-settings\"}}}}}", "headers": { "Content-Type": [ - "application/json" + "application/vnd.api+json" ] }, "statusCode": 201, @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "14b54f43-642c-f26f-dd0b-de2c81c4c00f" + "id": "00068138-9fa9-8b8b-0ae8-e31f523c6647" }, { "httpRequest": { @@ -37,12 +37,12 @@ }, "headers": {}, "method": "POST", - "path": "/api/v2/team/2d0e6d4e-405b-11ee-84bc-da7ad0900002/links", + "path": "/api/v2/team/66d6e3d2-f7ea-4946-bc93-b11db5b9bed4/links", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"2d348dee-405b-11ee-b5db-da7ad0900002\",\"attributes\":{\"team_id\":\"2d0e6d4e-405b-11ee-84bc-da7ad0900002\",\"label\":\"Link label\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"b0c50a40-f84a-11f0-a7c6-da7ad0900002\",\"attributes\":{\"team_id\":\"66d6e3d2-f7ea-4946-bc93-b11db5b9bed4\",\"label\":\"Link label\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "96b35eef-1292-8033-358d-a4edeb2f4c83" + "id": "08edb3be-a0fe-0d8b-05eb-1385e52b7be0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/2d0e6d4e-405b-11ee-84bc-da7ad0900002/links/2d348dee-405b-11ee-b5db-da7ad0900002", + "path": "/api/v2/team/66d6e3d2-f7ea-4946-bc93-b11db5b9bed4/links/b0c50a40-f84a-11f0-a7c6-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,13 +78,13 @@ "timeToLive": { "unlimited": true }, - "id": "a26fbc5a-2d87-f345-bec5-c68f206ce8c4" + "id": "6b0a2065-3444-97ac-5984-3293e3dda0f1" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/2d0e6d4e-405b-11ee-84bc-da7ad0900002", + "path": "/api/v2/team/66d6e3d2-f7ea-4946-bc93-b11db5b9bed4", "keepAlive": false, "secure": true }, @@ -99,6 +99,6 @@ "timeToLive": { "unlimited": true }, - "id": "3692338f-5522-fb0b-6b32-c510f8247e38" + "id": "ae0032e1-7a7e-a8c1-6029-1533d949aa45" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.freeze index 9bd719325e2..4a7b92f84ed 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.freeze @@ -1 +1 @@ -2023-08-21T19:44:45.969Z \ No newline at end of file +2026-01-23T11:00:13.515Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.json index 90b71e78ce4..bf31e855b3b 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_team_link_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-17f710cc6491a98e\",\"name\":\"test-name-17f710cc6491a98e\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-94cf752f98fda23c\",\"name\":\"test-name-94cf752f98fda23c\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,10 +12,10 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"2e757196-405b-11ee-bc70-da7ad0900002\",\"attributes\":{\"name\":\"test-name-17f710cc6491a98e\",\"handle\":\"test-handle-17f710cc6491a98e\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":null,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2023-08-21T19:44:46.071074+00:00\",\"modified_at\":\"2023-08-21T19:44:46.071080+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/2e757196-405b-11ee-bc70-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/2e757196-405b-11ee-bc70-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"id\":\"35d819d9-918b-4d29-838d-ed8507398b21\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":10,\"created_at\":\"2026-01-23T11:00:13.808835+00:00\",\"description\":null,\"handle\":\"test-handle-94cf752f98fda23c\",\"hidden_modules\":null,\"is_managed\":false,\"link_count\":0,\"modified_at\":\"2026-01-23T11:00:13.808835+00:00\",\"name\":\"test-name-94cf752f98fda23c\",\"summary\":null,\"user_count\":0,\"visible_modules\":null},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21/links\"}},\"user_team_permissions\":{\"data\":null,\"links\":{\"related\":\"/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21/permission-settings\"}}}}}", "headers": { "Content-Type": [ - "application/json" + "application/vnd.api+json" ] }, "statusCode": 201, @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "a6665158-2491-e7cb-dd4c-ae02014ba600" + "id": "193b42ba-776e-7a41-9028-fa219ef2f403" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Get_a_team_link_returns_OK_response-1692647085\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" + "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Get_a_team_link_returns_OK_response-1769166013\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/team/2e757196-405b-11ee-bc70-da7ad0900002/links", + "path": "/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21/links", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"2e91164e-405b-11ee-9f5b-da7ad0900002\",\"attributes\":{\"team_id\":\"2e757196-405b-11ee-bc70-da7ad0900002\",\"label\":\"Test-Get_a_team_link_returns_OK_response-1692647085\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"b1c355f0-f84a-11f0-8d16-da7ad0900002\",\"attributes\":{\"team_id\":\"35d819d9-918b-4d29-838d-ed8507398b21\",\"label\":\"Test-Get_a_team_link_returns_OK_response-1769166013\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,21 +57,21 @@ "timeToLive": { "unlimited": true }, - "id": "04ff94ad-85bb-ad81-2c48-6f4afed2b1b3" + "id": "cc87beb1-aa22-c0f9-f480-396c052f48d0" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/team/2e757196-405b-11ee-bc70-da7ad0900002/links/2e91164e-405b-11ee-9f5b-da7ad0900002", + "path": "/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21/links/b1c355f0-f84a-11f0-8d16-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"2e91164e-405b-11ee-9f5b-da7ad0900002\",\"attributes\":{\"team_id\":\"2e757196-405b-11ee-bc70-da7ad0900002\",\"label\":\"Test-Get_a_team_link_returns_OK_response-1692647085\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"id\":\"b1c355f0-f84a-11f0-8d16-da7ad0900002\",\"type\":\"team_links\",\"attributes\":{\"label\":\"Test-Get_a_team_link_returns_OK_response-1769166013\",\"position\":0,\"team_id\":\"35d819d9-918b-4d29-838d-ed8507398b21\",\"url\":\"https://example.com\"}}}", "headers": { "Content-Type": [ - "application/json" + "application/vnd.api+json" ] }, "statusCode": 200, @@ -83,13 +83,13 @@ "timeToLive": { "unlimited": true }, - "id": "87baa1f7-ab28-a641-3aaf-96c198fb2b89" + "id": "c5412809-e403-adf0-f6d9-8482034eb7fe" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/2e757196-405b-11ee-bc70-da7ad0900002/links/2e91164e-405b-11ee-9f5b-da7ad0900002", + "path": "/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21/links/b1c355f0-f84a-11f0-8d16-da7ad0900002", "keepAlive": false, "secure": true }, @@ -104,13 +104,13 @@ "timeToLive": { "unlimited": true }, - "id": "cbfef412-54c4-b23c-63c0-6ba45af9f0fb" + "id": "434b5eed-3db7-752e-2638-d60aa8b65bba" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/2e757196-405b-11ee-bc70-da7ad0900002", + "path": "/api/v2/team/35d819d9-918b-4d29-838d-ed8507398b21", "keepAlive": false, "secure": true }, @@ -125,6 +125,6 @@ "timeToLive": { "unlimited": true }, - "id": "338eee1c-ee34-cb4d-b50e-e192c778c370" + "id": "7189d72c-fd2f-4bbf-dd94-116ac7e74dcc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.freeze b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.freeze index d6c4862f1f5..e97109a744f 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.freeze +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.freeze @@ -1 +1 @@ -2023-08-21T19:44:50.990Z \ No newline at end of file +2026-01-23T11:00:15.520Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.json index 265147945b0..066d8ac8d26 100644 --- a/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Remove_a_team_link_returns_No_Content_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-174fbe08316e4419\",\"name\":\"test-name-174fbe08316e4419\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-5e7e3d924d3cf03e\",\"name\":\"test-name-5e7e3d924d3cf03e\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,10 +12,10 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"3174aa4c-405b-11ee-9d78-da7ad0900002\",\"attributes\":{\"name\":\"test-name-174fbe08316e4419\",\"handle\":\"test-handle-174fbe08316e4419\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":null,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2023-08-21T19:44:51.098613+00:00\",\"modified_at\":\"2023-08-21T19:44:51.098619+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/3174aa4c-405b-11ee-9d78-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/3174aa4c-405b-11ee-9d78-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"id\":\"59e1efcf-eb13-4a2b-8fcf-64590d56007f\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":7,\"created_at\":\"2026-01-23T11:00:15.837894+00:00\",\"description\":null,\"handle\":\"test-handle-5e7e3d924d3cf03e\",\"hidden_modules\":null,\"is_managed\":false,\"link_count\":0,\"modified_at\":\"2026-01-23T11:00:15.837894+00:00\",\"name\":\"test-name-5e7e3d924d3cf03e\",\"summary\":null,\"user_count\":0,\"visible_modules\":null},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f/links\"}},\"user_team_permissions\":{\"data\":null,\"links\":{\"related\":\"/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f/permission-settings\"}}}}}", "headers": { "Content-Type": [ - "application/json" + "application/vnd.api+json" ] }, "statusCode": 201, @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "30ca486e-4dc1-0194-738a-4bbed53e06eb" + "id": "65aed4cf-85b8-65f5-fc72-3b4698e78e93" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1692647090\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" + "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1769166015\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/team/3174aa4c-405b-11ee-9d78-da7ad0900002/links", + "path": "/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f/links", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"3194a5c2-405b-11ee-b009-da7ad0900002\",\"attributes\":{\"team_id\":\"3174aa4c-405b-11ee-9d78-da7ad0900002\",\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1692647090\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"b2fba45e-f84a-11f0-9d5d-da7ad0900002\",\"attributes\":{\"team_id\":\"59e1efcf-eb13-4a2b-8fcf-64590d56007f\",\"label\":\"Test-Remove_a_team_link_returns_No_Content_response-1769166015\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,13 +57,13 @@ "timeToLive": { "unlimited": true }, - "id": "6fa873e6-9e49-2630-6244-ea09237a7c9e" + "id": "cf8c303d-cecf-6fb9-4976-d158ce2a929c" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/3174aa4c-405b-11ee-9d78-da7ad0900002/links/3194a5c2-405b-11ee-b009-da7ad0900002", + "path": "/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f/links/b2fba45e-f84a-11f0-9d5d-da7ad0900002", "keepAlive": false, "secure": true }, @@ -78,18 +78,18 @@ "timeToLive": { "unlimited": true }, - "id": "0a26643b-7dcb-0167-b894-93c627ebf1ba" + "id": "56784d0a-945e-4e64-c29f-39146fe0efe0" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/3174aa4c-405b-11ee-9d78-da7ad0900002/links/3194a5c2-405b-11ee-b009-da7ad0900002", + "path": "/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f/links/b2fba45e-f84a-11f0-9d5d-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[\"Link for ID 3194a5c2-405b-11ee-b009-da7ad0900002 not found\"]}", + "body": "{\"errors\":[\"Link for ID b2fba45e-f84a-11f0-9d5d-da7ad0900002 not found\"]}", "headers": { "Content-Type": [ "application/json" @@ -104,13 +104,13 @@ "timeToLive": { "unlimited": true }, - "id": "0a26643b-7dcb-0167-b894-93c627ebf1bb" + "id": "56784d0a-945e-4e64-c29f-39146fe0efe1" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/3174aa4c-405b-11ee-9d78-da7ad0900002", + "path": "/api/v2/team/59e1efcf-eb13-4a2b-8fcf-64590d56007f", "keepAlive": false, "secure": true }, @@ -125,6 +125,6 @@ "timeToLive": { "unlimited": true }, - "id": "a592b9bb-0b8d-ad62-0587-b46b2d6801a9" + "id": "27eff17a-655b-8192-7d3d-21e6501ef95d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.freeze index 272098258dc..050e95d3408 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.freeze @@ -1 +1 @@ -2023-08-21T19:44:53.594Z \ No newline at end of file +2026-01-23T11:00:17.594Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.json index 9a22395a133..296c5d7668c 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_team_link_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-9503f929e485f83e\",\"name\":\"test-name-9503f929e485f83e\"},\"type\":\"team\"}}" + "json": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-98fa6b5d3df15a52\",\"name\":\"test-name-98fa6b5d3df15a52\"},\"type\":\"team\"}}" }, "headers": {}, "method": "POST", @@ -12,10 +12,10 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team\",\"id\":\"3301859c-405b-11ee-aedf-da7ad0900002\",\"attributes\":{\"name\":\"test-name-9503f929e485f83e\",\"handle\":\"test-handle-9503f929e485f83e\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":null,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2023-08-21T19:44:53.699451+00:00\",\"modified_at\":\"2023-08-21T19:44:53.699457+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/3301859c-405b-11ee-aedf-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/3301859c-405b-11ee-aedf-da7ad0900002/permission-settings\"}}}}}\n", + "body": "{\"data\":{\"id\":\"ec95ccd2-5cf4-494a-971c-84a604f7dde5\",\"type\":\"team\",\"attributes\":{\"avatar\":null,\"banner\":0,\"created_at\":\"2026-01-23T11:00:17.893904+00:00\",\"description\":null,\"handle\":\"test-handle-98fa6b5d3df15a52\",\"hidden_modules\":null,\"is_managed\":false,\"link_count\":0,\"modified_at\":\"2026-01-23T11:00:17.893904+00:00\",\"name\":\"test-name-98fa6b5d3df15a52\",\"summary\":null,\"user_count\":0,\"visible_modules\":null},\"relationships\":{\"team_links\":{\"data\":[],\"links\":{\"related\":\"/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5/links\"}},\"user_team_permissions\":{\"data\":null,\"links\":{\"related\":\"/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5/permission-settings\"}}}}}", "headers": { "Content-Type": [ - "application/json" + "application/vnd.api+json" ] }, "statusCode": 201, @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "eadb1d75-8a6b-6cff-4f86-522db8c34666" + "id": "4203b725-728c-d562-4a50-8fd99f5ec822" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Update_a_team_link_returns_OK_response-1692647093\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" + "json": "{\"data\":{\"attributes\":{\"label\":\"Test-Update_a_team_link_returns_OK_response-1769166017\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}" }, "headers": {}, "method": "POST", - "path": "/api/v2/team/3301859c-405b-11ee-aedf-da7ad0900002/links", + "path": "/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5/links", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"331f8b00-405b-11ee-bdcc-da7ad0900002\",\"attributes\":{\"team_id\":\"3301859c-405b-11ee-aedf-da7ad0900002\",\"label\":\"Test-Update_a_team_link_returns_OK_response-1692647093\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"b433501a-f84a-11f0-9cd8-da7ad0900002\",\"attributes\":{\"team_id\":\"ec95ccd2-5cf4-494a-971c-84a604f7dde5\",\"label\":\"Test-Update_a_team_link_returns_OK_response-1769166017\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "3afbdd5a-4614-1771-a635-9d9a4f7e74f8" + "id": "fe5ab57b-fb04-e419-24b4-415100bec4b4" }, { "httpRequest": { @@ -67,12 +67,12 @@ }, "headers": {}, "method": "PATCH", - "path": "/api/v2/team/3301859c-405b-11ee-aedf-da7ad0900002/links/331f8b00-405b-11ee-bdcc-da7ad0900002", + "path": "/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5/links/b433501a-f84a-11f0-9cd8-da7ad0900002", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"331f8b00-405b-11ee-bdcc-da7ad0900002\",\"attributes\":{\"team_id\":\"3301859c-405b-11ee-aedf-da7ad0900002\",\"label\":\"New Label\",\"url\":\"https://example.com\",\"position\":0}}}\n", + "body": "{\"data\":{\"type\":\"team_links\",\"id\":\"b433501a-f84a-11f0-9cd8-da7ad0900002\",\"attributes\":{\"team_id\":\"ec95ccd2-5cf4-494a-971c-84a604f7dde5\",\"label\":\"New Label\",\"url\":\"https://example.com\",\"position\":0}}}\n", "headers": { "Content-Type": [ "application/json" @@ -87,13 +87,13 @@ "timeToLive": { "unlimited": true }, - "id": "b4718c69-7ade-117e-7459-31e55e2e7d1a" + "id": "8820e453-dbe5-2e81-505f-fbe13cd5cee8" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/3301859c-405b-11ee-aedf-da7ad0900002/links/331f8b00-405b-11ee-bdcc-da7ad0900002", + "path": "/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5/links/b433501a-f84a-11f0-9cd8-da7ad0900002", "keepAlive": false, "secure": true }, @@ -108,13 +108,13 @@ "timeToLive": { "unlimited": true }, - "id": "66e8d1ce-6f47-361e-cf36-91887f0a88dc" + "id": "804bc70e-b64f-bbde-205a-46fc0111b929" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/team/3301859c-405b-11ee-aedf-da7ad0900002", + "path": "/api/v2/team/ec95ccd2-5cf4-494a-971c-84a604f7dde5", "keepAlive": false, "secure": true }, @@ -129,6 +129,6 @@ "timeToLive": { "unlimited": true }, - "id": "735e2a8e-b25a-3be8-cbf6-192051aac772" + "id": "e7f967da-49e1-77ac-ea37-5d98fa7ffde8" } ] \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v2/api/undo.json b/src/test/resources/com/datadog/api/client/v2/api/undo.json index 5a347bddf11..27ff7577c60 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/undo.json +++ b/src/test/resources/com/datadog/api/client/v2/api/undo.json @@ -5180,7 +5180,8 @@ "parameters": [ { "name": "team_id", - "source": "data.attributes.team_id" + "origin": "path", + "source": "team_id" }, { "name": "link_id",