Related services: ContentsService:
lynkow.contents.getBySlug(),lynkow.contents.list()| TagsService:lynkow.tags.list()
Author
Interface
The author of a content item. Corresponds to the user who created the content in the admin dashboard.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Absolute URL to the author's avatar image, or |
|
| No | The author's display name (e.g. |
|
| No | Author ID (UUID), the same for every article by this author. |
Content
Interface
A full article with body, SEO metadata, structured data and relations, returned by
contents.getBySlug(). It extends ContentSummary with the fields lists leave out.
Extends: ContentSummary
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Published translations of this article in the site's enabled locales, for |
|
| No | The content author, or |
|
| No | Article body as HTML, for |
|
| Yes | Site-relative path search engines should index. Present only when the request carried a locale.<br>Equals |
|
| No | Absolute canonical URL, max 1000 characters: the editor's override when set, else on a fallback the<br>absolute |
|
| No | Categories of the article, in the article's locale. On a nested blog the first one builds |
|
| No | ISO 8601 datetime when the content was created (e.g. |
|
| Yes | Field values of structured content, shaped by the category's schema, with rich text fields as HTML.<br> |
|
| Yes | Manual sort position set by the editor. |
|
| No | Plain-text summary for cards and previews, written by the editor. |
|
| No | Absolute URL to the original (full-resolution) featured image.<br> |
|
| Yes | Alt text of the featured image for this locale, max 255 characters. |
|
| Yes | Resized versions of the featured image on the Lynkow CDN, as |
|
| No | Article ID (UUID). |
|
| Yes |
|
|
| Yes | Reserved |
|
| Yes | JSON-LD nodes set on this article. Already merged into StructuredData.graph, which you should read instead. |
|
| No | Comma-separated SEO keywords (e.g. |
|
| No | BCP 47 code of the locale served: the requested one, or another when |
|
| No | Custom meta description for SEO. Max 500 characters.<br> |
|
| No | Custom meta title for SEO. Max 255 characters.<br> |
|
| No | When |
|
| No | When |
|
| No | Open Graph description used when the content is shared on social networks.<br> |
|
| No | Absolute URL to the Open Graph image for social sharing.<br> |
|
| Yes | Alt text of the Open Graph image for this locale, max 255 characters, for |
|
| Yes | CDN-optimized variants of the Open Graph image at multiple preset sizes.<br> |
|
| No | Open Graph title used when the content is shared on social networks.<br> |
|
| No | Site-relative URL path for links: blog prefix, category chain on a nested blog, and a locale prefix<br>for locales other than the site default, such as |
|
| No | ISO 8601 datetime when the content was published (e.g. |
|
| Yes | BCP 47 locale code the request asked for (e.g. |
|
| No | URL slug, unique per site and locale, such as |
|
| No | Publication status. Always |
|
| No | Pre-generated Article and FAQ JSON-LD. |
|
| No | Tags associated with this content. Can be empty.<br>Tags are flat labels (no hierarchy) used for filtering and grouping content. |
|
| No | Article title in the served locale. |
|
| No |
|
|
| Yes | Content type, |
|
| No | ISO 8601 datetime of the last modification (e.g. |
ContentAlternate
Interface
One language version of the same content, used to build hreflang link tags.
path is site-relative: prepend your base URL before emitting a <link rel="alternate">.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No |
|
|
| No | BCP 47 locale code (e.g. |
|
| No | Site-relative path of this locale's version, without the domain. Locales other than the site<br>default are prefixed, such as |
ContentBody
TypeAlias
Article body as an HTML string, converted from the editor content by the API. It includes formatting, images, tables, code blocks and FAQ blocks.
type ContentBody = stringContentSummary
Interface
An article as it appears in a list: the rows of contents.list() and the contents of
categories.getBySlug(). It has no body, customData or structuredData.
contents.list() rows also carry SEO fields (metaTitle, ogImage, noIndex, ...) and the
author, categories and tags relations, which this type does not declare.
Use Content from contents.getBySlug() for the full typed record.
Extends: LocaleResolution
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Site-relative path search engines should index. Present only when the request carried a locale.<br>Equals |
|
| No | ISO 8601 datetime when the content was created (e.g. |
|
| Yes | Manual sort position set by the editor. |
|
| No | Plain-text summary for cards and previews, written by the editor. |
|
| No | Absolute URL to the original (full-resolution) featured image.<br> |
|
| Yes | Alt text of the featured image for this locale, max 255 characters. |
|
| Yes | Resized versions of the featured image on the Lynkow CDN, as |
|
| No | Article ID (UUID). |
|
| Yes |
|
|
| No | BCP 47 code of the locale served: the requested one, or another when |
|
| No | Site-relative URL path for links: blog prefix, category chain on a nested blog, and a locale prefix<br>for locales other than the site default, such as |
|
| No | ISO 8601 datetime when the content was published (e.g. |
|
| Yes | BCP 47 locale code the request asked for (e.g. |
|
| No | URL slug, unique per site and locale, such as |
|
| No | Article title in the served locale. |
FaqItem
Interface
A question and answer extracted from an article body, either from a FAQ block
('explicit') or from a heading followed by a paragraph ('heading').
Each item can be switched on or off for the JSON-LD FAQPage schema.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | The answer rendered as an HTML string.<br>May contain inline formatting (bold, italic, links, etc.).<br>Render with |
|
| No | The answer as plain text with all HTML tags stripped.<br>Useful for meta descriptions, search indexing, or accessibility fallbacks. |
|
| No | Whether this FAQ item is included in the generated JSON-LD FAQPage schema.<br>Toggled by content editors in the admin dashboard. Defaults to |
|
| No | Deterministic identifier derived from the question text.<br>8-character MD5 hash of the normalized (lowercased, trimmed) question.<br>Stable across re-saves as long as the question text doesn't change. |
|
| No | The question text, as plain text (no HTML).<br>Extracted from the heading content or faqQuestion node. |
|
| No | How this FAQ was detected:<br>- |
StructuredData
Interface
The JSON-LD structured data of an article, served as content.structuredData.
Emit each jsonLd object, or StructuredData.graph, in a <script type="application/ld+json">
tag through an escaping serializer such as renderJsonLdGraph, not a raw JSON.stringify().
For hreflang tags use Content.alternates: the alternates here is a copy that can be stale.
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Internal change-detection hash of the resolved author. Absent on older rows. |
|
| No | Internal change-detection hash of the article body. |
|
| Yes | Internal change-detection hash of the FAQ settings. Absent on older rows. |
|
| No | ISO 8601 datetime the structured data was last (re)generated. |
|
| No | Schema format version. Currently |
|
| No | Language versions as captured when the structured data was generated, so it can be stale. Prefer Content.alternates. |
|
| No | Article-related structured data. |
|
| No | FAQ-related structured data, or |
|
| Yes | Resolved schema.org |
|
| No | BCP 47 locale the structured data was generated for. |
StructuredDataAlternate
TypeAlias
type StructuredDataAlternate = ContentAlternateTag
Interface
A flat label on an article. Filter articles with contents.list({ tag: slug }).
Each language version of a tag is its own record with its own id: match a tag across
locales with translationGroupId. On a read with a locale, a tag also carries the
LocaleResolution signals requestedLocale and isFallback.
Extends: LocaleResolution
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Tag ID (UUID), different in each locale. |
|
| Yes |
|
|
| Yes | BCP 47 locale served, which differs from the requested one on a fallback. Absent on tags embedded in |
|
| No | Display name in the served locale, such as |
|
| Yes | BCP 47 locale code the request asked for (e.g. |
|
| No | URL slug, unique per site and locale and different in each locale. Pass it as the |
|
| Yes | ID shared by every language version of the tag, for matching across locales. Sent by |
TipTapMark
Interface
A TipTap inline mark (bold, italic, link) applied to a text node.
Needed only for custom rendering: Content.body is already HTML.
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Mark-specific attributes. For example:<br>- |
|
| No | The mark type. Common built-in types include |
TipTapNode
Interface
A TipTap editor node, a block or inline element of the content tree.
Needed only for custom rendering or content analysis: Content.body is already HTML.
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Node attributes, such as |
|
| Yes | Ordered child nodes forming the content tree.<br>Block-level nodes (paragraphs, headings, lists) contain other nodes.<br>Leaf nodes like |
|
| Yes | Inline marks applied to this text node (bold, italic, link, etc.).<br>Only meaningful on |
|
| Yes | Text content, present only on |
|
| No | The node type. Determines the semantic meaning and rendering behavior.<br>Common types: |