Skip to content

Commit 267bfcd

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Replace All with Active in the monitor downtimes endpoint title (#1519)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent a504d66 commit 267bfcd

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
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.4",
7-
"regenerated": "2023-06-12 13:40:14.946275",
8-
"spec_repo_commit": "2c47742f"
7+
"regenerated": "2023-06-12 14:39:34.231825",
8+
"spec_repo_commit": "52c2288b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-06-12 13:40:14.965716",
13-
"spec_repo_commit": "2c47742f"
12+
"regenerated": "2023-06-12 14:39:34.243959",
13+
"spec_repo_commit": "52c2288b"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25599,7 +25599,7 @@ paths:
2559925599
appKeyAuth: []
2560025600
- AuthZ:
2560125601
- monitors_read
25602-
summary: Get all downtimes for a monitor
25602+
summary: Get active downtimes for a monitor
2560325603
tags:
2560425604
- Downtimes
2560525605
x-codegen-request-body-name: body

examples/v1/downtimes/ListMonitorDowntimes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Get all downtimes for a monitor returns "OK" response
2+
Get active downtimes for a monitor returns "OK" response
33
"""
44

55
from datadog_api_client import ApiClient, Configuration

src/datadog_api_client/v1/api/downtimes_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def list_monitor_downtimes(
299299
self,
300300
monitor_id: int,
301301
) -> List[Downtime]:
302-
"""Get all downtimes for a monitor.
302+
"""Get active downtimes for a monitor.
303303
304304
Get all active downtimes for the specified monitor.
305305

tests/v1/features/downtimes.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ Feature: Downtimes
6767
And the response "message" has the same value as "downtime.message"
6868

6969
@generated @skip @team:DataDog/monitor-app
70-
Scenario: Get all downtimes for a monitor returns "Bad Request" response
70+
Scenario: Get active downtimes for a monitor returns "Bad Request" response
7171
Given new "ListMonitorDowntimes" request
7272
And request contains "monitor_id" parameter from "REPLACE.ME"
7373
When the request is sent
7474
Then the response status is 400 Bad Request
7575

7676
@generated @skip @team:DataDog/monitor-app
77-
Scenario: Get all downtimes for a monitor returns "Monitor Not Found error" response
77+
Scenario: Get active downtimes for a monitor returns "Monitor Not Found error" response
7878
Given new "ListMonitorDowntimes" request
7979
And request contains "monitor_id" parameter from "REPLACE.ME"
8080
When the request is sent
8181
Then the response status is 404 Monitor Not Found error
8282

8383
@generated @skip @team:DataDog/monitor-app
84-
Scenario: Get all downtimes for a monitor returns "OK" response
84+
Scenario: Get active downtimes for a monitor returns "OK" response
8585
Given new "ListMonitorDowntimes" request
8686
And request contains "monitor_id" parameter from "REPLACE.ME"
8787
When the request is sent

0 commit comments

Comments
 (0)