get Groups
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
page Size
The size of the result for the page
only Authored Groups
Whether retrieve only the groups list of the user where him/her is the author
name Filter
The name to use as filter to retrieve authored groups
roles
The roles list to use as filter to retrieve the groups list