Create a site block
Creates a new site block with a name, type, and optional schema. The slug is auto-generated from the name.
/site-blockshttps://api.lynkow.com/v1Request bodyrequired
seoobjectSEO metadata for the block: meta title/description, keywords, Open Graph, Twitter Card, canonical URL, noindex, and sitemap priority/changefreq
ogUrlstringnoIndexbooleanogImageunionogTitlestringkeywordsarray<string>metaTitlestringogSiteNamestringtwitterCardenumOne of:
summarysummary_large_imageappplayercanonicalUrlstringtwitterImageuniontwitterTitlestringogDescriptionstringmetaDescriptionstringsitemapPrioritynumbersitemapChangefreqenumOne of:
alwayshourlydailyweeklymonthlyyearlynevertwitterDescriptionstring
dataobjectResource data object
namestringrequiredRequired. Display name. 1-255 characters
pathunionStorefront URL path with a `.md` suffix. Any path that resolves to a published content or page can be appended with `.md` to receive the Markdown rendering.
slugstringrequiredRequired. URL-friendly identifier, unique per site and locale. 1-100 characters
tagsarray<string>Max 10 characters. Array of strings
typeenumrequiredRequired. Resource type. One of: global, page
One of:
globalpageschemaobjectrequiredRequired. Field schema definition
fieldsarray<any>required
llmContentunionMarkdown content for the page surfaced to LLM crawlers (e.g. llms.txt)
jsonLdGrapharray<object>Max 50 characters. Array of objects
idstringdataanyrequiredtypestringrequiredsourceenumOne of:
presetcustom
jsonLdConfigobjectJSON-LD structured-data configuration: enabled flag, schema type (WebPage, AboutPage, ContactPage, FAQPage, CollectionPage), include organization/breadcrumb flags, and custom fields
typeenumrequiredOne of:
WebPageAboutPageContactPageFAQPageCollectionPageenabledbooleanrequiredcustomFieldsobjectincludeBreadcrumbbooleanrequiredincludeOrganizationbooleanrequired
jsonLdExclusionsarray<string>Max 50 characters. Array of strings