get Groups

@GetMapping(headers = [] )
open fun <T> getGroups(@PathVariable(value = "id") id: String, @RequestHeader(value = "token") token: String, @RequestParam(name = "page", defaultValue = "0", required = false) page: Int, @RequestParam(name = "pageSize", defaultValue = "10", required = false) pageSize: Int, @RequestParam(name = "authored_groups", defaultValue = "false", required = false) authoredGroups: Boolean, @RequestParam(name = "name", defaultValue = "", required = false) groupName: String, @RequestParam(name = "roles", defaultValue = "", required = false) roles: List<String>): T

Method to get a groups list

Return

the result of the request as String

Parameters

id

The identifier of the user

token

The token of the user

page

The page requested

pageSize

The size of the items to insert in the page

authoredGroups

Whether retrieve only the groups authored by the requesting user

groupName

The name of the group to use as filter

roles

The role values to use as filter