Legacy Dev Forum Posts

 View Only

Sign Up

API Return Issue /api/v2/groups

  • 1.  API Return Issue /api/v2/groups

    Posted 06-05-2025 19:20

    Mike_McQuaid | 2020-05-27 15:51:24 UTC | #1

    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?


    tim.smith | 2020-05-27 22:33:15 UTC | #2

    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.


    system | 2020-06-27 22:38:54 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 7892