SearchEntriesParams
Hierarchy
- BaseRequestParameters
- SearchEntriesParams
Index
Properties
optionalcategories
A comma-separated list of categories. Only entries in these categories will be returned. If undefined, all entries will be listed, independently of their categories.
For instance, to show only entries in the “news” and “articles” categories,
pass 'news,category'
.
optionalexcept
If defined, removes the given item from the list. Useful to create “related posts” lists.
Note: this field only accepts IDs, and not slugs. Only one ID is allowed.
optionallimit
The limit of items per page.
optionalmodels
A comma-separated list of models. Only entries in these models will be returned. If undefined, entries from all workspace models will be listed.
For instance, to show only entries in the “posts” and “videos” categories,
pass 'posts,videos'
.
optionalorder
Define how items will be ordered. Check this field type to see the allowed options.
optionalpage
The page requested.
optionalquery
A search query string.
For instance, searching for “out” will match both “check out!” and “about us”. Search is not case-sensitive.
Request parameters for searching entries.
Used by SearchSelector.entries.