Skip to content

Commit 6161dc8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5aa10087 of spec repo
1 parent 9911244 commit 6161dc8

File tree

9 files changed

+2541
-521
lines changed

9 files changed

+2541
-521
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-07-18 16:54:27.438110",
8-
"spec_repo_commit": "0f24b8e5"
7+
"regenerated": "2025-07-21 12:58:47.204069",
8+
"spec_repo_commit": "5aa10087"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-07-18 16:54:36.732989",
13-
"spec_repo_commit": "0f24b8e5"
12+
"regenerated": "2025-07-21 12:58:56.539480",
13+
"spec_repo_commit": "5aa10087"
1414
}
1515
}
1616
}

config/_default/menus/api.en.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5892,6 +5892,18 @@ menu:
58925892
- UpdatePriority
58935893
unstable: []
58945894
order: 5
5895+
- name: Update case attributes
5896+
url: '#update-case-attributes'
5897+
identifier: case-management-update-case-attributes
5898+
parent: case-management
5899+
generated: true
5900+
params:
5901+
versions:
5902+
- v2
5903+
operationids:
5904+
- UpdateAttributes
5905+
unstable: []
5906+
order: 10
58955907
- name: Assign case
58965908
url: '#assign-case'
58975909
identifier: case-management-assign-case

content/en/api/v2/case-management/examples.json

Lines changed: 166 additions & 9 deletions
Large diffs are not rendered by default.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"attributes": {
5+
"service": [
6+
"web-store",
7+
"web-api"
8+
],
9+
"env": [
10+
"test"
11+
],
12+
"team": [
13+
"engineer"
14+
]
15+
}
16+
},
17+
"type": "case"
18+
}
19+
}

