REST API endpoint device/groups/{id}/devices
We have a regional (Americas, EMEA, APAC) hierarchy in our Resources structure, and would like to be able to query via the API the total number of resources at a group level.
Currently the API only returns items if the group has direct child resources, but if the group is there purely for taxonomy, then it returns no items.
We would like to be able to call an endpoint similar to /device/groups/{id}/devices which would return a total count of resources for the group, including all sub-groups.
Our use case is cross charging the regions for LogicMonitor costs, and for this we need to be able to automate the counting up of resource items for each region. Basically we want to be able to get the same count we currently see in a resource group's tooltip, but via the API.