TentoCMS
Interfaces

Interface: BlogPostListOptions

Options for listing blog posts

Options for listing blog posts

Extends

Properties

PropertyTypeDescriptionInherited from
categoryId?stringFilter by category ID-
filters?FilterConditionAdvanced filters for additional filtering-
includeContent?booleanWhen true, each list item includes the full content field (HTML/markdown). Omitted by default — list responses are lighter without the body. Use getBySlug to fetch a single post with content, or set this to true for use-cases like RSS feed generation that need all bodies in one request.-
limit?numberNumber of items per page-
media?MediaMode-MediaOption.media
page?numberPage number for pagination (1-indexed)-
preview?boolean-PreviewOption.preview
search?stringSearch query for title/content-
sort?stringSort order using the -field prefix convention: prefix with - for descending, no prefix for ascending. Comma-separate multiple fields for multi-field sort. Examples: - sort: '-publishedAt' — newest first (descending) - sort: 'title' — alphabetical ascending - sort: '-publishedAt,title' — multi-field-
tagId?stringFilter by tag ID-
Copyright © 2026