Skip to content

Commit 1766cde

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add note on unscoped app key requirement for log monitors (#1740)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 57791f1 commit 1766cde

File tree

3 files changed

+21
-9
lines changed

3 files changed

+21
-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:29:12.611442",
8-
"spec_repo_commit": "dfb87dda"
7+
"regenerated": "2023-10-25 20:44:21.782948",
8+
"spec_repo_commit": "b719c3e3"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-10-25 15:29:12.633028",
13-
"spec_repo_commit": "dfb87dda"
12+
"regenerated": "2023-10-25 20:44:21.797350",
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:

src/datadog_api_client/v1/api/monitors_api.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,10 @@ def create_monitor(
397397
* error-tracking: ``error-tracking alert``
398398
* database-monitoring: ``database-monitoring alert``
399399
400-
**Note** : Synthetic monitors are created through the Synthetics API. See the [Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
400+
**Notes** :
401+
402+
* Synthetic monitors are created through the Synthetics API. See the [Synthetics API] (https://docs.datadoghq.com/api/latest/synthetics/) documentation for more information.
403+
* Log monitors require an unscoped App Key.
401404
402405
**Query Types**
403406
@@ -894,6 +897,8 @@ def validate_monitor(
894897
895898
Validate the monitor provided in the request.
896899
900+
**Note** : Log monitors require an unscoped App Key.
901+
897902
:param body: Monitor request object
898903
:type body: Monitor
899904
:rtype: dict

0 commit comments

Comments
 (0)