Skip to content

Commit 45bbb0a

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

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

services/metrics/src/v1/MetricsApi.ts

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

10441044
/**
1045+
* **Note**: This endpoint is deprecated. Use `/api/v2/metrics` instead.
1046+
*
10451047
* Search for metrics from the last 24 hours in Datadog.
10461048
* @param param The request object
10471049
*/

0 commit comments

Comments
 (0)