Skip to content

Commit e85a2b4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6d1c12c of spec repo
1 parent 3d3a31c commit e85a2b4

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37568,7 +37568,10 @@ paths:
3756837568
x-codegen-request-body-name: body
3756937569
/api/v1/query:
3757037570
get:
37571-
description: Query timeseries points.
37571+
description: |-
37572+
Query timeseries points. Datadog recommends using the v2
37573+
`/api/v2/query/timeseries` endpoint over this endpoint for
37574+
querying timeseries data.
3757237575
operationId: QueryMetrics
3757337576
parameters:
3757437577
- description: Start of the queried time period, seconds since the Unix epoch.

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178056,7 +178056,9 @@ paths:
178056178056
post:
178057178057
description: |-
178058178058
Query timeseries data across various data sources and
178059-
process the data by applying formulas and functions.
178059+
process the data by applying formulas and functions. Datadog recommends
178060+
using this endpoint over the v1 `/api/v1/query` endpoint for querying
178061+
timeseries data.
178060178062
operationId: QueryTimeseriesData
178061178063
requestBody:
178062178064
content:

src/main/java/com/datadog/api/client/v1/api/MetricsApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,8 @@ public CompletableFuture<MetricsQueryResponse> queryMetricsAsync(
583583
}
584584

585585
/**
586-
* Query timeseries points.
586+
* Query timeseries points. Datadog recommends using the v2 <code>/api/v2/query/timeseries</code>
587+
* endpoint over this endpoint for querying timeseries data.
587588
*
588589
* @param from Start of the queried time period, seconds since the Unix epoch. (required)
589590
* @param to End of the queried time period, seconds since the Unix epoch. (required)

src/main/java/com/datadog/api/client/v2/api/MetricsApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4622,7 +4622,8 @@ public CompletableFuture<TimeseriesFormulaQueryResponse> queryTimeseriesDataAsyn
46224622

46234623
/**
46244624
* Query timeseries data across various data sources and process the data by applying formulas and
4625-
* functions.
4625+
* functions. Datadog recommends using this endpoint over the v1 <code>/api/v1/query</code>
4626+
* endpoint for querying timeseries data.
46264627
*
46274628
* @param body (required)
46284629
* @return ApiResponse&lt;TimeseriesFormulaQueryResponse&gt;

0 commit comments

Comments
 (0)