Skip to content

Commit 25dcb05

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Regenerate client from commit 2dfddc18 of spec repo (#2414)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ebaee8e commit 25dcb05

File tree

6 files changed

+24
-11
lines changed

6 files changed

+24
-11
lines changed

.apigentools-info

+4-4
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": "2025-03-17 17:20:24.454374",
8-
"spec_repo_commit": "29344bf2"
7+
"regenerated": "2025-03-17 21:06:24.768750",
8+
"spec_repo_commit": "2dfddc18"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-17 17:20:24.469287",
13-
"spec_repo_commit": "29344bf2"
12+
"regenerated": "2025-03-17 21:06:24.785221",
13+
"spec_repo_commit": "2dfddc18"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+9-3
Original file line numberDiff line numberDiff line change
@@ -29328,7 +29328,7 @@ paths:
2932829328
- description: 'When specified, shows additional information about the group
2932929329
states.
2933029330

29331-
Choose one or more from `all`, `alert`, `warn`, and `no data` (`no%20data`).'
29331+
Choose one or more from `all`, `alert`, `warn`, and `no data`.'
2933229332
in: query
2933329333
name: group_states
2933429334
required: false
@@ -36863,7 +36863,10 @@ tags:
3686336863

3686436864
scopes from alerting. Downtime settings, which can be scheduled with start and
3686536865

36866-
end times, prevent all alerting related to specified Datadog tags.'
36866+
end times, prevent all alerting related to specified Datadog tags.
36867+
36868+
36869+
**Note:** `curl` commands require [url encoding](https://curl.se/docs/url-syntax.html).'
3686736870
name: Downtimes
3686836871
- description: 'The Event Management API allows you to programmatically post events
3686936872
to the Events Explorer and fetch events from the Events Explorer. See the [Event
@@ -36940,7 +36943,10 @@ tags:
3694036943
notifies your team when a defined threshold has exceeded.
3694136944

3694236945

36943-
For more information, see [Creating Monitors](https://docs.datadoghq.com/monitors/create/types/).'
36946+
For more information, see [Creating Monitors](https://docs.datadoghq.com/monitors/create/types/).
36947+
36948+
36949+
**Note:** `curl` commands require [url encoding](https://curl.se/docs/url-syntax.html).'
3694436950
externalDocs:
3694536951
description: Find out more at
3694636952
url: https://docs.datadoghq.com/monitors/create/types/

src/datadog_api_client/v1/api/downtimes_api.py

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class DowntimesApi:
2323
you greater control over monitor notifications by allowing you to globally exclude
2424
scopes from alerting. Downtime settings, which can be scheduled with start and
2525
end times, prevent all alerting related to specified Datadog tags.
26+
27+
**Note:** ``curl`` commands require `url encoding <https://curl.se/docs/url-syntax.html>`_.
2628
"""
2729

2830
def __init__(self, api_client=None):

src/datadog_api_client/v1/api/monitors_api.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class MonitorsApi:
2828
notifies your team when a defined threshold has exceeded.
2929
3030
For more information, see `Creating Monitors <https://docs.datadoghq.com/monitors/create/types/>`_.
31+
32+
**Note:** ``curl`` commands require `url encoding <https://curl.se/docs/url-syntax.html>`_.
3133
"""
3234

3335
def __init__(self, api_client=None):
@@ -679,7 +681,7 @@ def list_monitors(
679681
Get all monitors from your organization.
680682
681683
:param group_states: When specified, shows additional information about the group states.
682-
Choose one or more from ``all`` , ``alert`` , ``warn`` , and ``no data`` ( ``no%20data`` ).
684+
Choose one or more from ``all`` , ``alert`` , ``warn`` , and ``no data``.
683685
:type group_states: str, optional
684686
:param name: A string to filter monitors by name.
685687
:type name: str, optional
@@ -743,7 +745,7 @@ def list_monitors_with_pagination(
743745
Provide a paginated version of :meth:`list_monitors`, returning all items.
744746
745747
:param group_states: When specified, shows additional information about the group states.
746-
Choose one or more from ``all`` , ``alert`` , ``warn`` , and ``no data`` ( ``no%20data`` ).
748+
Choose one or more from ``all`` , ``alert`` , ``warn`` , and ``no data``.
747749
:type group_states: str, optional
748750
:param name: A string to filter monitors by name.
749751
:type name: str, optional

tests/v1/features/downtimes.feature

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Feature: Downtimes
44
you greater control over monitor notifications by allowing you to globally
55
exclude scopes from alerting. Downtime settings, which can be scheduled
66
with start and end times, prevent all alerting related to specified
7-
Datadog tags.
7+
Datadog tags. **Note:** `curl` commands require [url
8+
encoding](https://curl.se/docs/url-syntax.html).
89

910
Background:
1011
Given a valid "apiKeyAuth" key in the system

tests/v1/features/monitors.feature

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Feature: Monitors
33
[Monitors](https://docs.datadoghq.com/monitors) allow you to watch a
44
metric or check that you care about and notifies your team when a defined
55
threshold has exceeded. For more information, see [Creating
6-
Monitors](https://docs.datadoghq.com/monitors/create/types/).
6+
Monitors](https://docs.datadoghq.com/monitors/create/types/). **Note:**
7+
`curl` commands require [url encoding](https://curl.se/docs/url-
8+
syntax.html).
79

810
Background:
911
Given a valid "apiKeyAuth" key in the system

0 commit comments

Comments
 (0)