items

fun items(types: Iterable<PortalItemType> = listOf(), owner: String = "", groupId: String = "", searchQuery: String = ""): PortalQueryParameters

Creates a PortalQueryParameters instance with the query string to find items of any one of a number of given types. Optionally restricts the search to items belonging to a particular owner and/or group. An optional search string can be used to restrict the search even further.

Return

a PortalQueryParameters instance

Since

200.0.0

Parameters

types

item types to search for

owner

username of the owner of the items; empty to search for items with any owner

groupId

ID of the group to search for; empty to search for items in any group

searchQuery

search string to use; empty for no search string