get Item

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

Method to get a collection

Return

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

Parameters

token

The token of the user

userId

The identifier of the user

collectionId

The identifier of the collection to get