diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index c15232d042..97901f4802 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -153007,7 +153007,7 @@ paths: x-codegen-request-body-name: body /api/v2/downtime: get: - description: Get all scheduled downtimes. + description: List scheduled downtimes, optionally filtering to those that are active when the request is made. operationId: ListDowntimes parameters: - description: Only return downtimes that are active when the request is made. diff --git a/src/datadog_api_client/v2/api/downtimes_api.py b/src/datadog_api_client/v2/api/downtimes_api.py index d356014513..2fd1e2c78f 100644 --- a/src/datadog_api_client/v2/api/downtimes_api.py +++ b/src/datadog_api_client/v2/api/downtimes_api.py @@ -290,7 +290,7 @@ def list_downtimes( ) -> ListDowntimesResponse: """Get all downtimes. - Get all scheduled downtimes. + List scheduled downtimes, optionally filtering to those that are active when the request is made. :param current_only: Only return downtimes that are active when the request is made. :type current_only: bool, optional