@@ -11083,6 +11083,25 @@ components:
11083
11083
type: string
11084
11084
x-enum-varnames:
11085
11085
- DORA_DEPLOYMENT
11086
+ DORAEvent:
11087
+ description: A DORA event.
11088
+ properties:
11089
+ attributes:
11090
+ description: The attributes of the event.
11091
+ type: object
11092
+ id:
11093
+ description: The ID of the event.
11094
+ type: string
11095
+ type:
11096
+ description: The type of the event.
11097
+ type: string
11098
+ type: object
11099
+ DORAFetchResponse:
11100
+ description: Response for the DORA fetch endpoints.
11101
+ properties:
11102
+ data:
11103
+ $ref: '#/components/schemas/DORAEvent'
11104
+ type: object
11086
11105
DORAGitInfo:
11087
11106
description: Git info for DORA Metrics events.
11088
11107
properties:
@@ -11118,7 +11137,8 @@ components:
11118
11137
git:
11119
11138
$ref: '#/components/schemas/DORAGitInfo'
11120
11139
id:
11121
- description: Incident ID. Required to update a previously sent incident.
11140
+ description: Incident ID. Must have at least 16 characters. Required to
11141
+ update a previously sent incident.
11122
11142
type: string
11123
11143
name:
11124
11144
description: Incident name.
@@ -11193,6 +11213,113 @@ components:
11193
11213
type: string
11194
11214
x-enum-varnames:
11195
11215
- DORA_INCIDENT
11216
+ DORAListDeploymentsRequest:
11217
+ description: Request to get a list of deployments.
11218
+ properties:
11219
+ data:
11220
+ $ref: '#/components/schemas/DORAListDeploymentsRequestData'
11221
+ required:
11222
+ - data
11223
+ type: object
11224
+ DORAListDeploymentsRequestAttributes:
11225
+ description: Attributes to get a list of deployments.
11226
+ properties:
11227
+ from:
11228
+ description: Minimum timestamp for requested events.
11229
+ format: date-time
11230
+ type: string
11231
+ limit:
11232
+ default: 10
11233
+ description: Maximum number of events in the response.
11234
+ format: int32
11235
+ maximum: 1000
11236
+ type: integer
11237
+ query:
11238
+ description: Search query with event platform syntax.
11239
+ type: string
11240
+ sort:
11241
+ description: Sort order (prefixed with `-` for descending).
11242
+ type: string
11243
+ to:
11244
+ description: Maximum timestamp for requested events.
11245
+ format: date-time
11246
+ type: string
11247
+ type: object
11248
+ DORAListDeploymentsRequestData:
11249
+ description: The JSON:API data.
11250
+ properties:
11251
+ attributes:
11252
+ $ref: '#/components/schemas/DORAListDeploymentsRequestAttributes'
11253
+ type:
11254
+ $ref: '#/components/schemas/DORAListDeploymentsRequestDataType'
11255
+ required:
11256
+ - attributes
11257
+ type: object
11258
+ DORAListDeploymentsRequestDataType:
11259
+ description: The definition of `DORAListDeploymentsRequestDataType` object.
11260
+ enum:
11261
+ - dora_deployments_list_request
11262
+ type: string
11263
+ x-enum-varnames:
11264
+ - DORA_DEPLOYMENTS_LIST_REQUEST
11265
+ DORAListFailuresRequest:
11266
+ description: Request to get a list of failures.
11267
+ properties:
11268
+ data:
11269
+ $ref: '#/components/schemas/DORAListFailuresRequestData'
11270
+ required:
11271
+ - data
11272
+ type: object
11273
+ DORAListFailuresRequestAttributes:
11274
+ description: Attributes to get a list of failures.
11275
+ properties:
11276
+ from:
11277
+ description: Minimum timestamp for requested events.
11278
+ format: date-time
11279
+ type: string
11280
+ limit:
11281
+ default: 10
11282
+ description: Maximum number of events in the response.
11283
+ format: int32
11284
+ maximum: 1000
11285
+ type: integer
11286
+ query:
11287
+ description: Search query with event platform syntax.
11288
+ type: string
11289
+ sort:
11290
+ description: Sort order (prefixed with `-` for descending).
11291
+ type: string
11292
+ to:
11293
+ description: Maximum timestamp for requested events.
11294
+ format: date-time
11295
+ type: string
11296
+ type: object
11297
+ DORAListFailuresRequestData:
11298
+ description: The JSON:API data.
11299
+ properties:
11300
+ attributes:
11301
+ $ref: '#/components/schemas/DORAListFailuresRequestAttributes'
11302
+ type:
11303
+ $ref: '#/components/schemas/DORAListFailuresRequestDataType'
11304
+ required:
11305
+ - attributes
11306
+ type: object
11307
+ DORAListFailuresRequestDataType:
11308
+ description: The definition of `DORAListFailuresRequestDataType` object.
11309
+ enum:
11310
+ - dora_failures_list_request
11311
+ type: string
11312
+ x-enum-varnames:
11313
+ - DORA_FAILURES_LIST_REQUEST
11314
+ DORAListResponse:
11315
+ description: Response for the DORA list endpoints.
11316
+ properties:
11317
+ data:
11318
+ description: The list of DORA events.
11319
+ items:
11320
+ $ref: '#/components/schemas/DORAEvent'
11321
+ type: array
11322
+ type: object
11196
11323
DashboardListAddItemsRequest:
11197
11324
description: Request containing a list of dashboards to add.
11198
11325
properties:
@@ -45654,10 +45781,163 @@ paths:
45654
45781
x-unstable: '**Note**: This endpoint is in public beta.
45655
45782
45656
45783
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
45784
+ /api/v2/dora/deployments:
45785
+ post:
45786
+ description: Use this API endpoint to get a list of deployment events.
45787
+ operationId: ListDORADeployments
45788
+ requestBody:
45789
+ content:
45790
+ application/json:
45791
+ schema:
45792
+ $ref: '#/components/schemas/DORAListDeploymentsRequest'
45793
+ required: true
45794
+ responses:
45795
+ '200':
45796
+ content:
45797
+ application/json:
45798
+ schema:
45799
+ $ref: '#/components/schemas/DORAListResponse'
45800
+ description: OK
45801
+ '400':
45802
+ content:
45803
+ application/json:
45804
+ schema:
45805
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
45806
+ description: Bad Request
45807
+ '403':
45808
+ $ref: '#/components/responses/NotAuthorizedResponse'
45809
+ '429':
45810
+ $ref: '#/components/responses/TooManyRequestsResponse'
45811
+ security:
45812
+ - apiKeyAuth: []
45813
+ appKeyAuth: []
45814
+ summary: Get a list of deployment events
45815
+ tags:
45816
+ - DORA Metrics
45817
+ x-codegen-request-body-name: body
45818
+ x-permission:
45819
+ operator: OR
45820
+ permissions:
45821
+ - dora_metrics_read
45822
+ /api/v2/dora/deployments/{deployment_id}:
45823
+ get:
45824
+ description: Use this API endpoint to get a deployment event.
45825
+ operationId: GetDORADeployment
45826
+ parameters:
45827
+ - description: The ID of the deployment event.
45828
+ in: path
45829
+ name: deployment_id
45830
+ required: true
45831
+ schema:
45832
+ type: string
45833
+ responses:
45834
+ '200':
45835
+ content:
45836
+ application/json:
45837
+ schema:
45838
+ $ref: '#/components/schemas/DORAFetchResponse'
45839
+ description: OK
45840
+ '400':
45841
+ content:
45842
+ application/json:
45843
+ schema:
45844
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
45845
+ description: Bad Request
45846
+ '403':
45847
+ $ref: '#/components/responses/NotAuthorizedResponse'
45848
+ '429':
45849
+ $ref: '#/components/responses/TooManyRequestsResponse'
45850
+ security:
45851
+ - apiKeyAuth: []
45852
+ - appKeyAuth: []
45853
+ summary: Get a deployment event
45854
+ tags:
45855
+ - DORA Metrics
45856
+ x-codegen-request-body-name: body
45857
+ x-permission:
45858
+ operator: OR
45859
+ permissions:
45860
+ - dora_metrics_read
45861
+ /api/v2/dora/failures:
45862
+ post:
45863
+ description: Use this API endpoint to get a list of failure events.
45864
+ operationId: ListDORAFailures
45865
+ requestBody:
45866
+ content:
45867
+ application/json:
45868
+ schema:
45869
+ $ref: '#/components/schemas/DORAListFailuresRequest'
45870
+ required: true
45871
+ responses:
45872
+ '200':
45873
+ content:
45874
+ application/json:
45875
+ schema:
45876
+ $ref: '#/components/schemas/DORAListResponse'
45877
+ description: OK
45878
+ '400':
45879
+ content:
45880
+ application/json:
45881
+ schema:
45882
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
45883
+ description: Bad Request
45884
+ '403':
45885
+ $ref: '#/components/responses/NotAuthorizedResponse'
45886
+ '429':
45887
+ $ref: '#/components/responses/TooManyRequestsResponse'
45888
+ security:
45889
+ - apiKeyAuth: []
45890
+ appKeyAuth: []
45891
+ summary: Get a list of failure events
45892
+ tags:
45893
+ - DORA Metrics
45894
+ x-codegen-request-body-name: body
45895
+ x-permission:
45896
+ operator: OR
45897
+ permissions:
45898
+ - dora_metrics_read
45899
+ /api/v2/dora/failures/{failure_id}:
45900
+ get:
45901
+ description: Use this API endpoint to get a failure event.
45902
+ operationId: GetDORAFailure
45903
+ parameters:
45904
+ - description: The ID of the failure event.
45905
+ in: path
45906
+ name: failure_id
45907
+ required: true
45908
+ schema:
45909
+ type: string
45910
+ responses:
45911
+ '200':
45912
+ content:
45913
+ application/json:
45914
+ schema:
45915
+ $ref: '#/components/schemas/DORAFetchResponse'
45916
+ description: OK
45917
+ '400':
45918
+ content:
45919
+ application/json:
45920
+ schema:
45921
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
45922
+ description: Bad Request
45923
+ '403':
45924
+ $ref: '#/components/responses/NotAuthorizedResponse'
45925
+ '429':
45926
+ $ref: '#/components/responses/TooManyRequestsResponse'
45927
+ security:
45928
+ - apiKeyAuth: []
45929
+ - appKeyAuth: []
45930
+ summary: Get a failure event
45931
+ tags:
45932
+ - DORA Metrics
45933
+ x-codegen-request-body-name: body
45934
+ x-permission:
45935
+ operator: OR
45936
+ permissions:
45937
+ - dora_metrics_read
45657
45938
/api/v2/dora/incident:
45658
45939
post:
45659
- description: 'Use this API endpoint to provide data about incidents for DORA
45660
- metrics.
45940
+ description: 'Use this API endpoint to provide failure data for DORA metrics.
45661
45941
45662
45942
45663
45943
This is necessary for:
@@ -62027,9 +62307,12 @@ tags:
62027
62307
See the [Container Monitoring page](https://docs.datadoghq.com/containers/) for
62028
62308
more information.
62029
62309
name: Containers
62030
- - description: Send events for DORA Metrics to measure and improve software delivery.
62031
- See the [DORA Metrics page](https://docs.datadoghq.com/dora_metrics/) for more
62032
- information.
62310
+ - description: 'Search or send events for DORA Metrics to measure and improve your
62311
+ software delivery performance. See the [DORA Metrics page](https://docs.datadoghq.com/dora_metrics/)
62312
+ for more information.
62313
+
62314
+
62315
+ **Note**: DORA Metrics are not available in the US1-FED site.'
62033
62316
name: DORA Metrics
62034
62317
- description: 'Interact with your dashboard lists through the API to
62035
62318
0 commit comments