Pular para o conteúdo principal

externalModelCategoryEntryListParams

Request parameters for listing category entries.

Used by ModelCategoryInstance.entries.

Hierarchy

Index

Properties

externaloptionalexcept

except?: number

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.

externaloptionalfields

fields?: string

A comma-separated list of fields to look up on when searching using query or query:word. If undefined, all text fields will be searched on, including Visual Editor fields. Search is not case-sensitive.

For instance, to limit search on the “content” and “summary” fields of a model, pass 'content,summary'.

externaloptionallimit

limit?: number

The limit of items per page.

externaloptionalorder

order?: title:asc | title:desc | published_at:asc | published_at:desc | views:asc | views:desc

Define how entries will be ordered. Check this field type to see the allowed options.

externaloptionalpage

page?: number

The page requested.

externaloptionalquery

query?: string

A search query string.

For instance, searching for “out” will match both “check out!” and “about us”. Search is not case-sensitive.

externaloptionalquery:word

query:word?: string

A search query string that matches a specific word within boundaries. Search is not case-sensitive.

For instance, searching for “phone” will match “This is my phone!” but won’t match “This is my telephone!”.