16 Jul 2024 10:27 PM
What is the best way in the V2 API to retrieve the Monitoring Mode property? Can you do that by tag?
Thanks,
Lou
Solved! Go to Solution.
16 Jul 2024 11:38 PM
Hi,
Are you asking to know if host is in fullstack or inframode... ?
Best regards
17 Jul 2024 03:45 PM
Yes. I have calls to retrieve properties for an entity. I'm assuming it's like any other property.
17 Jul 2024 08:35 PM
Hi,
You can make this call. Notice field "properties.monitoringMode" was added in the entity selector:
curl -X 'GET' \
'https://XXXXX.live.dynatrace.com/api/v2/entities?entitySelector=type%28%22HOST%22%29&fields=properties.monitoringMode' \
-H 'accept: application/json; charset=utf-8' \
-H 'Authorization: Api-Token XXXXX'
Best regards