get Collection Teams

@GetMapping(headers = "token", path = ""/{" + COLLECTION_IDENTIFIER_KEY + "}/" + TEAMS_KEY" )
open fun <T> getCollectionTeams(    @RequestHeader(value = "token") token: String,     @PathVariable(value = "user_id") userId: String,     @PathVariable(value = "collection_id") collectionId: 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 teams where the collection is shared

Return

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

Parameters

token

The token of the user

userId

The identifier of the user

collectionId

The identifier of the collection

page

The page requested

pageSize

The size of the items to insert in the page