Skip to content

Commit db76e02

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update Mute a Host Endpoint Description (#1736)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 62ae88d commit db76e02

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
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.6",
7-
"regenerated": "2023-11-16 15:25:33.881633",
8-
"spec_repo_commit": "c536b702"
7+
"regenerated": "2023-11-16 17:18:48.848152",
8+
"spec_repo_commit": "0e97d7dd"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-11-16 15:25:33.900228",
13-
"spec_repo_commit": "c536b702"
12+
"regenerated": "2023-11-16 17:18:48.870273",
13+
"spec_repo_commit": "0e97d7dd"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23435,7 +23435,8 @@ paths:
2343523435
- Snapshots
2343623436
/api/v1/host/{host_name}/mute:
2343723437
post:
23438-
description: Mute a host.
23438+
description: Mute a host. **Note:** This creates a [Downtime V2](https://docs.datadoghq.com/api/latest/downtimes/#schedule-a-downtime)
23439+
for the host.
2343923440
operationId: MuteHost
2344023441
parameters:
2344123442
- description: Name of the host to mute.

src/datadog_api_client/v1/api/hosts_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def mute_host(
246246
) -> HostMuteResponse:
247247
"""Mute a host.
248248
249-
Mute a host.
249+
Mute a host. **Note:** This creates a `Downtime V2 <https://docs.datadoghq.com/api/latest/downtimes/#schedule-a-downtime>`_ for the host.
250250
251251
:param host_name: Name of the host to mute.
252252
:type host_name: str

0 commit comments

Comments
 (0)