List contents
Lists the site's published content entries, paginated. Filter by locale, tag, category, slug or date range. With `groupByTranslation=true` on a multi-language site, each item carries its per-locale `translations`, published ones only.
/contentshttps://api.lynkow.com/storefront/{siteId}Query parameters
categorystringKeeps only the contents in the category with this slug
categoryIdsstring[]Keeps only the contents in at least one of these categories (UUIDs)
contentModeenum("standard" | "structured")One of: standard, structured
dateFromstringFilter from date (ISO 8601)
dateTostringFilter until date (ISO 8601)
excludeIdsstring[]Leaves out the items with these UUIDs
fallbackbooleanWith `locale`, `false` leaves out the items not translated into the requested locale. Single-language sites ignore it
groupByTranslationbooleanOn a multi-language site, `true` adds each content its `translations`. Without `locale`, it also lists one content per translation group
hasCategoryboolean`true` keeps the contents in at least one category, `false` those in none
hasTagboolean`true` keeps the contents with at least one tag, `false` those with none
idsstring[]Keeps only the items with these UUIDs
limitnumberNumber of items per page
localestringBCP 47 locale code (e.g. "en", "fr")
pagenumberPage number, starting at 1
publishedFromstringFilter by publish date from (ISO 8601)
publishedTostringFilter by publish date until (ISO 8601)
searchstringText to find in the title or slug, case-insensitive
slugstringURL-friendly identifier, unique per site and locale
slugsstring[]Keeps only the items whose slug is one of these
sortByenum("created_at" | "updated_at" | "published_at" | "title" | "slug" | "display_order")One of: created_at, updated_at, published_at, title, slug, display_order
sortOrderenum("asc" | "desc")One of: asc, desc
statusenum("draft" | "published" | "archived" | "scheduled")One of: draft, published, archived, scheduled
tagstringKeeps only the contents carrying the tag with this slug
tagIdsstring[]Keeps only the contents with at least one of these tags (UUIDs)
translationGroupIdstringTranslation group UUID (links translations across locales). UUID format
typestringResource type