get Item

@GetMapping(headers = "token", path = "/{" + TEAM_IDENTIFIER_KEY + "}" )
open fun <T> getItem(    @RequestHeader(value = "token") token: String,     @PathVariable(value = "user_id") userId: String,     @PathVariable(value = "team_id") teamId: String): T

Method to get a team

Return

the team requested, if authorized, or the failed response message as T

Parameters

token

The token of the user

userId

The identifier of the user

teamId

The identifier of the team to get