getItem

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

Method to get an existing custom link

Return

the custom link requested, if authorized, or the failed response message as T

Parameters

token

: the token of the user

userId

: the identifier of the user

linkId

: the identifier of the custom link to get