Skip to content

Commit 5b125cd

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update v1 monitor api docs to exclude downtimes v2 (#1660)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent dfaf7f1 commit 5b125cd

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
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.5",
7-
"regenerated": "2023-09-12 16:36:00.939646",
8-
"spec_repo_commit": "cbc99635"
7+
"regenerated": "2023-09-12 17:52:26.336386",
8+
"spec_repo_commit": "752c972d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-09-12 16:36:00.958621",
13-
"spec_repo_commit": "cbc99635"
12+
"regenerated": "2023-09-12 17:52:26.350823",
13+
"spec_repo_commit": "752c972d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6249,7 +6249,7 @@ components:
62496249
readOnly: true
62506250
type: integer
62516251
matching_downtimes:
6252-
description: A list of active downtimes that match this monitor.
6252+
description: A list of active v1 downtimes that match this monitor.
62536253
items:
62546254
$ref: '#/components/schemas/MatchingDowntime'
62556255
type: array
@@ -6777,7 +6777,8 @@ components:
67776777
nullable: true
67786778
type: integer
67796779
deprecated: true
6780-
description: Information about the downtime applied to the monitor.
6780+
description: Information about the downtime applied to the monitor. Only
6781+
shows v1 downtimes.
67816782
type: object
67826783
synthetics_check_id:
67836784
deprecated: true

src/datadog_api_client/v1/model/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __init__(
127127
:param id: ID of this monitor.
128128
:type id: int, optional
129129
130-
:param matching_downtimes: A list of active downtimes that match this monitor.
130+
:param matching_downtimes: A list of active v1 downtimes that match this monitor.
131131
:type matching_downtimes: [MatchingDowntime], optional
132132
133133
:param message: A message to include with notifications for this monitor.

src/datadog_api_client/v1/model/monitor_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def __init__(
285285
:param scheduling_options: Configuration options for scheduling.
286286
:type scheduling_options: MonitorOptionsSchedulingOptions, optional
287287
288-
:param silenced: Information about the downtime applied to the monitor. **Deprecated**.
288+
:param silenced: Information about the downtime applied to the monitor. Only shows v1 downtimes. **Deprecated**.
289289
:type silenced: {str: (int, none_type,)}, optional
290290
291291
:param synthetics_check_id: ID of the corresponding Synthetic check. **Deprecated**.

0 commit comments

Comments
 (0)