Skip to content

get_downtime API always returns None for monitors #2262

Open
@dkirrane

Description

@dkirrane

Describe the bug
get_downtime API does not return the list Impacted Monitors. It always return None

        from datadog_api_client.v2.api.downtimes_api import DowntimesApi

        api_response = datadog_downtimes_api.get_downtime(
            downtime_id=downtime_id,
            include='monitor'
            # include='created_by,monitor'
        )
        print(api_response)

Actual
Response always has

'relationships': {'monitor': {'data': None}}, 'type': 'downtime'},

Expected
List of monitors impacted by the Downtime.

Using
datadog-api-client==2.29.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions