Skip to content

Commit 9122f49

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 92afd61 of spec repo
1 parent 5e34e7b commit 9122f49

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75872,7 +75872,9 @@ paths:
7587275872
- Case Management
7587375873
/api/v2/cases/{case_id}/attributes:
7587475874
post:
75875-
description: Update case attributes
75875+
description: Update case attributes. This replaces all attributes with the provided
75876+
payload. To update a single attribute (e.g., team), include all existing attributes
75877+
in the request to avoid overwriting them.
7587675878
operationId: UpdateAttributes
7587775879
parameters:
7587875880
- $ref: '#/components/parameters/CaseIDPathParameter'

src/datadog_api_client/v2/api/case_management_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ def update_attributes(
14531453
) -> CaseResponse:
14541454
"""Update case attributes.
14551455
1456-
Update case attributes
1456+
Update case attributes. This replaces all attributes with the provided payload. To update a single attribute (e.g., team), include all existing attributes in the request to avoid overwriting them.
14571457
14581458
:param case_id: Case's UUID or key
14591459
:type case_id: str
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-02-18T16:57:05.121Z
1+
2026-01-07T12:38:45.716Z

tests/v2/cassettes/test_scenarios/test_create_a_test_suite_returns_ok_response.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/synthetics/suites
1212
response:
1313
body:
14-
string: '{"data":{"type":"suites","attributes":{"type":"suite","monitor_id":259845717,"name":"Example
15-
suite name","options":{},"tests":[],"tags":["env:production"],"public_id":"hik-xp5-9q6","created_at":"2026-02-18T16:57:05.583051+00:00","modified_at":"2026-02-18T16:57:05.583051+00:00","created_by":{"name":"Corentin
16-
Girard","email":"corentin.girard@datadoghq.com","handle":"corentin.girard@datadoghq.com"},"message":"Notification
17-
message","org_id":321813,"modified_by":{"name":"Corentin Girard","email":"corentin.girard@datadoghq.com","handle":"corentin.girard@datadoghq.com"}},"id":"hik-xp5-9q6"}}
14+
string: '{"data":{"type":"suites","id":"36n-bb6-njj","attributes":{"tags":["env:production"],"type":"suite","created_by":{"email":"team-intg-tools-libs-spam@datadoghq.com","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI
15+
Account"},"created_at":"2026-01-07T12:38:46.109472+00:00","modified_at":"2026-01-07T12:38:46.109472+00:00","message":"Notification
16+
message","public_id":"36n-bb6-njj","options":{},"modified_by":{"email":"team-intg-tools-libs-spam@datadoghq.com","handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI
17+
Account"},"tests":[],"name":"Example suite name","org_id":321813,"monitor_id":249141773}}}
1818
1919
'
2020
headers:
@@ -24,7 +24,7 @@ interactions:
2424
code: 200
2525
message: OK
2626
- request:
27-
body: '{"data":{"attributes":{"public_ids":["hik-xp5-9q6"]},"type":"delete_suites_request"}}'
27+
body: '{"data":{"attributes":{"public_ids":["36n-bb6-njj"]},"type":"delete_suites_request"}}'
2828
headers:
2929
accept:
3030
- application/json
@@ -34,7 +34,8 @@ interactions:
3434
uri: https://api.datadoghq.com/api/v2/synthetics/suites/bulk-delete
3535
response:
3636
body:
37-
string: '{"data":[{"type":"suites","attributes":{"deleted_at":"2026-02-18 16:57:06.420679","public_id":"hik-xp5-9q6"},"id":"hik-xp5-9q6"}]}
37+
string: '{"data":[{"type":"suites","attributes":{"public_id":"36n-bb6-njj","deleted_at":"2026-01-07
38+
12:38:46.679914"},"id":"36n-bb6-njj"}]}
3839
3940
'
4041
headers:

0 commit comments

Comments
 (0)