Add Group participation to the publicview API ContactsMe model
I would find it really helpful to include "Group participation" in the ContactMe model of the publicview api (https://app.swaggerhub.com/apis-docs/WildApricot/wild-apricot_api_for_non_administrative_access/1.0.0#).
For consistency, it could be located in the FieldValues collection. Given that /Sys/Profile shows the group participation to users, this addition seems like it would not introduce any new information for the client.
My use case is that my 3rd party OAuth app would like to restrict access to content based on the WA group participation in a way that is consistent with the WA site page restrictions.
Thanks!
Hello!
The GroupParticipation field is included in the contact details endpoint if a logged user has enough rights to see it.
-
Christian Kindel commented
Are you sure about that? I've pulled the data from /contacts/me and /contacts/<my_id> on the member API and did not get any list of groups, even with a full admin account. Is there some kind of secret extra permission or hidden endpoint that will allow a user to access their own group information through the member API? I know you can get the group information through the /contacts/<user_id> endpoint on the admin API, but that's not what we are talking about here, and it is useless for trying to get a member's groups using their own credentials.