Skip to content

Commit e7709b6

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add note on unscoped app key requirement for log monitors (#1392)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 7b77210 commit e7709b6

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2023-10-25 15:28:57.018259",
8-
"spec_repo_commit": "dfb87dda"
7+
"regenerated": "2023-10-25 20:44:34.691603",
8+
"spec_repo_commit": "b719c3e3"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-10-25 15:28:57.031907",
13-
"spec_repo_commit": "dfb87dda"
12+
"regenerated": "2023-10-25 20:44:34.710660",
13+
"spec_repo_commit": "b719c3e3"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25903,9 +25903,13 @@ paths:
2590325903
- database-monitoring: `database-monitoring alert`
2590425904

2590525905

25906-
**Note**: Synthetic monitors are created through the Synthetics API. See the
25907-
[Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation
25908-
for more information.
25906+
**Notes**:
25907+
25908+
- Synthetic monitors are created through the Synthetics API. See the [Synthetics
25909+
API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for
25910+
more information.
25911+
25912+
- Log monitors require an unscoped App Key.
2590925913

2591025914

2591125915
#### Query Types
@@ -26490,7 +26494,10 @@ paths:
2649026494
- Monitors
2649126495
/api/v1/monitor/validate:
2649226496
post:
26493-
description: Validate the monitor provided in the request.
26497+
description: 'Validate the monitor provided in the request.
26498+
26499+
26500+
**Note**: Log monitors require an unscoped App Key.'
2649426501
operationId: ValidateMonitor
2649526502
requestBody:
2649626503
content:

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,9 @@ export class MonitorsApi {
14181418
* - error-tracking: `error-tracking alert`
14191419
* - database-monitoring: `database-monitoring alert`
14201420
*
1421-
* **Note**: Synthetic monitors are created through the Synthetics API. See the [Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
1421+
* **Notes**:
1422+
* - Synthetic monitors are created through the Synthetics API. See the [Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
1423+
* - Log monitors require an unscoped App Key.
14221424
*
14231425
* #### Query Types
14241426
*
@@ -1801,6 +1803,8 @@ export class MonitorsApi {
18011803

18021804
/**
18031805
* Validate the monitor provided in the request.
1806+
*
1807+
* **Note**: Log monitors require an unscoped App Key.
18041808
* @param param The request object
18051809
*/
18061810
public validateMonitor(

0 commit comments

Comments
 (0)