Skip to content

Commit 00c51f3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 38754ea of spec repo (#3935)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent b73dd5f commit 00c51f3

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34701,7 +34701,7 @@ paths:
3470134701
description: |-
3470234702
Validate the monitor provided in the request.
3470334703

34704-
**Note**: Log monitors require an unscoped App Key.
34704+
**Note**: Log monitors require an unscoped App Key and `logs_read_data` permission.
3470534705
operationId: ValidateMonitor
3470634706
requestBody:
3470734707
content:
@@ -35061,7 +35061,10 @@ paths:
3506135061
- monitors_read
3506235062
/api/v1/monitor/{monitor_id}/validate:
3506335063
post:
35064-
description: Validate the monitor provided in the request.
35064+
description: |-
35065+
Validate the monitor provided in the request.
35066+
35067+
**Note**: Log monitors require an unscoped App Key and `logs_read_data` permission.
3506535068
operationId: ValidateExistingMonitor
3506635069
parameters:
3506735070
- description: The ID of the monitor

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,6 +2115,9 @@ public CompletableFuture<Object> validateExistingMonitorAsync(Long monitorId, Mo
21152115
/**
21162116
* Validate the monitor provided in the request.
21172117
*
2118+
* <p><strong>Note</strong>: Log monitors require an unscoped App Key and <code>logs_read_data
2119+
* </code> permission.
2120+
*
21182121
* @param monitorId The ID of the monitor (required)
21192122
* @param body Monitor request object (required)
21202123
* @return ApiResponse&lt;Object&gt;
@@ -2268,7 +2271,8 @@ public CompletableFuture<Object> validateMonitorAsync(Monitor body) {
22682271
/**
22692272
* Validate the monitor provided in the request.
22702273
*
2271-
* <p><strong>Note</strong>: Log monitors require an unscoped App Key.
2274+
* <p><strong>Note</strong>: Log monitors require an unscoped App Key and <code>logs_read_data
2275+
* </code> permission.
22722276
*
22732277
* @param body Monitor request object (required)
22742278
* @return ApiResponse&lt;Object&gt;

0 commit comments

Comments
 (0)