From f591b495d6fa38d3a7296710fe367fe396b3e821 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 17 Mar 2025 21:06:53 +0000 Subject: [PATCH] Regenerate client from commit 2dfddc18 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 12 +++++++++--- features/v1/downtimes.feature | 3 ++- features/v1/monitors.feature | 4 +++- lib/datadog_api_client/v1/api/monitors_api.rb | 2 +- 5 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index eaa75eebfc21..4b15754974ee 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-17 17:20:20.728873", - "spec_repo_commit": "29344bf2" + "regenerated": "2025-03-17 21:06:24.773354", + "spec_repo_commit": "2dfddc18" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-03-17 17:20:20.745019", - "spec_repo_commit": "29344bf2" + "regenerated": "2025-03-17 21:06:24.789125", + "spec_repo_commit": "2dfddc18" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index c44a16f37896..2e767a05abb7 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -29328,7 +29328,7 @@ paths: - description: 'When specified, shows additional information about the group states. - Choose one or more from `all`, `alert`, `warn`, and `no data` (`no%20data`).' + Choose one or more from `all`, `alert`, `warn`, and `no data`.' in: query name: group_states required: false @@ -36863,7 +36863,10 @@ tags: scopes from alerting. Downtime settings, which can be scheduled with start and - end times, prevent all alerting related to specified Datadog tags.' + end times, prevent all alerting related to specified Datadog tags. + + + **Note:** `curl` commands require [url encoding](https://curl.se/docs/url-syntax.html).' name: Downtimes - description: 'The Event Management API allows you to programmatically post events to the Events Explorer and fetch events from the Events Explorer. See the [Event @@ -36940,7 +36943,10 @@ tags: notifies your team when a defined threshold has exceeded. - For more information, see [Creating Monitors](https://docs.datadoghq.com/monitors/create/types/).' + For more information, see [Creating Monitors](https://docs.datadoghq.com/monitors/create/types/). + + + **Note:** `curl` commands require [url encoding](https://curl.se/docs/url-syntax.html).' externalDocs: description: Find out more at url: https://docs.datadoghq.com/monitors/create/types/ diff --git a/features/v1/downtimes.feature b/features/v1/downtimes.feature index ccad86b876d8..fccf36602729 100644 --- a/features/v1/downtimes.feature +++ b/features/v1/downtimes.feature @@ -4,7 +4,8 @@ Feature: Downtimes you greater control over monitor notifications by allowing you to globally exclude scopes from alerting. Downtime settings, which can be scheduled with start and end times, prevent all alerting related to specified - Datadog tags. + Datadog tags. **Note:** `curl` commands require [url + encoding](https://curl.se/docs/url-syntax.html). Background: Given a valid "apiKeyAuth" key in the system diff --git a/features/v1/monitors.feature b/features/v1/monitors.feature index 05ef98216edc..9bbc6531fa22 100644 --- a/features/v1/monitors.feature +++ b/features/v1/monitors.feature @@ -3,7 +3,9 @@ Feature: Monitors [Monitors](https://docs.datadoghq.com/monitors) allow you to watch a metric or check that you care about and notifies your team when a defined threshold has exceeded. For more information, see [Creating - Monitors](https://docs.datadoghq.com/monitors/create/types/). + Monitors](https://docs.datadoghq.com/monitors/create/types/). **Note:** + `curl` commands require [url encoding](https://curl.se/docs/url- + syntax.html). Background: Given a valid "apiKeyAuth" key in the system diff --git a/lib/datadog_api_client/v1/api/monitors_api.rb b/lib/datadog_api_client/v1/api/monitors_api.rb index 513326167128..4a46a009ecbf 100644 --- a/lib/datadog_api_client/v1/api/monitors_api.rb +++ b/lib/datadog_api_client/v1/api/monitors_api.rb @@ -522,7 +522,7 @@ def list_monitors(opts = {}) # Get all monitors from your organization. # # @param opts [Hash] the optional parameters - # @option opts [String] :group_states When specified, shows additional information about the group states. Choose one or more from `all`, `alert`, `warn`, and `no data` (`no%20data`). + # @option opts [String] :group_states When specified, shows additional information about the group states. Choose one or more from `all`, `alert`, `warn`, and `no data`. # @option opts [String] :name A string to filter monitors by name. # @option opts [String] :tags A comma separated list indicating what tags, if any, should be used to filter the list of monitors by scope. For example, `host:host0`. # @option opts [String] :monitor_tags A comma separated list indicating what service and/or custom tags, if any, should be used to filter the list of monitors. Tags created in the Datadog UI automatically have the service key prepended. For example, `service:my-app`.