list
abstract fun <T> list(token: String, userId: String, ownedOnly: Boolean, page: Int, pageSize: Int, keywords: Set<String>): T
Method to get a list of items
Return
the items list, if authorized, else failed message as T
Parameters
userId
The identifier of the user
token
The token of the user
ownedOnly
Whether to get only the items where the user is the owner
page
The page requested
pageSize
The size of the items to insert in the page
keywords
The keywords used to filter the query to retrieve the items
<T>
the RefyItem type