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.
20
votes
-
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.