API Return Issue /api/v2/groups

I have noticed when runnig the following API /api/v2/groups results are dependent upon the Groups the user is part of. Here is the situation

Created a brand new user with the Developer role and ran the above api from the Developers Dashboard, it returns a result of 219 ( we have way more groups than that) Any of the groups that did not show up, I went back and added the user as an ower and the total incremetned up. So I added him to 4 groups as owner, and the total went from 219 to 223

My queution is: How does it know to kick back those first 219 without being an owner, and, how do we get the remaining groups to act like the first 219?

My first guess would be it's the groups' visibility setting. The visibility can be public, owners, or members. Maybe you have 219 groups that are public, but the rest are set to owners or members. So the additional groups didn't show up until the user became an owner/member and was then allowed to view the group. If that user logs in to the standard UI, can you find the "missing" groups using the search bar? I'd expect they won't show up there either.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.