list

@GetMapping(headers = "token")
open fun <T> list(@RequestHeader(value = "token") token: String, @PathVariable(value = "user_id") userId: String, ownedOnly: Boolean): T

Method to get a list of custom links

Return

the custom links list, if authorized, else failed message as T

Parameters

userId

: the identifier of the user

token

: the token of the user

ownedOnly

: set to false as default

<T>