Skip to content

Commit

Permalink
Fix cassettes and update given (#2209)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Oct 10, 2024
1 parent 5923283 commit ba14f33
Show file tree
Hide file tree
Showing 21 changed files with 120 additions and 119 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-09 23:04:49.830915",
"spec_repo_commit": "672b8739"
"regenerated": "2024-10-10 16:48:55.104017",
"spec_repo_commit": "56b8bb9b"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-10-09 23:04:49.848856",
"spec_repo_commit": "672b8739"
"regenerated": "2024-10-10 16:48:55.121523",
"spec_repo_commit": "56b8bb9b"
}
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-01-18T18:37:18.314Z
2024-10-10T16:41:03.364Z
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
interactions:
- request:
body: '{"message":"some message Notify: @hipchat-channel","name":"Test-Check_if_a_monitor_can_be_deleted_returns_OK_response-1674067038","options":{"enable_logs_sample":true,"escalation_message":"the
situation has escalated","evaluation_delay":700,"groupby_simple_monitor":true,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo
body: '{"message":"some message Notify: @hipchat-channel","name":"Test-Check_if_a_monitor_can_be_deleted_returns_OK_response-1728578463","options":{"enable_logs_sample":true,"escalation_message":"the
situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo
AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\")
> 2","tags":["test:testcheckifamonitorcanbedeletedreturnsokresponse1674067038","env:ci"],"type":"log
> 2","tags":["test:testcheckifamonitorcanbedeletedreturnsokresponse1728578463","env:ci"],"type":"log
alert"}'
headers:
accept:
Expand All @@ -14,11 +14,11 @@ interactions:
uri: https://api.datadoghq.com/api/v1/monitor
response:
body:
string: '{"id":108260302,"org_id":321813,"type":"log alert","name":"Test-Check_if_a_monitor_can_be_deleted_returns_OK_response-1674067038","message":"some
message Notify: @hipchat-channel","tags":["test:testcheckifamonitorcanbedeletedreturnsokresponse1674067038","env:ci"],"query":"logs(\"service:foo
string: '{"id":155845287,"org_id":321813,"type":"log alert","name":"Test-Check_if_a_monitor_can_be_deleted_returns_OK_response-1728578463","message":"some
message Notify: @hipchat-channel","tags":["test:testcheckifamonitorcanbedeletedreturnsokresponse1728578463","env:ci"],"query":"logs(\"service:foo
AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\")
> 2","options":{"enable_logs_sample":true,"escalation_message":"the situation
has escalated","evaluation_delay":700,"groupby_simple_monitor":true,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"silenced":{}},"multi":true,"created_at":1674067038000,"created":"2023-01-18T18:37:18.431658+00:00","modified":"2023-01-18T18:37:18.431658+00:00","deleted":null,"restricted_roles":null,"priority":3,"overall_state_modified":null,"overall_state":"No
has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1728578463000,"created":"2024-10-10T16:41:03.666877+00:00","modified":"2024-10-10T16:41:03.666877+00:00","deleted":null,"restricted_roles":null,"priority":3,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No
Data","creator":{"name":null,"handle":"[email protected]","email":"[email protected]","id":1445416}}
'
Expand All @@ -34,10 +34,10 @@ interactions:
accept:
- application/json
method: GET
uri: https://api.datadoghq.com/api/v1/monitor/can_delete?monitor_ids=108260302
uri: https://api.datadoghq.com/api/v1/monitor/can_delete?monitor_ids=155845287
response:
body:
string: '{"data":{"ok":[108260302]},"errors":null}
string: '{"data":{"ok":[155845287]},"errors":null}
'
headers:
Expand All @@ -52,10 +52,10 @@ interactions:
accept:
- application/json
method: DELETE
uri: https://api.datadoghq.com/api/v1/monitor/108260302
uri: https://api.datadoghq.com/api/v1/monitor/155845287
response:
body:
string: '{"deleted_monitor_id":108260302}
string: '{"deleted_monitor_id":155845287}
'
headers:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-01-18T18:37:16.146Z
2024-10-10T16:45:37.005Z
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
interactions:
- request:
body: '{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1674067036","options":{"enable_logs_sample":true,"escalation_message":"the
situation has escalated","evaluation_delay":700,"groupby_simple_monitor":true,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo
body: '{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","options":{"enable_logs_sample":true,"escalation_message":"the
situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo
AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\")
> 2","tags":["test:testcreateanewdashboardwithalertgraphwidget1674067036","env:ci"],"type":"log
> 2","tags":["test:testcreateanewdashboardwithalertgraphwidget1728578737","env:ci"],"type":"log
alert"}'
headers:
accept:
Expand All @@ -14,11 +14,11 @@ interactions:
uri: https://api.datadoghq.com/api/v1/monitor
response:
body:
string: '{"id":108260299,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1674067036","message":"some
message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertgraphwidget1674067036","env:ci"],"query":"logs(\"service:foo
string: '{"id":155845586,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","message":"some
message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertgraphwidget1728578737","env:ci"],"query":"logs(\"service:foo
AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\")
> 2","options":{"enable_logs_sample":true,"escalation_message":"the situation
has escalated","evaluation_delay":700,"groupby_simple_monitor":true,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"silenced":{}},"multi":true,"created_at":1674067036000,"created":"2023-01-18T18:37:16.358564+00:00","modified":"2023-01-18T18:37:16.358564+00:00","deleted":null,"restricted_roles":null,"priority":3,"overall_state_modified":null,"overall_state":"No
has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1728578737000,"created":"2024-10-10T16:45:37.282544+00:00","modified":"2024-10-10T16:45:37.282544+00:00","deleted":null,"restricted_roles":null,"priority":3,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No
Data","creator":{"name":null,"handle":"[email protected]","email":"[email protected]","id":1445416}}
'
Expand All @@ -29,7 +29,7 @@ interactions:
code: 200
message: OK
- request:
body: '{"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1674067036","widgets":[{"definition":{"alert_id":"108260299","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0}}]}'
body: '{"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","widgets":[{"definition":{"alert_id":"155845586","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0}}]}'
headers:
accept:
- application/json
Expand All @@ -39,7 +39,7 @@ interactions:
uri: https://api.datadoghq.com/api/v1/dashboard
response:
body:
string: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"tvp-85z-v2d","title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1674067036","url":"/dashboard/tvp-85z-v2d/test-createanewdashboardwithalertgraphwidget-1674067036","created_at":"2023-01-18T18:37:16.495648+00:00","modified_at":"2023-01-18T18:37:16.495648+00:00","author_handle":"[email protected]","widgets":[{"definition":{"title_size":"16","viz_type":"timeseries","title":"","title_align":"left","alert_id":"108260299","time":{},"type":"alert_graph"},"layout":{"y":0,"width":47,"x":0,"height":15},"id":236119153104762}],"layout_type":"free"}
string: '{"id":"9y7-dzu-fqr","title":"Test-Create_a_new_dashboard_with_alert_graph_widget-1728578737","description":"","author_handle":"[email protected]","author_name":null,"layout_type":"free","url":"/dashboard/9y7-dzu-fqr/test-createanewdashboardwithalertgraphwidget-1728578737","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"155845586","time":{},"title":"","title_align":"left","title_size":"16","type":"alert_graph","viz_type":"timeseries"},"layout":{"height":15,"width":47,"x":0,"y":0},"id":7729343486286001}],"notify_list":[],"created_at":"2024-10-10T16:45:37.490575+00:00","modified_at":"2024-10-10T16:45:37.490575+00:00","restricted_roles":[]}
'
headers:
Expand All @@ -54,10 +54,10 @@ interactions:
accept:
- application/json
method: DELETE
uri: https://api.datadoghq.com/api/v1/dashboard/tvp-85z-v2d
uri: https://api.datadoghq.com/api/v1/dashboard/9y7-dzu-fqr
response:
body:
string: '{"deleted_dashboard_id":"tvp-85z-v2d"}
string: '{"deleted_dashboard_id":"9y7-dzu-fqr"}
'
headers:
Expand All @@ -72,10 +72,10 @@ interactions:
accept:
- application/json
method: DELETE
uri: https://api.datadoghq.com/api/v1/monitor/108260299
uri: https://api.datadoghq.com/api/v1/monitor/155845586
response:
body:
string: '{"deleted_monitor_id":108260299}
string: '{"deleted_monitor_id":155845586}
'
headers:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-01-18T18:37:16.878Z
2024-10-10T16:45:04.791Z
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
interactions:
- request:
body: '{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1674067036","options":{"enable_logs_sample":true,"escalation_message":"the
situation has escalated","evaluation_delay":700,"groupby_simple_monitor":true,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo
body: '{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","options":{"enable_logs_sample":true,"escalation_message":"the
situation has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2,"warning":1},"timeout_h":24},"priority":3,"query":"logs(\"service:foo
AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\")
> 2","tags":["test:testcreateanewdashboardwithalertvaluewidget1674067036","env:ci"],"type":"log
> 2","tags":["test:testcreateanewdashboardwithalertvaluewidget1728578704","env:ci"],"type":"log
alert"}'
headers:
accept:
Expand All @@ -14,11 +14,11 @@ interactions:
uri: https://api.datadoghq.com/api/v1/monitor
response:
body:
string: '{"id":108260300,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1674067036","message":"some
message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertvaluewidget1674067036","env:ci"],"query":"logs(\"service:foo
string: '{"id":155845560,"org_id":321813,"type":"log alert","name":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","message":"some
message Notify: @hipchat-channel","tags":["test:testcreateanewdashboardwithalertvaluewidget1728578704","env:ci"],"query":"logs(\"service:foo
AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\")
> 2","options":{"enable_logs_sample":true,"escalation_message":"the situation
has escalated","evaluation_delay":700,"groupby_simple_monitor":true,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"silenced":{}},"multi":true,"created_at":1674067037000,"created":"2023-01-18T18:37:17.013180+00:00","modified":"2023-01-18T18:37:17.013180+00:00","deleted":null,"restricted_roles":null,"priority":3,"overall_state_modified":null,"overall_state":"No
has escalated","evaluation_delay":700,"include_tags":true,"locked":false,"new_host_delay":600,"no_data_timeframe":null,"notification_preset_name":"hide_handles","notify_audit":false,"notify_no_data":false,"on_missing_data":"show_and_notify_no_data","renotify_interval":60,"require_full_window":true,"thresholds":{"critical":2.0,"warning":1.0},"timeout_h":24,"groupby_simple_monitor":false,"silenced":{}},"multi":true,"created_at":1728578705000,"created":"2024-10-10T16:45:05.062415+00:00","modified":"2024-10-10T16:45:05.062415+00:00","deleted":null,"restricted_roles":null,"priority":3,"restriction_policy":null,"overall_state_modified":null,"overall_state":"No
Data","creator":{"name":null,"handle":"[email protected]","email":"[email protected]","id":1445416}}
'
Expand All @@ -29,7 +29,7 @@ interactions:
code: 200
message: OK
- request:
body: '{"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_value_widget-1674067036","widgets":[{"definition":{"alert_id":"108260300","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0}}]}'
body: '{"description":"","is_read_only":false,"layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","widgets":[{"definition":{"alert_id":"155845560","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0}}]}'
headers:
accept:
- application/json
Expand All @@ -39,7 +39,7 @@ interactions:
uri: https://api.datadoghq.com/api/v1/dashboard
response:
body:
string: '{"notify_list":[],"description":"","restricted_roles":[],"author_name":null,"template_variables":[],"is_read_only":false,"id":"ess-8yc-y8y","title":"Test-Create_a_new_dashboard_with_alert_value_widget-1674067036","url":"/dashboard/ess-8yc-y8y/test-createanewdashboardwithalertvaluewidget-1674067036","created_at":"2023-01-18T18:37:17.145823+00:00","modified_at":"2023-01-18T18:37:17.145823+00:00","author_handle":"[email protected]","widgets":[{"definition":{"title_size":"16","title":"","title_align":"left","text_align":"left","precision":2,"alert_id":"108260300","type":"alert_value","unit":"auto"},"layout":{"y":0,"width":15,"x":0,"height":8},"id":3516493079797108}],"layout_type":"free"}
string: '{"id":"78k-2dh-sr5","title":"Test-Create_a_new_dashboard_with_alert_value_widget-1728578704","description":"","author_handle":"[email protected]","author_name":null,"layout_type":"free","url":"/dashboard/78k-2dh-sr5/test-createanewdashboardwithalertvaluewidget-1728578704","is_read_only":false,"template_variables":[],"widgets":[{"definition":{"alert_id":"155845560","precision":2,"text_align":"left","title":"","title_align":"left","title_size":"16","type":"alert_value","unit":"auto"},"layout":{"height":8,"width":15,"x":0,"y":0},"id":8549155363482992}],"notify_list":[],"created_at":"2024-10-10T16:45:05.293418+00:00","modified_at":"2024-10-10T16:45:05.293418+00:00","restricted_roles":[]}
'
headers:
Expand All @@ -54,10 +54,10 @@ interactions:
accept:
- application/json
method: DELETE
uri: https://api.datadoghq.com/api/v1/dashboard/ess-8yc-y8y
uri: https://api.datadoghq.com/api/v1/dashboard/78k-2dh-sr5
response:
body:
string: '{"deleted_dashboard_id":"ess-8yc-y8y"}
string: '{"deleted_dashboard_id":"78k-2dh-sr5"}
'
headers:
Expand All @@ -72,10 +72,10 @@ interactions:
accept:
- application/json
method: DELETE
uri: https://api.datadoghq.com/api/v1/monitor/108260300
uri: https://api.datadoghq.com/api/v1/monitor/155845560
response:
body:
string: '{"deleted_monitor_id":108260300}
string: '{"deleted_monitor_id":155845560}
'
headers:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-01-18T18:37:18.880Z
2024-10-10T16:40:30.250Z
Loading

0 comments on commit ba14f33

Please sign in to comment.