Open dkirrane opened 8 hours ago
Update: Just checked with curl and the issues is the same
curl -X GET "https://api.datadoghq.com/api/v2/downtime/${DOWNTIME_ID}?include=monitor" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"
response is same.
"relationships":{"monitor":{"data":null}}
I can confirm from the DataDog UI that it shows a list Impacted Monitors for same downtime.
This looks like an API issue. Not sure where to raise that?
Describe the bug get_downtime API does not return the list Impacted Monitors. It always return
None
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