Skip to content

Commit c1ad40d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 65a29738 of spec repo
1 parent 43a5798 commit c1ad40d

31 files changed

+2041
-15
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-05-23 16:55:08.805844",
8-
"spec_repo_commit": "6a0ddfd8"
7+
"regenerated": "2025-05-26 10:57:14.505677",
8+
"spec_repo_commit": "65a29738"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-23 16:55:08.821917",
13-
"spec_repo_commit": "6a0ddfd8"
12+
"regenerated": "2025-05-26 10:57:14.523443",
13+
"spec_repo_commit": "65a29738"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 289 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11084,6 +11084,25 @@ components:
1108411084
type: string
1108511085
x-enum-varnames:
1108611086
- DORA_DEPLOYMENT
11087+
DORAEvent:
11088+
description: A DORA event.
11089+
properties:
11090+
attributes:
11091+
description: The attributes of the event.
11092+
type: object
11093+
id:
11094+
description: The ID of the event.
11095+
type: string
11096+
type:
11097+
description: The type of the event.
11098+
type: string
11099+
type: object
11100+
DORAFetchResponse:
11101+
description: Response for the DORA fetch endpoints.
11102+
properties:
11103+
data:
11104+
$ref: '#/components/schemas/DORAEvent'
11105+
type: object
1108711106
DORAGitInfo:
1108811107
description: Git info for DORA Metrics events.
1108911108
properties:
@@ -11119,7 +11138,8 @@ components:
1111911138
git:
1112011139
$ref: '#/components/schemas/DORAGitInfo'
1112111140
id:
11122-
description: Incident ID. Required to update a previously sent incident.
11141+
description: Incident ID. Must have at least 16 characters. Required to
11142+
update a previously sent incident.
1112311143
type: string
1112411144
name:
1112511145
description: Incident name.
@@ -11194,6 +11214,113 @@ components:
1119411214
type: string
1119511215
x-enum-varnames:
1119611216
- DORA_INCIDENT
11217+
DORAListDeploymentsRequest:
11218+
description: Request to get a list of deployments.
11219+
properties:
11220+
data:
11221+
$ref: '#/components/schemas/DORAListDeploymentsRequestData'
11222+
required:
11223+
- data
11224+
type: object
11225+
DORAListDeploymentsRequestAttributes:
11226+
description: Attributes to get a list of deployments.
11227+
properties:
11228+
from:
11229+
description: Minimum timestamp for requested events.
11230+
format: date-time
11231+
type: string
11232+
limit:
11233+
default: 10
11234+
description: Maximum number of events in the response.
11235+
format: int32
11236+
maximum: 1000
11237+
type: integer
11238+
query:
11239+
description: Search query with event platform syntax.
11240+
type: string
11241+
sort:
11242+
description: Sort order (prefixed with `-` for descending).
11243+
type: string
11244+
to:
11245+
description: Maximum timestamp for requested events.
11246+
format: date-time
11247+
type: string
11248+
type: object
11249+
DORAListDeploymentsRequestData:
11250+
description: The JSON:API data.
11251+
properties:
11252+
attributes:
11253+
$ref: '#/components/schemas/DORAListDeploymentsRequestAttributes'
11254+
type:
11255+
$ref: '#/components/schemas/DORAListDeploymentsRequestDataType'
11256+
required:
11257+
- attributes
11258+
type: object
11259+
DORAListDeploymentsRequestDataType:
11260+
description: The definition of `DORAListDeploymentsRequestDataType` object.
11261+
enum:
11262+
- dora_deployments_list_request
11263+
type: string
11264+
x-enum-varnames:
11265+
- DORA_DEPLOYMENTS_LIST_REQUEST
11266+
DORAListFailuresRequest:
11267+
description: Request to get a list of failures.
11268+
properties:
11269+
data:
11270+
$ref: '#/components/schemas/DORAListFailuresRequestData'
11271+
required:
11272+
- data
11273+
type: object
11274+
DORAListFailuresRequestAttributes:
11275+
description: Attributes to get a list of failures.
11276+
properties:
11277+
from:
11278+
description: Minimum timestamp for requested events.
11279+
format: date-time
11280+
type: string
11281+
limit:
11282+
default: 10
11283+
description: Maximum number of events in the response.
11284+
format: int32
11285+
maximum: 1000
11286+
type: integer
11287+
query:
11288+
description: Search query with event platform syntax.
11289+
type: string
11290+
sort:
11291+
description: Sort order (prefixed with `-` for descending).
11292+
type: string
11293+
to:
11294+
description: Maximum timestamp for requested events.
11295+
format: date-time
11296+
type: string
11297+
type: object
11298+
DORAListFailuresRequestData:
11299+
description: The JSON:API data.
11300+
properties:
11301+
attributes:
11302+
$ref: '#/components/schemas/DORAListFailuresRequestAttributes'
11303+
type:
11304+
$ref: '#/components/schemas/DORAListFailuresRequestDataType'
11305+
required:
11306+
- attributes
11307+
type: object
11308+
DORAListFailuresRequestDataType:
11309+
description: The definition of `DORAListFailuresRequestDataType` object.
11310+
enum:
11311+
- dora_failures_list_request
11312+
type: string
11313+
x-enum-varnames:
11314+
- DORA_FAILURES_LIST_REQUEST
11315+
DORAListResponse:
11316+
description: Response for the DORA list endpoints.
11317+
properties:
11318+
data:
11319+
description: The list of DORA events.
11320+
items:
11321+
$ref: '#/components/schemas/DORAEvent'
11322+
type: array
11323+
type: object
1119711324
DashboardListAddItemsRequest:
1119811325
description: Request containing a list of dashboards to add.
1119911326
properties:
@@ -45717,10 +45844,163 @@ paths:
4571745844
x-unstable: '**Note**: This endpoint is in public beta.
4571845845

