list
@GetMapping(headers = "token"
)
Method to get a list of teams
Return
the teams list, if authorized, else failed message as T
Parameters
userId
The identifier of the user
token
The token of the user
ownedOnly
Whether to get only the teams where the user is the owner
page
The page requested
pageSize
The size of the items to insert in the page
keywords
The keywords used to filter the query to retrieve the items
<T>
the Team type