Find groups and memberships
You would be requiring to initialize the Circles data property to find groups and get memberships.
Otherwise you can create an instance like this:
Find Groups
Functionality: This method allows you to fetch a list of groups from the Circles system, with options for pagination and filtering. This is useful for applications that need to display groups or for querying specific groups based on certain criteria.
Parameters:
pageSize
: A number specifying how many groups should be returned in the response.params
: An optional parameter that can include various filters for the query, such as group types or statuses.
Get group memberships
This method is designed to fetch all group memberships associated with a specific avatar. This is useful for applications that want to display or manage the groups that a user belongs to.
Parameters:
avatar
: A string representing the address of the avatar for which group memberships are being requested.pageSize
: A number that specifies the maximum number of group memberships to return.
Last updated