delivery_list
Fetch published content of one type for website listings, with pagination, sorting, and equality filters. Returns items and total.
Instructions
List the published content of one type as the website receives it (e.g. every BlogPost for a listing). Supports pagination (limit/offset), sorting and equality filters on data fields; without sort it follows the parent's declared child order. Private fields are removed. Returns { items, total }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. | |
| sort | No | name | createdAt | data.<field>; prefix - for descending | |
| type | Yes | Content type name, e.g. 'BlogPost'. | |
| limit | No | Page size, 1-500. | |
| filter | No | Equality filters on data fields, e.g. {"author": "Jane"} | |
| locale | No | Locale code. Omit for the document's own locale (its site-default variant, else its only variant). | |
| offset | No | Items to skip, for paging. | |
| preview | No | true = read the latest drafts as the preview pane shows them (needs site-wide read access). Default false: published content only, exactly what visitors get. | |
| populate | No | How many levels of references and shared blocks to resolve inline, 0-4 (default 0: references stay as ids). |