@@ -4282,6 +4282,178 @@ components:
4282
4282
nullable: true
4283
4283
type: string
4284
4284
type: object
4285
+ DORADeploymentRequest:
4286
+ description: Request to create a DORA deployment event.
4287
+ properties:
4288
+ data:
4289
+ $ref: '#/components/schemas/DORADeploymentRequestData'
4290
+ required:
4291
+ - data
4292
+ type: object
4293
+ DORADeploymentRequestAttributes:
4294
+ description: Attributes to create a DORA deployment event.
4295
+ properties:
4296
+ finished_at:
4297
+ description: Unix timestamp in nanoseconds when the deployment finished.
4298
+ It should not be older than 3 hours.
4299
+ example: 1693491984000000000
4300
+ format: int64
4301
+ type: integer
4302
+ git:
4303
+ $ref: '#/components/schemas/DORAGitInfo'
4304
+ id:
4305
+ description: Deployment ID.
4306
+ type: string
4307
+ service:
4308
+ description: Service name from a service available in the Service Catalog.
4309
+ example: shopist
4310
+ type: string
4311
+ started_at:
4312
+ description: Unix timestamp in nanoseconds when the deployment started.
4313
+ example: 1693491974000000000
4314
+ format: int64
4315
+ type: integer
4316
+ version:
4317
+ description: Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
4318
+ example: v1.12.07
4319
+ type: string
4320
+ required:
4321
+ - service
4322
+ - started_at
4323
+ - finished_at
4324
+ type: object
4325
+ DORADeploymentRequestData:
4326
+ description: The JSON:API data.
4327
+ properties:
4328
+ attributes:
4329
+ $ref: '#/components/schemas/DORADeploymentRequestAttributes'
4330
+ required:
4331
+ - attributes
4332
+ type: object
4333
+ DORADeploymentResponse:
4334
+ description: Response after receiving a DORA deployment event.
4335
+ properties:
4336
+ data:
4337
+ $ref: '#/components/schemas/DORADeploymentResponseData'
4338
+ required:
4339
+ - data
4340
+ type: object
4341
+ DORADeploymentResponseData:
4342
+ description: The JSON:API data.
4343
+ properties:
4344
+ id:
4345
+ description: The ID of the received DORA deployment event.
4346
+ example: 4242fcdd31586083
4347
+ type: string
4348
+ type:
4349
+ $ref: '#/components/schemas/DORADeploymentType'
4350
+ required:
4351
+ - id
4352
+ type: object
4353
+ DORADeploymentType:
4354
+ default: dora_deployment
4355
+ description: JSON:API type for DORA deployment events.
4356
+ enum:
4357
+ - dora_deployment
4358
+ example: dora_deployment
4359
+ type: string
4360
+ x-enum-varnames:
4361
+ - DORA_DEPLOYMENT
4362
+ DORAGitInfo:
4363
+ description: Git info for DORA Metrics events.
4364
+ properties:
4365
+ commit_sha:
4366
+ $ref: '#/components/schemas/GitCommitSHA'
4367
+ repository_url:
4368
+ $ref: '#/components/schemas/GitRepositoryURL'
4369
+ required:
4370
+ - repository_url
4371
+ - commit_sha
4372
+ type: object
4373
+ DORAIncidentRequest:
4374
+ description: Request to create a DORA incident event.
4375
+ properties:
4376
+ data:
4377
+ $ref: '#/components/schemas/DORAIncidentRequestData'
4378
+ required:
4379
+ - data
4380
+ type: object
4381
+ DORAIncidentRequestAttributes:
4382
+ description: Attributes to create a DORA incident event.
4383
+ properties:
4384
+ finished_at:
4385
+ description: Unix timestamp in nanoseconds when the deployment finished.
4386
+ It should not be older than 3 hours.
4387
+ example: 1693491984000000000
4388
+ format: int64
4389
+ type: integer
4390
+ git:
4391
+ $ref: '#/components/schemas/DORAGitInfo'
4392
+ id:
4393
+ description: Incident ID
4394
+ type: string
4395
+ name:
4396
+ description: Incident name.
4397
+ example: Webserver is down failing all requests
4398
+ type: string
4399
+ service:
4400
+ description: Service name from a service available in the Service Catalog.
4401
+ example: shopist
4402
+ type: string
4403
+ severity:
4404
+ description: Incident severity.
4405
+ example: High
4406
+ type: string
4407
+ started_at:
4408
+ description: Unix timestamp in nanoseconds when the deployment started.
4409
+ example: 1693491974000000000
4410
+ format: int64
4411
+ type: integer
4412
+ version:
4413
+ description: Version to correlate with [APM Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/).
4414
+ example: v1.12.07
4415
+ type: string
4416
+ required:
4417
+ - service
4418
+ - started_at
4419
+ type: object
4420
+ DORAIncidentRequestData:
4421
+ description: The JSON:API data.
4422
+ properties:
4423
+ attributes:
4424
+ $ref: '#/components/schemas/DORAIncidentRequestAttributes'
4425
+ required:
4426
+ - attributes
4427
+ type: object
4428
+ DORAIncidentResponse:
4429
+ description: Response after receiving a DORA incident event.
4430
+ properties:
4431
+ data:
4432
+ $ref: '#/components/schemas/DORAIncidentResponseData'
4433
+ required:
4434
+ - data
4435
+ type: object
4436
+ DORAIncidentResponseData:
4437
+ description: Response after receiving a DORA incident event.
4438
+ properties:
4439
+ id:
4440
+ description: The ID of the received DORA incident event.
4441
+ example: 4242fcdd31586083
4442
+ type: string
4443
+ type:
4444
+ $ref: '#/components/schemas/DORAIncidentType'
4445
+ required:
4446
+ - id
4447
+ type: object
4448
+ DORAIncidentType:
4449
+ default: dora_incident
4450
+ description: JSON:API type for DORA incident events.
4451
+ enum:
4452
+ - dora_incident
4453
+ example: dora_incident
4454
+ type: string
4455
+ x-enum-varnames:
4456
+ - DORA_INCIDENT
4285
4457
DashboardListAddItemsRequest:
4286
4458
description: Request containing a list of dashboards to add.
4287
4459
properties:
@@ -6271,6 +6443,15 @@ components:
6271
6443
- _HANDLE
6272
6444
- EMAIL
6273
6445
- _EMAIL
6446
+ GitCommitSHA:
6447
+ description: Git Commit SHA.
6448
+ example: 66adc9350f2cc9b250b69abddab733dd55e1a588
6449
+ pattern: ^[a-fA-F0-9]{40,}$
6450
+ type: string
6451
+ GitRepositoryURL:
6452
+ description: Git Repository URL
6453
+ example: https://github.com/organization/example-repository
6454
+ type: string
6274
6455
GroupScalarColumn:
6275
6456
description: A column containing the tag keys and values in a group.
6276
6457
properties:
@@ -21525,6 +21706,110 @@ paths:
21525
21706
tags:
21526
21707
- Dashboard Lists
21527
21708
x-codegen-request-body-name: body
21709
+ /api/v2/dora/deployment:
21710
+ post:
21711
+ description: 'Use this API endpoint to provide data about deployments for DORA
21712
+ metrics.
21713
+
21714
+
21715
+ This is necessary for:
21716
+
21717
+ - Deployment Frequency
21718
+
21719
+ - Change Lead Time
21720
+
21721
+ - Change Failure Rate'
21722
+ operationId: CreateDORADeployment
21723
+ requestBody:
21724
+ content:
21725
+ application/json:
21726
+ schema:
21727
+ $ref: '#/components/schemas/DORADeploymentRequest'
21728
+ required: true
21729
+ responses:
21730
+ '200':
21731
+ content:
21732
+ application/json:
21733
+ schema:
21734
+ $ref: '#/components/schemas/DORADeploymentResponse'
21735
+ description: OK
21736
+ '202':
21737
+ content:
21738
+ application/json:
21739
+ schema:
21740
+ $ref: '#/components/schemas/DORADeploymentResponse'
21741
+ description: OK - but delayed due to incident
21742
+ '400':
21743
+ content:
21744
+ application/json:
21745
+ schema:
21746
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21747
+ description: Bad Request
21748
+ '403':
21749
+ $ref: '#/components/responses/NotAuthorizedResponse'
21750
+ '429':
21751
+ $ref: '#/components/responses/TooManyRequestsResponse'
21752
+ security:
21753
+ - apiKeyAuth: []
21754
+ summary: Send a deployment event for DORA Metrics
21755
+ tags:
21756
+ - DORA Metrics
21757
+ x-codegen-request-body-name: body
21758
+ x-unstable: '**Note**: This endpoint is in private beta for CI Pipeline Visibility
21759
+ customers.
21760
+
21761
+ If you want to request access, complete the [form](https://forms.gle/Eqq6uXfGjYxmqpjDA).'
21762
+ /api/v2/dora/incident:
21763
+ post:
21764
+ description: 'Use this API endpoint to provide data about incidents for DORA
21765
+ metrics.
21766
+
21767
+
21768
+ This is necessary for:
21769
+
21770
+ - Change Failure Rate
21771
+
21772
+ - Time to Restore'
21773
+ operationId: CreateDORAIncident
21774
+ requestBody:
21775
+ content:
21776
+ application/json:
21777
+ schema:
21778
+ $ref: '#/components/schemas/DORAIncidentRequest'
21779
+ required: true
21780
+ responses:
21781
+ '200':
21782
+ content:
21783
+ application/json:
21784
+ schema:
21785
+ $ref: '#/components/schemas/DORAIncidentResponse'
21786
+ description: OK
21787
+ '202':
21788
+ content:
21789
+ application/json:
21790
+ schema:
21791
+ $ref: '#/components/schemas/DORAIncidentResponse'
21792
+ description: OK - but delayed due to incident
21793
+ '400':
21794
+ content:
21795
+ application/json:
21796
+ schema:
21797
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21798
+ description: Bad Request
21799
+ '403':
21800
+ $ref: '#/components/responses/NotAuthorizedResponse'
21801
+ '429':
21802
+ $ref: '#/components/responses/TooManyRequestsResponse'
21803
+ security:
21804
+ - apiKeyAuth: []
21805
+ summary: Send an incident event for DORA Metrics
21806
+ tags:
21807
+ - DORA Metrics
21808
+ x-codegen-request-body-name: body
21809
+ x-unstable: '**Note**: This endpoint is in private beta for CI Pipeline Visibility
21810
+ customers.
21811
+
21812
+ If you want to request access, complete the [form](https://forms.gle/Eqq6uXfGjYxmqpjDA).'
21528
21813
/api/v2/downtime:
21529
21814
get:
21530
21815
description: Get all scheduled downtimes.
@@ -31087,6 +31372,8 @@ tags:
31087
31372
name: Container Images
31088
31373
- description: The Containers API allows you to query container data for your organization.
31089
31374
name: Containers
31375
+ - description: Send events for DORA Metrics to measure and improve software delivery.
31376
+ name: DORA Metrics
31090
31377
- description: 'Interact with your dashboard lists through the API to
31091
31378
31092
31379
organize, find, and share all of your dashboards with your team and
0 commit comments