data/api/v2/CodeExamples.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,13 @@
275275
"description": "Unassign case returns \"OK\" response"
276276
}
277277
],
278+
"UpdateAttributes": [
279+
{
280+
"group": "case_management",
281+
"suffix": "",
282+
"description": "Update case attributes returns \"OK\" response"
283+
}
284+
],
278285
"UpdatePriority": [
279286
{
280287
"group": "case_management",

data/api/v2/full_spec.yaml

Lines changed: 123 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -6889,7 +6889,7 @@ components:
68896889
description: A case
68906890
properties:
68916891
attributes:
6892-
$ref: '#/components/schemas/CaseAttributes'
6892+
$ref: '#/components/schemas/CaseResourceAttributes'
68936893
id:
68946894
description: Case's identifier
68956895
example: aeadc05e-98a8-11ec-ac2c-da7ad0900001
@@ -6947,52 +6947,11 @@ components:
69476947
- data
69486948
type: object
69496949
CaseAttributes:
6950-
description: Case attributes
6951-
properties:
6952-
archived_at:
6953-
description: Timestamp of when the case was archived
6954-
format: date-time
6955-
nullable: true
6956-
readOnly: true
6957-
type: string
6958-
closed_at:
6959-
description: Timestamp of when the case was closed
6960-
format: date-time
6961-
nullable: true
6962-
readOnly: true
6963-
type: string
6964-
created_at:
6965-
description: Timestamp of when the case was created
6966-
format: date-time
6967-
readOnly: true
6968-
type: string
6969-
description:
6970-
description: Description
6971-
type: string
6972-
jira_issue:
6973-
$ref: '#/components/schemas/JiraIssue'
6974-
key:
6975-
description: Key
6976-
example: CASEM-4523
6977-
type: string
6978-
modified_at:
6979-
description: Timestamp of when the case was last modified
6980-
format: date-time
6981-
nullable: true
6982-
readOnly: true
6983-
type: string
6984-
priority:
6985-
$ref: '#/components/schemas/CasePriority'
6986-
service_now_ticket:
6987-
$ref: '#/components/schemas/ServiceNowTicket'
6988-
status:
6989-
$ref: '#/components/schemas/CaseStatus'
6990-
title:
6991-
description: Title
6992-
example: Memory leak investigation on API
6950+
additionalProperties:
6951+
items:
69936952
type: string
6994-
type:
6995-
$ref: '#/components/schemas/CaseType'
6953+
type: array
6954+
description: The definition of `CaseAttributes` object.
69966955
type: object
69976956
CaseCreate:
69986957
description: Case creation data
@@ -7090,6 +7049,56 @@ components:
70907049
project:
70917050
$ref: '#/components/schemas/ProjectRelationship'
70927051
type: object
7052+
CaseResourceAttributes:
7053+
description: Case resource attributes
7054+
properties:
7055+
archived_at:
7056+
description: Timestamp of when the case was archived
7057+
format: date-time
7058+
nullable: true
7059+
readOnly: true
7060+
type: string
7061+
attributes:
7062+
$ref: '#/components/schemas/CaseAttributes'
7063+
closed_at:
7064+
description: Timestamp of when the case was closed
7065+
format: date-time
7066+
nullable: true
7067+
readOnly: true
7068+
type: string
7069+
created_at:
7070+
description: Timestamp of when the case was created
7071+
format: date-time
7072+
readOnly: true
7073+
type: string
7074+
description:
7075+
description: Description
7076+
type: string
7077+
jira_issue:
7078+
$ref: '#/components/schemas/JiraIssue'
7079+
key:
7080+
description: Key
7081+
example: CASEM-4523
7082+
type: string
7083+
modified_at:
7084+
description: Timestamp of when the case was last modified
7085+
format: date-time
7086+
nullable: true
7087+
readOnly: true
7088+
type: string
7089+
priority:
7090+
$ref: '#/components/schemas/CasePriority'
7091+
service_now_ticket:
7092+
$ref: '#/components/schemas/ServiceNowTicket'
7093+
status:
7094+
$ref: '#/components/schemas/CaseStatus'
7095+
title:
7096+
description: Title
7097+
example: Memory leak investigation on API
7098+
type: string
7099+
type:
7100+
$ref: '#/components/schemas/CaseType'
7101+
type: object
70937102
CaseResourceType:
70947103
default: case
70957104
description: Case resource type
@@ -7154,6 +7163,33 @@ components:
71547163
type: string
71557164
x-enum-varnames:
71567165
- STANDARD
7166+
CaseUpdateAttributes:
7167+
description: Case update attributes
7168+
properties:
7169+
attributes:
7170+
$ref: '#/components/schemas/CaseUpdateAttributesAttributes'
7171+
type:
7172+
$ref: '#/components/schemas/CaseResourceType'
7173+
required:
7174+
- attributes
7175+
- type
7176+
type: object
7177+
CaseUpdateAttributesAttributes:
7178+
description: Case update attributes attributes
7179+
properties:
7180+
attributes:
7181+
$ref: '#/components/schemas/CaseAttributes'
7182+
required:
7183+
- attributes
7184+
type: object
7185+
CaseUpdateAttributesRequest:
7186+
description: Case update attributes request
7187+
properties:
7188+
data:
7189+
$ref: '#/components/schemas/CaseUpdateAttributes'
7190+
required:
7191+
- data
7192+
type: object
71577193
CaseUpdatePriority:
71587194
description: Case priority status
71597195
properties:
@@ -46558,6 +46594,47 @@ paths:
4655846594
x-menu-order: 6
4655946595
x-undo:
4656046596
type: idempotent
46597+
/api/v2/cases/{case_id}/attributes:
46598+
post:
46599+
description: Update case attributes
46600+
operationId: UpdateAttributes
46601+
parameters:
46602+
- $ref: '#/components/parameters/CaseIDPathParameter'
46603+
requestBody:
46604+
content:
46605+
application/json:
46606+
schema:
46607+
$ref: '#/components/schemas/CaseUpdateAttributesRequest'
46608+
description: Case attributes update payload
46609+
required: true
46610+
responses:
46611+
'200':
46612+
content:
46613+
application/json:
46614+
schema:
46615+
$ref: '#/components/schemas/CaseResponse'
46616+
description: OK
46617+
'400':
46618+
$ref: '#/components/responses/BadRequestResponse'
46619+
'401':
46620+
$ref: '#/components/responses/UnauthorizedResponse'
46621+
'403':
46622+
$ref: '#/components/responses/ForbiddenResponse'
46623+
'404':
46624+
$ref: '#/components/responses/NotFoundResponse'
46625+
'429':
46626+
$ref: '#/components/responses/TooManyRequestsResponse'
46627+
security:
46628+
- apiKeyAuth: []
46629+
appKeyAuth: []
46630+
- AuthZ:
46631+
- cases_write
46632+
summary: Update case attributes
46633+
tags:
46634+
- Case Management
46635+
x-menu-order: 10
46636+
x-undo:
46637+
type: idempotent
4656146638
/api/v2/cases/{case_id}/priority:
4656246639
post:
4656346640
description: Update case priority

0 commit comments

Comments
 (0)