get Team Collections

@GetMapping(headers = "token", path = ""/{" + TEAM_IDENTIFIER_KEY + "}/" + COLLECTIONS_KEY" )
open fun <T> getTeamCollections(    @RequestHeader(value = "token") token: String,     @PathVariable(value = "user_id") userId: String,     @PathVariable(value = "team_id") teamId: String,     @RequestParam(name = "page", defaultValue = "0", required = false) page: Int,     @RequestParam(name = "pageSize", defaultValue = "10", required = false) pageSize: Int): T

Method to get the list of the collections of a team

Return

the collections list, if authorized, else failed message as T

Parameters

token

The token of the user

userId

The identifier of the user

teamId

The identifier of the team

page

The page requested

pageSize

The size of the items to insert in the page