Skip to content

Commit ef26885

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update v1 monitor api docs to exclude downtimes v2 (#1534)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 088563b commit ef26885

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.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:35:57.004645",
8-
"spec_repo_commit": "cbc99635"
7+
"regenerated": "2023-09-12 17:52:25.284772",
8+
"spec_repo_commit": "752c972d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-09-12 16:35:57.017837",
13-
"spec_repo_commit": "cbc99635"
12+
"regenerated": "2023-09-12 17:52:25.297760",
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

lib/datadog_api_client/v1/models/monitor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Monitor
3333
# ID of this monitor.
3434
attr_accessor :id
3535

36-
# A list of active downtimes that match this monitor.
36+
# A list of active v1 downtimes that match this monitor.
3737
attr_accessor :matching_downtimes
3838

3939
# A message to include with notifications for this monitor.

lib/datadog_api_client/v1/models/monitor_options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class MonitorOptions
132132
# Configuration options for scheduling.
133133
attr_accessor :scheduling_options
134134

135-
# Information about the downtime applied to the monitor.
135+
# Information about the downtime applied to the monitor. Only shows v1 downtimes.
136136
attr_accessor :silenced
137137

138138
# ID of the corresponding Synthetic check.

0 commit comments

Comments
 (0)