Skip to content

Commit be2d9b8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 23b5e7e of spec repo (#2976)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 5911b79 commit be2d9b8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32563,7 +32563,11 @@ paths:
3256332563
- timeseries_query
3256432564
/api/v1/search:
3256532565
get:
32566-
description: Search for metrics from the last 24 hours in Datadog.
32566+
deprecated: true
32567+
description: '**Note**: This endpoint is deprecated. Use `/api/v2/metrics` instead.
32568+
32569+
32570+
Search for metrics from the last 24 hours in Datadog.'
3256732571
operationId: ListMetrics
3256832572
parameters:
3256932573
- description: Query string to search metrics upon. Can optionally be prefixed

packages/datadog-api-client-v1/apis/MetricsApi.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,8 @@ export class MetricsApi {
963963
}
964964

965965
/**
966+
* **Note**: This endpoint is deprecated. Use `/api/v2/metrics` instead.
967+
*
966968
* Search for metrics from the last 24 hours in Datadog.
967969
* @param param The request object
968970
*/

0 commit comments

Comments
 (0)