4571945846
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
45847+
/api/v2/dora/deployments:
45848+
post:
45849+
description: Use this API endpoint to get a list of deployment events.
45850+
operationId: ListDORADeployments
45851+
requestBody:
45852+
content:
45853+
application/json:
45854+
schema:
45855+
$ref: '#/components/schemas/DORAListDeploymentsRequest'
45856+
required: true
45857+
responses:
45858+
'200':
45859+
content:
45860+
application/json:
45861+
schema:
45862+
$ref: '#/components/schemas/DORAListResponse'
45863+
description: OK
45864+
'400':
45865+
content:
45866+
application/json:
45867+
schema:
45868+
$ref: '#/components/schemas/JSONAPIErrorResponse'
45869+
description: Bad Request
45870+
'403':
45871+
$ref: '#/components/responses/NotAuthorizedResponse'
45872+
'429':
45873+
$ref: '#/components/responses/TooManyRequestsResponse'
45874+
security:
45875+
- apiKeyAuth: []
45876+
appKeyAuth: []
45877+
summary: Get a list of deployment events
45878+
tags:
45879+
- DORA Metrics
45880+
x-codegen-request-body-name: body
45881+
x-permission:
45882+
operator: OR
45883+
permissions:
45884+
- dora_metrics_read
45885+
/api/v2/dora/deployments/{deployment_id}:
45886+
get:
45887+
description: Use this API endpoint to get a deployment event.
45888+
operationId: GetDORADeployment
45889+
parameters:
45890+
- description: The ID of the deployment event.
45891+
in: path
45892+
name: deployment_id
45893+
required: true
45894+
schema:
45895+
type: string
45896+
responses:
45897+
'200':
45898+
content:
45899+
application/json:
45900+
schema:
45901+
$ref: '#/components/schemas/DORAFetchResponse'
45902+
description: OK
45903+
'400':
45904+
content:
45905+
application/json:
45906+
schema:
45907+
$ref: '#/components/schemas/JSONAPIErrorResponse'
45908+
description: Bad Request
45909+
'403':
45910+
$ref: '#/components/responses/NotAuthorizedResponse'
45911+
'429':
45912+
$ref: '#/components/responses/TooManyRequestsResponse'
45913+
security:
45914+
- apiKeyAuth: []
45915+
- appKeyAuth: []
45916+
summary: Get a deployment event
45917+
tags:
45918+
- DORA Metrics
45919+
x-codegen-request-body-name: body
45920+
x-permission:
45921+
operator: OR
45922+
permissions:
45923+
- dora_metrics_read
45924+
/api/v2/dora/failures:
45925+
post:
45926+
description: Use this API endpoint to get a list of failure events.
45927+
operationId: ListDORAFailures
45928+
requestBody:
45929+
content:
45930+
application/json:
45931+
schema:
45932+
$ref: '#/components/schemas/DORAListFailuresRequest'
45933+
required: true
45934+
responses:
45935+
'200':
45936+
content:
45937+
application/json:
45938+
schema:
45939+
$ref: '#/components/schemas/DORAListResponse'
45940+
description: OK
45941+
'400':
45942+
content:
45943+
application/json:
45944+
schema:
45945+
$ref: '#/components/schemas/JSONAPIErrorResponse'
45946+
description: Bad Request
45947+
'403':
45948+
$ref: '#/components/responses/NotAuthorizedResponse'
45949+
'429':
45950+
$ref: '#/components/responses/TooManyRequestsResponse'
45951+
security:
45952+
- apiKeyAuth: []
45953+
appKeyAuth: []
45954+
summary: Get a list of failure events
45955+
tags:
45956+
- DORA Metrics
45957+
x-codegen-request-body-name: body
45958+
x-permission:
45959+
operator: OR
45960+
permissions:
45961+
- dora_metrics_read
45962+
/api/v2/dora/failures/{failure_id}:
45963+
get:
45964+
description: Use this API endpoint to get a failure event.
45965+
operationId: GetDORAFailure
45966+
parameters:
45967+
- description: The ID of the failure event.
45968+
in: path
45969+
name: failure_id
45970+
required: true
45971+
schema:
45972+
type: string
45973+
responses:
45974+
'200':
45975+
content:
45976+
application/json:
45977+
schema:
45978+
$ref: '#/components/schemas/DORAFetchResponse'
45979+
description: OK
45980+
'400':
45981+
content:
45982+
application/json:
45983+
schema:
45984+
$ref: '#/components/schemas/JSONAPIErrorResponse'
45985+
description: Bad Request
45986+
'403':
45987+
$ref: '#/components/responses/NotAuthorizedResponse'
45988+
'429':
45989+
$ref: '#/components/responses/TooManyRequestsResponse'
45990+
security:
45991+
- apiKeyAuth: []
45992+
- appKeyAuth: []
45993+
summary: Get a failure event
45994+
tags:
45995+
- DORA Metrics
45996+
x-codegen-request-body-name: body
45997+
x-permission:
45998+
operator: OR
45999+
permissions:
46000+
- dora_metrics_read
4572046001
/api/v2/dora/incident:
4572146002
post:
45722-
description: 'Use this API endpoint to provide data about incidents for DORA
45723-
metrics.
46003+
description: 'Use this API endpoint to provide failure data for DORA metrics.
4572446004

4572546005

4572646006
This is necessary for:
@@ -62090,9 +62370,12 @@ tags:
6209062370
See the [Container Monitoring page](https://docs.datadoghq.com/containers/) for
6209162371
more information.
6209262372
name: Containers
62093-
- description: Send events for DORA Metrics to measure and improve software delivery.
62094-
See the [DORA Metrics page](https://docs.datadoghq.com/dora_metrics/) for more
62095-
information.
62373+
- description: 'Search or send events for DORA Metrics to measure and improve your
62374+
software delivery performance. See the [DORA Metrics page](https://docs.datadoghq.com/dora_metrics/)
62375+
for more information.
62376+
62377+
62378+
**Note**: DORA Metrics are not available in the US1-FED site.'
6209662379
name: DORA Metrics
6209762380
- description: 'Interact with your dashboard lists through the API to
6209862381

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-05-22T10:44:58.608Z

cassettes/features/v2/dora_metrics/Get-a-list-of-deployment-events-returns-Bad-Request-response.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-05-22T10:44:58.897Z

0 commit comments

Comments
 (0)