Method to get a list of items
the items list, if authorized, else failed message as T
: the identifier of the user
: the token of the user
: whether to get only the items where the user is the owner
the RefyItem type