getGroups

fun getGroups(page: Int = DEFAULT_PAGE, pageSize: Int = DEFAULT_PAGE_SIZE, onlyAuthoredGroups: Boolean = false, nameFilter: String = "", roles: List<<Error class: unknown class>> = emptyList()): JsonObject

Method to execute the request to get the groups list of the user

Return

the result of the request as JsonObject

Parameters

page

The number of the page to request to the backend

pageSize

The size of the result for the page

onlyAuthoredGroups

Whether retrieve only the groups list of the user where him/her is the author

nameFilter

The name to use as filter to retrieve authored groups

roles

The roles list to use as filter to retrieve the groups list