Skip to content

Commit 85c1043

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit c536b702 of spec repo
1 parent 0316fe4 commit 85c1043

File tree

67 files changed

+1571
-621
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1571
-621
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": "2023-11-16 09:44:59.257940",
8-
"spec_repo_commit": "974acd6e"
7+
"regenerated": "2023-11-16 15:25:27.705910",
8+
"spec_repo_commit": "c536b702"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-16 09:44:59.277406",
13-
"spec_repo_commit": "974acd6e"
12+
"regenerated": "2023-11-16 15:25:27.720958",
13+
"spec_repo_commit": "c536b702"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6566,6 +6566,11 @@ components:
65666566
$ref: '#/components/schemas/IncidentAttachmentLinkAttributesAttachmentObject'
65676567
attachment_type:
65686568
$ref: '#/components/schemas/IncidentAttachmentLinkAttachmentType'
6569+
modified:
6570+
description: Timestamp when the incident attachment link was last modified.
6571+
format: date-time
6572+
readOnly: true
6573+
type: string
65696574
required:
65706575
- attachment_type
65716576
- attachment
@@ -6871,9 +6876,22 @@ components:
68716876
- TEXTARRAY
68726877
- METRICTAG
68736878
- AUTOCOMPLETE
6879+
IncidentImpactsType:
6880+
description: The incident impacts type.
6881+
enum:
6882+
- incident_impacts
6883+
example: incident_impacts
6884+
type: string
6885+
x-enum-varnames:
6886+
- INCIDENT_IMPACTS
68746887
IncidentIntegrationMetadataAttributes:
68756888
description: Incident integration metadata's attributes for a create request.
68766889
properties:
6890+
created:
6891+
description: Timestamp when the incident todo was created.
6892+
format: date-time
6893+
readOnly: true
6894+
type: string
68776895
incident_id:
68786896
description: UUID of the incident this integration metadata is connected
68796897
to.
@@ -6890,6 +6908,11 @@ components:
68906908
type: integer
68916909
metadata:
68926910
$ref: '#/components/schemas/IncidentIntegrationMetadataMetadata'
6911+
modified:
6912+
description: Timestamp when the incident todo was last modified.
6913+
format: date-time
6914+
readOnly: true
6915+
type: string
68936916
status:
68946917
description: 'A number indicating the status of this integration metadata.
68956918
0 indicates unknown;
@@ -6989,6 +7012,8 @@ components:
69897012
description: The incident integration metadata's ID.
69907013
example: 00000000-0000-0000-1234-000000000000
69917014
type: string
7015+
relationships:
7016+
$ref: '#/components/schemas/IncidentIntegrationRelationships'
69927017
type:
69937018
$ref: '#/components/schemas/IncidentIntegrationMetadataType'
69947019
required:
@@ -7009,6 +7034,25 @@ components:
70097034
type: string
70107035
x-enum-varnames:
70117036
- INCIDENT_INTEGRATIONS
7037+
IncidentIntegrationRelationships:
7038+
description: The incident's integration relationships from a response.
7039+
properties:
7040+
created_by_user:
7041+
$ref: '#/components/schemas/RelationshipToUser'
7042+
last_modified_by_user:
7043+
$ref: '#/components/schemas/RelationshipToUser'
7044+
type: object
7045+
IncidentNonDatadogCreator:
7046+
description: Incident's non Datadog creator.
7047+
nullable: true
7048+
properties:
7049+
image_48_px:
7050+
description: Non Datadog creator `48px` image.
7051+
type: string
7052+
name:
7053+
description: Non Datadog creator name.
7054+
type: string
7055+
type: object
70127056
IncidentNotificationHandle:
70137057
description: A notification handle that will be notified at incident creation.
70147058
properties:
@@ -7039,6 +7083,14 @@ components:
70397083
x-enum-varnames:
70407084
- USERS
70417085
- ATTACHMENTS
7086+
IncidentRespondersType:
7087+
description: The incident responders type.
7088+
enum:
7089+
- incident_responders
7090+
example: incident_responders
7091+
type: string
7092+
x-enum-varnames:
7093+
- INCIDENT_RESPONDERS
70427094
IncidentResponse:
70437095
description: Response with an incident.
70447096
properties:
@@ -7056,6 +7108,17 @@ components:
70567108
IncidentResponseAttributes:
70577109
description: The incident's attributes from a response.
70587110
properties:
7111+
archived:
7112+
description: Timestamp of when the incident was archived.
7113+
format: date-time
7114+
nullable: true
7115+
readOnly: true
7116+
type: string
7117+
case_id:
7118+
description: The incident case id.
7119+
format: int64
7120+
nullable: true
7121+
type: integer
70597122
created:
70607123
description: Timestamp when the incident was created.
70617124
format: date-time
@@ -7106,6 +7169,8 @@ components:
71067169
format: date-time
71077170
readOnly: true
71087171
type: string
7172+
non_datadog_creator:
7173+
$ref: '#/components/schemas/IncidentNonDatadogCreator'
71097174
notification_handles:
71107175
description: Notification handles that will be notified of the incident
71117176
during update.
@@ -7124,6 +7189,12 @@ components:
71247189
format: date-time
71257190
nullable: true
71267191
type: string
7192+
severity:
7193+
$ref: '#/components/schemas/IncidentSeverity'
7194+
state:
7195+
description: The state incident.
7196+
nullable: true
7197+
type: string
71277198
time_to_detect:
71287199
description: 'The amount of time in seconds to detect the incident.
71297200

