File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
src/datadog_api_client/v1/api Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"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 "
9
9
},
10
10
"v2": {
11
11
"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 "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -25599,7 +25599,7 @@ paths:
25599
25599
appKeyAuth: []
25600
25600
- AuthZ:
25601
25601
- monitors_read
25602
- summary: Get all downtimes for a monitor
25602
+ summary: Get active downtimes for a monitor
25603
25603
tags:
25604
25604
- Downtimes
25605
25605
x-codegen-request-body-name: body
Original file line number Diff line number Diff line change 1
1
"""
2
- Get all downtimes for a monitor returns "OK" response
2
+ Get active downtimes for a monitor returns "OK" response
3
3
"""
4
4
5
5
from datadog_api_client import ApiClient , Configuration
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ def list_monitor_downtimes(
299
299
self ,
300
300
monitor_id : int ,
301
301
) -> List [Downtime ]:
302
- """Get all downtimes for a monitor.
302
+ """Get active downtimes for a monitor.
303
303
304
304
Get all active downtimes for the specified monitor.
305
305
Original file line number Diff line number Diff line change @@ -67,21 +67,21 @@ Feature: Downtimes
67
67
And the response "message" has the same value as "downtime.message"
68
68
69
69
@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
71
71
Given new "ListMonitorDowntimes" request
72
72
And request contains "monitor_id" parameter from "REPLACE.ME"
73
73
When the request is sent
74
74
Then the response status is 400 Bad Request
75
75
76
76
@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
78
78
Given new "ListMonitorDowntimes" request
79
79
And request contains "monitor_id" parameter from "REPLACE.ME"
80
80
When the request is sent
81
81
Then the response status is 404 Monitor Not Found error
82
82
83
83
@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
85
85
Given new "ListMonitorDowntimes" request
86
86
And request contains "monitor_id" parameter from "REPLACE.ME"
87
87
When the request is sent
You can’t perform that action at this time.
0 commit comments