Hello! I would like to obtain all the members for a group through the Portal API. How can I do that?
So far I've tried making a query for example:
https://SERVER/portal/sharing/rest/community/groups?f=pjson&q=owner:user@test&sortField=&sortOrder=&
I get the list of groups, but the objects do not contain members.
If I go to a specific group by its id:
https://SERVER/portal/sharing/rest/community/groups/e907e4e3c5b349a23b8548d0a2aa967c
It only shows my user within the userMembership... but not the full members list.
Is there a way to know which users are members of a group through the API?
Thanks!
Alejandro
so, I found the solution right after posting, so I'll leave it here. The endpoint has a /userList operation:
https://SERVER/portal/sharing/rest/community/groups/e907e4e3c5b349a23b8548d0a2aa967c/userList