@@ -7154,6 +7225,10 @@ components:
71547225
description: The title of the incident, which summarizes what happened.
71557226
example: A test incident title
71567227
type: string
7228+
visibility:
7229+
description: The incident visibility status.
7230+
nullable: true
7231+
type: string
71577232
required:
71587233
- title
71597234
type: object
@@ -7215,10 +7290,16 @@ components:
72157290
$ref: '#/components/schemas/NullableRelationshipToUser'
72167291
created_by_user:
72177292
$ref: '#/components/schemas/RelationshipToUser'
7293+
impacts:
7294+
$ref: '#/components/schemas/RelationshipToIncidentImpacts'
72187295
integrations:
72197296
$ref: '#/components/schemas/RelationshipToIncidentIntegrationMetadatas'
72207297
last_modified_by_user:
72217298
$ref: '#/components/schemas/RelationshipToUser'
7299+
responders:
7300+
$ref: '#/components/schemas/RelationshipToIncidentResponders'
7301+
user_defined_fields:
7302+
$ref: '#/components/schemas/RelationshipToIncidentUserDefinedFields'
72227303
type: object
72237304
IncidentSearchResponse:
72247305
description: Response with incidents and facets.
@@ -7601,6 +7682,24 @@ components:
76017682
required:
76027683
- data
76037684
type: object
7685+
IncidentSeverity:
7686+
description: The incident severity.
7687+
enum:
7688+
- UNKNOWN
7689+
- SEV-1
7690+
- SEV-2
7691+
- SEV-3
7692+
- SEV-4
7693+
- SEV-5
7694+
example: UNKNOWN
7695+
type: string
7696+
x-enum-varnames:
7697+
- UNKNOWN
7698+
- SEV_1
7699+
- SEV_2
7700+
- SEV_3
7701+
- SEV_4
7702+
- SEV_5
76047703
IncidentTeamCreateAttributes:
76057704
description: The incident team's attributes for a create request.
76067705
properties:
@@ -7860,6 +7959,11 @@ components:
78607959
description: The follow-up task's content.
78617960
example: Restore lost data.
78627961
type: string
7962+
created:
7963+
description: Timestamp when the incident todo was created.
7964+
format: date-time
7965+
readOnly: true
7966+
type: string
78637967
due_date:
78647968
description: Timestamp when the todo should be completed by.
78657969
example: '2023-07-10T05:00:00.000000+00:00'
@@ -7869,6 +7973,11 @@ components:
78697973
description: UUID of the incident this todo is connected to.
78707974
example: 00000000-aaaa-0000-0000-000000000000
78717975
type: string
7976+
modified:
7977+
description: Timestamp when the incident todo was last modified.
7978+
format: date-time
7979+
readOnly: true
7980+
type: string
78727981
required:
78737982
- content
78747983
- assignees
@@ -7930,6 +8039,14 @@ components:
79308039
required:
79318040
- data
79328041
type: object
8042+
IncidentTodoRelationships:
8043+
description: The incident's relationships from a response.
8044+
properties:
8045+
created_by_user:
8046+
$ref: '#/components/schemas/RelationshipToUser'
8047+
last_modified_by_user:
8048+
$ref: '#/components/schemas/RelationshipToUser'
8049+
type: object
79338050
IncidentTodoResponse:
79348051
description: Response with an incident todo.
79358052
properties:
@@ -7953,6 +8070,8 @@ components:
79538070
description: The incident todo's ID.
79548071
example: 00000000-0000-0000-1234-000000000000
79558072
type: string
8073+
relationships:
8074+
$ref: '#/components/schemas/IncidentTodoRelationships'
79568075
type:
79578076
$ref: '#/components/schemas/IncidentTodoType'
79588077
required:
@@ -8063,6 +8182,14 @@ components:
80638182
required:
80648183
- data
80658184
type: object
8185+
IncidentUserDefinedFieldType:
8186+
description: The incident user defined fields type.
8187+
enum:
8188+
- user_defined_field
8189+
example: user_defined_field
8190+
type: string
8191+
x-enum-varnames:
8192+
- USER_DEFINED_FIELD
80668193
IncidentsResponse:
80678194
description: Response with a list of incidents.
80688195
properties:
@@ -10755,6 +10882,7 @@ components:
1075510882
type: object
1075610883
NullableRelationshipToUser:
1075710884
description: Relationship to user.
10885+
nullable: true
1075810886
properties:
1075910887
data:
1076010888
$ref: '#/components/schemas/NullableRelationshipToUserData'
@@ -12615,6 +12743,30 @@ components:
1261512743
- id
1261612744
- type
1261712745
type: object
12746+
RelationshipToIncidentImpactData:
12747+
description: Relationship to impact object.
12748+
properties:
12749+
id:
12750+
description: A unique identifier that represents the impact.
12751+
example: 00000000-0000-0000-2345-000000000000
12752+
type: string
12753+
type:
12754+
$ref: '#/components/schemas/IncidentImpactsType'
12755+
required:
12756+
- id
12757+
- type
12758+
type: object
12759+
RelationshipToIncidentImpacts:
12760+
description: Relationship to impacts.
12761+
properties:
12762+
data:
12763+
description: An array of incident impacts.
12764+
items:
12765+
$ref: '#/components/schemas/RelationshipToIncidentImpactData'
12766+
type: array
12767+
required:
12768+
- data
12769+
type: object
1261812770
RelationshipToIncidentIntegrationMetadataData:
1261912771
description: A relationship reference for an integration metadata object.
1262012772
example:
@@ -12681,6 +12833,54 @@ components:
1268112833
- id
1268212834
- type
1268312835
type: object
12836+
RelationshipToIncidentResponderData:
12837+
description: Relationship to impact object.
12838+
properties:
12839+
id:
12840+
description: A unique identifier that represents the responder.
12841+
example: 00000000-0000-0000-2345-000000000000
12842+
type: string
12843+
type:
12844+
$ref: '#/components/schemas/IncidentRespondersType'
12845+
required:
12846+
- id
12847+
- type
12848+
type: object
12849+
RelationshipToIncidentResponders:
12850+
description: Relationship to incident responders.
12851+
properties:
12852+
data:
12853+
description: An array of incident responders.
12854+
items:
12855+
$ref: '#/components/schemas/RelationshipToIncidentResponderData'
12856+
type: array
12857+
required:
12858+
- data
12859+
type: object
12860+
RelationshipToIncidentUserDefinedFieldData:
12861+
description: Relationship to impact object.
12862+
properties:
12863+
id:
12864+
description: A unique identifier that represents the responder.
12865+
example: 00000000-0000-0000-2345-000000000000
12866+
type: string
12867+
type:
12868+
$ref: '#/components/schemas/IncidentUserDefinedFieldType'
12869+
required:
12870+
- id
12871+
- type
12872+
type: object
12873+
RelationshipToIncidentUserDefinedFields:
12874+
description: Relationship to incident user defined fields.
12875+
properties:
12876+
data:
12877+
description: An array of user defined fields.
12878+
items:
12879+
$ref: '#/components/schemas/RelationshipToIncidentUserDefinedFieldData'
12880+
type: array
12881+
required:
12882+
- data
12883+
type: object
1268412884
RelationshipToOrganization:
1268512885
description: Relationship to an organization.
1268612886
properties:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-05-12T09:51:36.632Z"
1+
"2023-11-06T21:59:33.507Z"

0 commit comments

Comments
 (0)