Skip to content

Commit

Permalink
Update v1 monitor api docs to exclude downtimes v2 (#1534)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Sep 12, 2023
1 parent 088563b commit ef26885
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-12 16:35:57.004645",
"spec_repo_commit": "cbc99635"
"regenerated": "2023-09-12 17:52:25.284772",
"spec_repo_commit": "752c972d"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-09-12 16:35:57.017837",
"spec_repo_commit": "cbc99635"
"regenerated": "2023-09-12 17:52:25.297760",
"spec_repo_commit": "752c972d"
}
}
}
5 changes: 3 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6249,7 +6249,7 @@ components:
readOnly: true
type: integer
matching_downtimes:
description: A list of active downtimes that match this monitor.
description: A list of active v1 downtimes that match this monitor.
items:
$ref: '#/components/schemas/MatchingDowntime'
type: array
Expand Down Expand Up @@ -6777,7 +6777,8 @@ components:
nullable: true
type: integer
deprecated: true
description: Information about the downtime applied to the monitor.
description: Information about the downtime applied to the monitor. Only
shows v1 downtimes.
type: object
synthetics_check_id:
deprecated: true
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v1/models/monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Monitor
# ID of this monitor.
attr_accessor :id

# A list of active downtimes that match this monitor.
# A list of active v1 downtimes that match this monitor.
attr_accessor :matching_downtimes

# A message to include with notifications for this monitor.
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v1/models/monitor_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class MonitorOptions
# Configuration options for scheduling.
attr_accessor :scheduling_options

# Information about the downtime applied to the monitor.
# Information about the downtime applied to the monitor. Only shows v1 downtimes.
attr_accessor :silenced

# ID of the corresponding Synthetic check.
Expand Down

0 comments on commit ef26885

Please sign in to comment.