CategoriesListResponse
Interface
Response from categories.list().
Returns all categories (flat list, not paginated) with their content counts.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | How blog content URLs are constructed for this site:<br>- |
|
| No | Flat array of all categories with their published content count.<br>Not paginated -- all categories are returned in a single response. |
|
| No | Active locale code (e.g. |
CategoryDetailResponse
Interface
Response from categories.getBySlug().
Contains the full category details along with its paginated content list.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Full category details including description, image, content count,<br>schema (for structured categories), and parent info. |
|
| No | Paginated list of published content summaries belonging to this category.<br>Supports the same pagination options as |
|
| No | Active locale code (e.g. |
CategoryResolveResponse
Interface
Path resolution response when the resolved path matches a category.
Returned by paths.resolve() when the given URL corresponds to a category listing.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Blog URL mode active on this site ( |
|
| No | Full category details including description, image, content count,<br>and parent category reference. |
|
| No | Paginated list of published content summaries belonging to the resolved category.<br>Pagination can be controlled via query parameters on the resolve request. |
|
| No | Locale that was resolved for this path (e.g. |
|
| No | Discriminator field. Always |
CategoryTreeResponse
Interface
Response from categories.tree().
Returns categories organized in a parent-child hierarchy.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | How blog content URLs are constructed for this site:<br>- |
|
| No | Root-level category nodes, each containing nested |
|
| No | Active locale code (e.g. |
ConsentLogResponse
Interface
Response from cookies.logConsent().
Records the user's cookie consent preferences for GDPR compliance.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Unique UUID identifying this consent record.<br>Can be stored client-side as proof of consent for auditing purposes.<br>Format: UUID v4 (e.g. |
|
| No | Confirmation message (e.g. "Consent recorded"). |
ContentResolveResponse
Interface
Path resolution response when the resolved path matches a content article.
Returned by paths.resolve() when the given URL corresponds to a published article.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Blog URL mode active on this site ( |
|
| No | Full content object for the matched article, including body, SEO fields,<br>categories, tags, author, and customData. |
|
| No | Locale that was resolved for this path (e.g. |
|
| No | Discriminator field. Always |
ContentsListResponse
Interface
Response from contents.list().
Returns content summaries (without body) for performance.
Use contents.getBySlug() to fetch the full content with body and relations.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Array of content summaries for the current page.<br>Each summary omits the full |
|
| No | Pagination metadata for navigating through the result set. |
FormSubmitResponse
Interface
Response from forms.submit().
The status field determines whether the submission was immediately accepted
or requires further action (e.g. email confirmation for double opt-in).
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Human-readable message suitable for display to the user.<br>Corresponds to the form's configured |
|
| No | Submission outcome:<br>- |
|
| Yes | Auto-incremented submission ID.<br>Only present when |
GlobalBlockResponse
Interface
Response from blocks.getBySlug().
Returns a single global block with its fully resolved data.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | The global block with all DataSource references resolved to actual data.<br>Check |
PagesListResponse
Interface
Response from pages.list().
Returns page summaries (without resolved data) in a single non-paginated response.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Array of page summaries. Does not include the resolved |
PaginatedResponse
Interface
Generic paginated response wrapping any item type. Used internally by the SDK; most endpoints return a concrete typed response instead.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Array of items for the current page. Empty array when no results match. |
|
| No | Pagination metadata describing total count, page position, and navigation flags. |
PaginationMeta
Interface
Pagination metadata returned with every paginated list response. All numeric values are integers. Page numbering starts at 1.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | 1-based index of the current page.<br>Always between 1 and lastPage inclusive. |
|
| No | 1-based index of the first page. Always 1. |
|
| No |
|
|
| No |
|
|
| No | 1-based index of the last page.<br>Computed as |
|
| No | Maximum number of items returned per page.<br>Corresponds to the |
|
| No | Total number of items matching the query across all pages.<br>Always >= 0. When 0, data is an empty array. |
PathsListResponse
Interface
Response from paths.list().
Used for static site generation (SSG/ISR) to discover all renderable paths.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | How blog content URLs are constructed for this site:<br>- |
|
| No | Active locale code (e.g. |
|
| No | Array of all published content and category paths.<br>Includes every locale variant. Use this to generate static pages<br>with Next.js |
ResolveResponse
TypeAlias
Union type for path resolution responses.
Use the type discriminator field to narrow to the specific response:
type ResolveResponse = ContentResolveResponse | CategoryResolveResponseReviewsListResponse
Interface
Response from reviews.list().
Only approved reviews are returned through the public API.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Array of approved reviews for the current page.<br>Reviews with status other than |
|
| No | Pagination metadata for navigating through the result set. |
ReviewSubmitResponse
Interface
Response from reviews.submit().
The status field depends on the site's review moderation settings.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Human-readable message suitable for display to the user.<br>Content varies based on whether the review was auto-approved or queued for moderation. |
|
| Yes | Auto-incremented review ID.<br>Only present when |
|
| No | Submission outcome:<br>- |
SiteConfigResponse
Interface
Response from site.getConfig().
Contains basic site metadata and all resolved global blocks.
Typically fetched once at app initialization and cached.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Top-level data wrapper. |
TagsListResponse
Interface
Response from tags.list().
Returns all tags in a single non-paginated response.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Flat array of all tags for the current locale.<br>Not paginated -- all tags are returned at once. |