Extend the devices - list profiles API method to return ALL profiles that a device is assigned
The list profiles method in the devices API endpoint only returns profiles that are directly assigned to the device; it would be very helpful to the data returned included all profiles assigned to that device, including profiles assigned through groups, etc, along with an attribute that identifies how the profile is assigned.
-
wildlife boss commented
Our mission is to safeguard wildlife and their natural habitats through education, advocacy, and action. We believe that by raising awareness and fostering a deep respect for the natural world, we can inspire positive change and promote sustainable practices that benefit both wildlife and people.
https://wildlifeboss.info/ -
Nathaniel Strauss commented
I don't disagree with this request, but I'd like the existing API to stay as is to maintain compatibility. To list all profiles, add new arguments like "group_profiles: true", which is off by default.