Skip to content

Entries

GET entries/<id> gives one live entry, in all its languages.

What it has

  • type is page, blog, item, section, event or record.
  • template is always filled. Fall back to your default template for a key that you have not built.
  • version, routable, parent, sort, published_on, modified_at, updated_at, alternates and media. alternates gives the address per language, and x-default.
  • Per language, locales.<lang> holds:
title, menu_title, breadcrumb_title, path, address, intro, image, image_alt,
seo { description, keywords, robots, canonical, image },
ai { context },
search { text },
blocks [ … ], breadcrumbs [ { title, address } ],
children [ { id, type, title, address, intro, image, published_on, tags } ],
hints { lcp { mobile, desktop } }, json_ld [ … ]

Blog posts

  • blog holds published_on, image, table_of_contents and authors. Authors are pages, with job_title and same_as.
  • locales.<lang>.tags is [{name, slug, address}]. address is the overview, filtered on that tag.
  • locales.<lang>.related holds summaries, as in children. Each one has by, which is hand, ai or auto. They are already in order, and at most the number of the site.

The related posts that are filled in by themselves follow other posts. So the manifest gives each blog post a related_version. Fetch the post again when version or related_version differs.

What shows

There is one mechanism for blog posts and for the records of every module. Lightbolt works out what an item shows from three levels: the defaults, the choice of the overview page, and the own choice of the item. It only delivers the outcome. Your theme has the final say.

  • display on a post or record is {key: true|false}, for its own page.
    • The blog keys are image, date, updated, author, reading_time, tags, toc, share, related and prev_next. For prev_next, you pick the previous and next post in the same overview from its children, by date. Never by tag.
    • The keys of a record are image, f:<field> and r:<relation>.
  • Every summary of a post or record has display and display_own. That is in children, in related, and in the items of GET list. display is its card, worked out. display_own only holds its own choices. A blog summary also has authors, as [{id, title, address}].
  • An overview page has list_display and per_page. per_page is 0 for your default.
  • locales.<lang>.reading_minutes is on a post, and in each blog summary.
  • The manifest gives such entries a display_version. Fetch again when it differs.

Posts

A blog overview is a page with module: "blog". Its posts are its children.

The section posts shows posts anywhere. It has:

  • source: the id of an overview. With "", it is its own list on an overview, and every overview elsewhere;
  • tag, count and title;
  • layout: list, grid or carousel;
  • more;
  • display for its cards. The display_own of a card still wins.

Take the posts from your snapshot. On an overview, a section posts without source is where its own list goes. Without such a section, the list comes after the content.

Hints

  • hints.lcp is the image that was most often painted largest on this address, per device, from your reports. Give it fetchpriority="high" and no lazy loading, unless a section says what loads first.
  • carbon is on entries with an address. It holds the grams of CO₂ for a first visit, its rating, the bytes, and whether the host is green.

Good to know

  • address is path with the ending of the site. Link to that.
  • routable: false has no page of its own. Never answer its address as a page.
  • seo.keywords are focus words for the own check of the CMS, not for the page. The search of the site counts them.
  • ai.context says what the page answers, for AI agents. It is public text.
  • search.text is the plain text that the search of the site scores. See Search. It is missing when the page is not searchable in that language.

Also called: page JSON, post JSON, content item, document.

Last changed