Skip to content

Commit 84031e5

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0740e40 of spec repo
1 parent d9f1370 commit 84031e5

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
@@ -37768,7 +37768,10 @@ paths:
3776837768
x-codegen-request-body-name: body
3776937769
/api/v1/query:
3777037770
get:
37771-
description: Query timeseries points.
37771+
description: |-
37772+
Query timeseries points. Datadog recommends using the v2
37773+
`/api/v2/query/timeseries` endpoint over this endpoint for
37774+
querying timeseries data.
3777237775
operationId: QueryMetrics
3777337776
parameters:
3777437777
- 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
@@ -175278,7 +175278,9 @@ paths:
175278175278
post:
175279175279
description: |-
175280175280
Query timeseries data across various data sources and
175281-
process the data by applying formulas and functions.
175281+
process the data by applying formulas and functions. Datadog recommends
175282+
using this endpoint over the v1 `/api/v1/query` endpoint for querying
175283+
timeseries data.
175282175284
operationId: QueryTimeseriesData
175283175285
requestBody:
175284175286
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
@@ -4618,7 +4618,8 @@ public CompletableFuture<TimeseriesFormulaQueryResponse> queryTimeseriesDataAsyn
46184618

46194619
/**
46204620
* Query timeseries data across various data sources and process the data by applying formulas and
4621-
* functions.
4621+
* functions. Datadog recommends using this endpoint over the v1 <code>/api/v1/query</code>
4622+
* endpoint for querying timeseries data.
46224623
*
46234624
* @param body (required)
46244625
* @return ApiResponse&lt;TimeseriesFormulaQueryResponse&gt;

0 commit comments

Comments
 (0)