Skip to content

Commit a44c735

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SDCD-1826] Update DORA endpoints description and name (#954)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 28db8eb commit a44c735

12 files changed

+27
-30
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13717,8 +13717,7 @@ components:
1371713717
type: string
1371813718
finished_at:
1371913719
description: Unix timestamp when the deployment finished. It must be in
13720-
nanoseconds, milliseconds, or seconds, and it should not be older than
13721-
1 hour.
13720+
nanoseconds, milliseconds, or seconds.
1372213721
example: 1693491984000000000
1372313722
format: int64
1372413723
type: integer
@@ -57663,8 +57662,7 @@ paths:
5766357662
- manage_log_reports
5766457663
/api/v2/dora/deployment:
5766557664
post:
57666-
description: 'Use this API endpoint to provide data about deployments for DORA
57667-
metrics.
57665+
description: 'Use this API endpoint to provide deployment data.
5766857666

5766957667

5767057668
This is necessary for:
@@ -57706,7 +57704,7 @@ paths:
5770657704
$ref: '#/components/responses/TooManyRequestsResponse'
5770757705
security:
5770857706
- apiKeyAuth: []
57709-
summary: Send a deployment event for DORA Metrics
57707+
summary: Send a deployment event
5771057708
tags:
5771157709
- DORA Metrics
5771257710
x-codegen-request-body-name: body
@@ -57823,7 +57821,7 @@ paths:
5782357821
- dora_metrics_read
5782457822
/api/v2/dora/failure:
5782557823
post:
57826-
description: 'Use this API endpoint to provide failure data for DORA metrics.
57824+
description: 'Use this API endpoint to provide failure data.
5782757825

5782857826

5782957827
This is necessary for:
@@ -57863,7 +57861,7 @@ paths:
5786357861
$ref: '#/components/responses/TooManyRequestsResponse'
5786457862
security:
5786557863
- apiKeyAuth: []
57866-
summary: Send a failure event for DORA Metrics
57864+
summary: Send a failure event
5786757865
tags:
5786857866
- DORA Metrics
5786957867
x-codegen-request-body-name: body
@@ -57985,7 +57983,7 @@ paths:
5798557983
instead.
5798657984

5798757985

57988-
Use this API endpoint to provide failure data for DORA metrics.
57986+
Use this API endpoint to provide failure data.
5798957987

5799057988

5799157989
This is necessary for:
@@ -58025,7 +58023,7 @@ paths:
5802558023
$ref: '#/components/responses/TooManyRequestsResponse'
5802658024
security:
5802758025
- apiKeyAuth: []
58028-
summary: Send an incident event for DORA Metrics
58026+
summary: Send an incident event
5802958027
tags:
5803058028
- DORA Metrics
5803158029
x-codegen-request-body-name: body

examples/v2_dora-metrics_CreateDORADeployment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Send a deployment event for DORA Metrics returns "OK" response
1+
// Send a deployment event returns "OK" response
22
use datadog_api_client::datadog;
33
use datadog_api_client::datadogV2::api_dora_metrics::DORAMetricsAPI;
44
use datadog_api_client::datadogV2::model::DORADeploymentRequest;

examples/v2_dora-metrics_CreateDORAFailure.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Send a failure event for DORA Metrics returns "OK - but delayed due to
2-
// incident" response
1+
// Send a failure event returns "OK - but delayed due to incident" response
32
use datadog_api_client::datadog;
43
use datadog_api_client::datadogV2::api_dora_metrics::DORAMetricsAPI;
54
use datadog_api_client::datadogV2::model::DORAFailureRequest;

examples/v2_dora-metrics_CreateDORAIncident.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Send an incident event for DORA Metrics returns "OK" response
1+
// Send an incident event returns "OK" response
22
use datadog_api_client::datadog;
33
use datadog_api_client::datadogV2::api_dora_metrics::DORAMetricsAPI;
44
use datadog_api_client::datadogV2::model::DORAFailureRequest;

examples/v2_dora-metrics_CreateDORAIncident_1768887482.rs renamed to examples/v2_dora-metrics_CreateDORAIncident_1101664022.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Send a failure event for DORA Metrics returns "OK" response
1+
// Send a failure event returns "OK" response
22
use datadog_api_client::datadog;
33
use datadog_api_client::datadogV2::api_dora_metrics::DORAMetricsAPI;
44
use datadog_api_client::datadogV2::model::DORAFailureRequest;

src/datadogV2/api/api_dora_metrics.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ impl DORAMetricsAPI {
158158
Self { config, client }
159159
}
160160

161-
/// Use this API endpoint to provide data about deployments for DORA metrics.
161+
/// Use this API endpoint to provide deployment data.
162162
///
163163
/// This is necessary for:
164164
/// - Deployment Frequency
@@ -185,7 +185,7 @@ impl DORAMetricsAPI {
185185
}
186186
}
187187

188-
/// Use this API endpoint to provide data about deployments for DORA metrics.
188+
/// Use this API endpoint to provide deployment data.
189189
///
190190
/// This is necessary for:
191191
/// - Deployment Frequency
@@ -315,7 +315,7 @@ impl DORAMetricsAPI {
315315
}
316316
}
317317

318-
/// Use this API endpoint to provide failure data for DORA metrics.
318+
/// Use this API endpoint to provide failure data.
319319
///
320320
/// This is necessary for:
321321
/// - Change Failure Rate
@@ -339,7 +339,7 @@ impl DORAMetricsAPI {
339339
}
340340
}
341341

342-
/// Use this API endpoint to provide failure data for DORA metrics.
342+
/// Use this API endpoint to provide failure data.
343343
///
344344
/// This is necessary for:
345345
/// - Change Failure Rate
@@ -470,7 +470,7 @@ impl DORAMetricsAPI {
470470

471471
/// **Note**: This endpoint is deprecated. Please use `/api/v2/dora/failure` instead.
472472
///
473-
/// Use this API endpoint to provide failure data for DORA metrics.
473+
/// Use this API endpoint to provide failure data.
474474
///
475475
/// This is necessary for:
476476
/// - Change Failure Rate
@@ -496,7 +496,7 @@ impl DORAMetricsAPI {
496496

497497
/// **Note**: This endpoint is deprecated. Please use `/api/v2/dora/failure` instead.
498498
///
499-
/// Use this API endpoint to provide failure data for DORA metrics.
499+
/// Use this API endpoint to provide failure data.
500500
///
501501
/// This is necessary for:
502502
/// - Change Failure Rate

src/datadogV2/model/model_dora_deployment_request_attributes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub struct DORADeploymentRequestAttributes {
2121
/// Environment name to where the service was deployed.
2222
#[serde(rename = "env")]
2323
pub env: Option<String>,
24-
/// Unix timestamp when the deployment finished. It must be in nanoseconds, milliseconds, or seconds, and it should not be older than 1 hour.
24+
/// Unix timestamp when the deployment finished. It must be in nanoseconds, milliseconds, or seconds.
2525
#[serde(rename = "finished_at")]
2626
pub finished_at: i64,
2727
/// Git info for DORA Metrics events.

0 commit comments

Comments
 (0)