[{"data":1,"prerenderedAt":1194},["ShallowReactive",2],{"navigation_docs":3,"-docs-cms-delivery-delivery-api":357,"-docs-cms-delivery-delivery-api-surround":1189,"docs-site-config":1179},[4,74,135,139,161,195,273],{"title":5,"path":6,"stem":7,"children":8},"Assets API","\u002Fdocs\u002Fassets","docs\u002Fassets\u002Findex",[9,10,32,57],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13,"children":14,"page":31},"Getting Started","\u002Fdocs\u002Fassets\u002Fgetting-started","docs\u002Fassets\u002F1.getting-started",[15,19,23,27],{"title":16,"path":17,"stem":18},"Base URL","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fbase-url","docs\u002Fassets\u002F1.getting-started\u002F1.base-url",{"title":20,"path":21,"stem":22},"Important Notes","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fimportant-notes","docs\u002Fassets\u002F1.getting-started\u002F2.important-notes",{"title":24,"path":25,"stem":26},"URL Format","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Furl-format","docs\u002Fassets\u002F1.getting-started\u002F3.url-format",{"title":28,"path":29,"stem":30},"Custom Domains","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fcustom-domains","docs\u002Fassets\u002F1.getting-started\u002F4.custom-domains",false,{"title":33,"path":34,"stem":35,"children":36,"page":31},"Usage","\u002Fdocs\u002Fassets\u002Fusage","docs\u002Fassets\u002F2.usage",[37,41,45,49,53],{"title":38,"path":39,"stem":40},"Transforms","\u002Fdocs\u002Fassets\u002Fusage\u002Ftransforms","docs\u002Fassets\u002F2.usage\u002F1.transforms",{"title":42,"path":43,"stem":44},"Caching","\u002Fdocs\u002Fassets\u002Fusage\u002Fcaching","docs\u002Fassets\u002F2.usage\u002F2.caching",{"title":46,"path":47,"stem":48},"Recipes","\u002Fdocs\u002Fassets\u002Fusage\u002Frecipes","docs\u002Fassets\u002F2.usage\u002F3.recipes",{"title":50,"path":51,"stem":52},"Best Practices","\u002Fdocs\u002Fassets\u002Fusage\u002Fbest-practices","docs\u002Fassets\u002F2.usage\u002F4.best-practices",{"title":54,"path":55,"stem":56},"Reference","\u002Fdocs\u002Fassets\u002Fusage\u002Freference","docs\u002Fassets\u002F2.usage\u002F5.reference",{"title":58,"path":59,"stem":60,"children":61,"page":31},"Integration","\u002Fdocs\u002Fassets\u002Fintegration","docs\u002Fassets\u002F3.integration",[62,66,70],{"title":63,"path":64,"stem":65},"Nuxt","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnuxt","docs\u002Fassets\u002F3.integration\u002F1.nuxt",{"title":67,"path":68,"stem":69},"Next.js","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnextjs","docs\u002Fassets\u002F3.integration\u002F2.nextjs",{"title":71,"path":72,"stem":73},"Plain HTML","\u002Fdocs\u002Fassets\u002Fintegration\u002Fhtml","docs\u002Fassets\u002F3.integration\u002F3.html",{"title":75,"path":76,"stem":77,"children":78},"Avvyr CMS","\u002Fdocs\u002Fcms","docs\u002Fcms\u002Findex",[79,80,92,105,118,131],{"title":75,"path":76,"stem":77},{"title":11,"path":81,"stem":82,"children":83,"page":31},"\u002Fdocs\u002Fcms\u002Fgetting-started","docs\u002Fcms\u002F1.getting-started",[84,88],{"title":85,"path":86,"stem":87},"Quickstart","\u002Fdocs\u002Fcms\u002Fgetting-started\u002Fquickstart","docs\u002Fcms\u002F1.getting-started\u002F1.quickstart",{"title":89,"path":90,"stem":91},"Keys and access","\u002Fdocs\u002Fcms\u002Fgetting-started\u002Fkeys-and-access","docs\u002Fcms\u002F1.getting-started\u002F2.keys-and-access",{"title":93,"path":94,"stem":95,"children":96,"page":31},"Content Model","\u002Fdocs\u002Fcms\u002Fcontent-model","docs\u002Fcms\u002F2.content-model",[97,101],{"title":98,"path":99,"stem":100},"Types and fields","\u002Fdocs\u002Fcms\u002Fcontent-model\u002Ftypes-and-fields","docs\u002Fcms\u002F2.content-model\u002F1.types-and-fields",{"title":102,"path":103,"stem":104},"Entries and publishing","\u002Fdocs\u002Fcms\u002Fcontent-model\u002Fentries-and-publishing","docs\u002Fcms\u002F2.content-model\u002F2.entries-and-publishing",{"title":106,"path":107,"stem":108,"children":109,"page":31},"Delivery","\u002Fdocs\u002Fcms\u002Fdelivery","docs\u002Fcms\u002F3.delivery",[110,114],{"title":111,"path":112,"stem":113},"Delivery API","\u002Fdocs\u002Fcms\u002Fdelivery\u002Fdelivery-api","docs\u002Fcms\u002F3.delivery\u002F1.delivery-api",{"title":115,"path":116,"stem":117},"Preview and live editing","\u002Fdocs\u002Fcms\u002Fdelivery\u002Fpreview","docs\u002Fcms\u002F3.delivery\u002F2.preview",{"title":119,"path":120,"stem":121,"children":122,"page":31},"Frameworks","\u002Fdocs\u002Fcms\u002Fframeworks","docs\u002Fcms\u002F4.frameworks",[123,127],{"title":124,"path":125,"stem":126},"JavaScript client","\u002Fdocs\u002Fcms\u002Fframeworks\u002Fjavascript-client","docs\u002Fcms\u002F4.frameworks\u002F1.javascript-client",{"title":128,"path":129,"stem":130},"Nuxt layer","\u002Fdocs\u002Fcms\u002Fframeworks\u002Fnuxt","docs\u002Fcms\u002F4.frameworks\u002F2.nuxt",{"title":132,"path":133,"stem":134},"Management API","\u002Fdocs\u002Fcms\u002Fmanagement-api","docs\u002Fcms\u002F5.management-api",{"title":136,"path":137,"stem":138},"Early Access","\u002Fdocs\u002Fearly-access","docs\u002Fearly-access",{"title":140,"path":141,"stem":142,"children":143},"Events API","\u002Fdocs\u002Fevents","docs\u002Fevents\u002Findex",[144,145],{"title":140,"path":141,"stem":142},{"title":11,"path":146,"stem":147,"children":148,"page":31},"\u002Fdocs\u002Fevents\u002Fgetting-started","docs\u002Fevents\u002F1.getting-started",[149,153,157],{"title":150,"path":151,"stem":152},"Subscribing","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fsubscribing","docs\u002Fevents\u002F1.getting-started\u002F1.subscribing",{"title":154,"path":155,"stem":156},"Event Delivery","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-delivery","docs\u002Fevents\u002F1.getting-started\u002F2.event-delivery",{"title":158,"path":159,"stem":160},"Event Reference","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-reference","docs\u002Fevents\u002F1.getting-started\u002F3.event-reference",{"title":162,"path":163,"stem":164,"children":165},"Integrations API","\u002Fdocs\u002Fintegrations","docs\u002Fintegrations\u002Findex",[166,167],{"title":162,"path":163,"stem":164},{"title":11,"path":168,"stem":169,"children":170,"page":31},"\u002Fdocs\u002Fintegrations\u002Fgetting-started","docs\u002Fintegrations\u002F1.getting-started",[171,175,179,183,187,191],{"title":172,"path":173,"stem":174},"Why Use It?","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwhy-integrations-api","docs\u002Fintegrations\u002F1.getting-started\u002F1.why-integrations-api",{"title":176,"path":177,"stem":178},"Use Cases","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwho-is-it-for","docs\u002Fintegrations\u002F1.getting-started\u002F2.who-is-it-for",{"title":180,"path":181,"stem":182},"Pre-built Connectors","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fpre-built-integrations","docs\u002Fintegrations\u002F1.getting-started\u002F3.pre-built-integrations",{"title":184,"path":185,"stem":186},"Custom Inbound","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fcustom-inbound-api","docs\u002Fintegrations\u002F1.getting-started\u002F4.custom-inbound-api",{"title":188,"path":189,"stem":190},"Event Lifecycle","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fevent-lifecycle","docs\u002Fintegrations\u002F1.getting-started\u002F5.event-lifecycle",{"title":192,"path":193,"stem":194},"API Endpoints","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fmanagement-api-endpoints","docs\u002Fintegrations\u002F1.getting-started\u002F6.management-api-endpoints",{"title":196,"path":197,"stem":198,"children":199},"MCP Server","\u002Fdocs\u002Fmcp","docs\u002Fmcp\u002Findex",[200,201,225,234,244],{"title":196,"path":197,"stem":198},{"title":11,"path":202,"stem":203,"children":204,"page":31},"\u002Fdocs\u002Fmcp\u002Fgetting-started","docs\u002Fmcp\u002F1.getting-started",[205,209,213,217,221],{"title":206,"path":207,"stem":208},"Claude","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude","docs\u002Fmcp\u002F1.getting-started\u002F1.claude",{"title":210,"path":211,"stem":212},"Claude Code","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude-code","docs\u002Fmcp\u002F1.getting-started\u002F2.claude-code",{"title":214,"path":215,"stem":216},"VS Code","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fvscode","docs\u002Fmcp\u002F1.getting-started\u002F3.vscode",{"title":218,"path":219,"stem":220},"Cursor","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fcursor","docs\u002Fmcp\u002F1.getting-started\u002F4.cursor",{"title":222,"path":223,"stem":224},"Verify the connection","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fverify","docs\u002Fmcp\u002F1.getting-started\u002F5.verify",{"title":226,"path":227,"stem":228,"children":229,"page":31},"Docs Server","\u002Fdocs\u002Fmcp\u002Fdocs-server","docs\u002Fmcp\u002F2.docs-server",[230],{"title":231,"path":232,"stem":233},"Docs server tools","\u002Fdocs\u002Fmcp\u002Fdocs-server\u002Ftools","docs\u002Fmcp\u002F2.docs-server\u002F1.tools",{"title":235,"path":236,"stem":237,"children":238},"API Server","\u002Fdocs\u002Fmcp\u002Fapi-server","docs\u002Fmcp\u002F3.api-server\u002Findex",[239,240],{"title":235,"path":236,"stem":237},{"title":241,"path":242,"stem":243},"Available tools","\u002Fdocs\u002Fmcp\u002Fapi-server\u002Ftools","docs\u002Fmcp\u002F3.api-server\u002F1.tools",{"title":245,"path":246,"stem":247,"children":248,"page":31},"Examples","\u002Fdocs\u002Fmcp\u002Fexamples","docs\u002Fmcp\u002F4.examples",[249,253,257,261,265,269],{"title":250,"path":251,"stem":252},"Exploring an API","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fexploring-an-api","docs\u002Fmcp\u002F4.examples\u002F1.exploring-an-api",{"title":254,"path":255,"stem":256},"Building a Feature","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fbuilding-a-feature","docs\u002Fmcp\u002F4.examples\u002F2.building-a-feature",{"title":258,"path":259,"stem":260},"Understanding Models","\u002Fdocs\u002Fmcp\u002Fexamples\u002Funderstanding-models","docs\u002Fmcp\u002F4.examples\u002F3.understanding-models",{"title":262,"path":263,"stem":264},"Code Review","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fcode-review","docs\u002Fmcp\u002F4.examples\u002F4.code-review",{"title":266,"path":267,"stem":268},"Combining MCP Servers","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fmulti-mcp","docs\u002Fmcp\u002F4.examples\u002F5.multi-mcp",{"title":270,"path":271,"stem":272},"Tips","\u002Fdocs\u002Fmcp\u002Fexamples\u002Ftips","docs\u002Fmcp\u002F4.examples\u002F6.tips",{"title":274,"path":275,"stem":276,"children":277,"page":31},"Storefront SDK","\u002Fdocs\u002Fstorefront-sdk","docs\u002Fstorefront-sdk",[278,290,323,338],{"title":11,"path":279,"stem":280,"children":281,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started","docs\u002Fstorefront-sdk\u002F1.getting-started",[282,286],{"title":283,"path":284,"stem":285},"Installation","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Finstallation","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F1.installation",{"title":287,"path":288,"stem":289},"Configuration","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Fconfiguration","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F2.configuration",{"title":291,"path":292,"stem":293,"children":294,"page":31},"Resources","\u002Fdocs\u002Fstorefront-sdk\u002Fresources","docs\u002Fstorefront-sdk\u002F2.resources",[295,299,303,307,311,315,319],{"title":296,"path":297,"stem":298},"Products","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts","docs\u002Fstorefront-sdk\u002F2.resources\u002F1.products",{"title":300,"path":301,"stem":302},"Cart","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcart","docs\u002Fstorefront-sdk\u002F2.resources\u002F2.cart",{"title":304,"path":305,"stem":306},"Auth","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fauth","docs\u002Fstorefront-sdk\u002F2.resources\u002F3.auth",{"title":308,"path":309,"stem":310},"Checkout & Shipping","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcheckout-shipping","docs\u002Fstorefront-sdk\u002F2.resources\u002F4.checkout-shipping",{"title":312,"path":313,"stem":314},"Orders, Returns & Reviews","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Forders-returns-reviews","docs\u002Fstorefront-sdk\u002F2.resources\u002F5.orders-returns-reviews",{"title":316,"path":317,"stem":318},"Customer assistant","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fassistant","docs\u002Fstorefront-sdk\u002F2.resources\u002F6.assistant",{"title":320,"path":321,"stem":322},"Products in images","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts-in-images","docs\u002Fstorefront-sdk\u002F2.resources\u002F7.products-in-images",{"title":128,"path":324,"stem":325,"children":326,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer","docs\u002Fstorefront-sdk\u002F3.nuxt-layer",[327,331,335],{"title":328,"path":329,"stem":330},"Overview","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Foverview","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F1.overview",{"title":332,"path":333,"stem":334},"Composables","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fcomposables","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F2.composables",{"title":316,"path":336,"stem":337},"\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fassistant","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F3.assistant",{"title":67,"path":339,"stem":340,"children":341,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs","docs\u002Fstorefront-sdk\u002F4.nextjs",[342,345,349,353],{"title":328,"path":343,"stem":344},"\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Foverview","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F1.overview",{"title":346,"path":347,"stem":348},"Hooks","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fhooks","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F2.hooks",{"title":350,"path":351,"stem":352},"Server helpers and proxy","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fserver","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F3.server",{"title":354,"path":355,"stem":356},"Components","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fcomponents","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F4.components",{"id":358,"title":111,"body":359,"description":1177,"extension":1178,"links":1179,"meta":1180,"navigation":432,"path":112,"seo":1187,"stem":113,"__hash__":1188},"docs\u002Fdocs\u002Fcms\u002F3.delivery\u002F1.delivery-api.md",{"type":360,"value":361,"toc":1169},"minimark",[362,383,388,398,442,453,467,471,653,659,663,907,921,924,993,1100,1104,1107,1149,1155,1159,1165],[363,364,365,366,370,371,374,375,378,379,382],"p",{},"Base URL: ",[367,368,369],"code",{},"https:\u002F\u002Fapi.avvyr.com\u002Fv1\u002Fcontent\u002F{siteId}",". Every request needs the site's key in ",[367,372,373],{},"x-cms-key"," (or ",[367,376,377],{},"?key=","). See ",[380,381,89],"a",{"href":90},".",[384,385,387],"h2",{"id":386},"versions-and-caching","Versions and caching",[363,389,390,391,394,395,382],{},"Every publish raises the site's version. Content is read under a version, ",[367,392,393],{},"\u002Fv\u002F{version}\u002F{locale}\u002F...",", and those responses never change: they are sent with ",[367,396,397],{},"Cache-Control: public, max-age=31536000, immutable",[399,400,405],"pre",{"className":401,"code":402,"language":403,"meta":404,"style":404},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","GET \u002Fversion\n# { \"version\": 42, \"locales\": [\"sv\", \"en\"], \"defaultLocale\": \"sv\" }   max-age=5\n\nGET \u002Fv\u002F42\u002Fsv\u002Fpages\u002Fom-oss\n","bash","",[367,406,407,420,427,434],{"__ignoreMap":404},[408,409,412,416],"span",{"class":410,"line":411},"line",1,[408,413,415],{"class":414},"sBMFI","GET",[408,417,419],{"class":418},"sfazB"," \u002Fversion\n",[408,421,423],{"class":410,"line":422},2,[408,424,426],{"class":425},"sHwdD","# { \"version\": 42, \"locales\": [\"sv\", \"en\"], \"defaultLocale\": \"sv\" }   max-age=5\n",[408,428,430],{"class":410,"line":429},3,[408,431,433],{"emptyLinePlaceholder":432},true,"\n",[408,435,437,439],{"class":410,"line":436},4,[408,438,415],{"class":414},[408,440,441],{"class":418}," \u002Fv\u002F42\u002Fsv\u002Fpages\u002Fom-oss\n",[363,443,444,445,448,449,452],{},"Ask for ",[367,446,447],{},"\u002Fversion"," first, then read under that version. If you ask for an old version, the API answers ",[367,450,451],{},"302"," to the same URL with the current version. The version is a cache key, not an archive.",[363,454,455,456,458,459,462,463,466],{},"Nothing needs purging when content is published: the next ",[367,457,447],{}," points at new URLs. ",[367,460,461],{},"@avvyr\u002Fcms"," and ",[367,464,465],{},"@avvyr\u002Fcms-nuxt"," do this for you.",[384,468,470],{"id":469},"endpoints","Endpoints",[472,473,474,490],"table",{},[475,476,477],"thead",{},[478,479,480,484,487],"tr",{},[481,482,483],"th",{},"Method",[481,485,486],{},"Path",[481,488,489],{},"Returns",[491,492,493,507,519,534,546,565,580,592,607,619,634],"tbody",{},[478,494,495,498,502],{},[496,497,415],"td",{},[496,499,500],{},[367,501,447],{},[496,503,504],{},[367,505,506],{},"{ version, locales, defaultLocale }",[478,508,509,511,516],{},[496,510,415],{},[496,512,513],{},[367,514,515],{},"\u002Fv\u002F{version}\u002F{locale}\u002Fpages",[496,517,518],{},"The home page document",[478,520,521,523,528],{},[496,522,415],{},[496,524,525],{},[367,526,527],{},"\u002Fv\u002F{version}\u002F{locale}\u002Fpages\u002F{path}",[496,529,530,531],{},"The document at that path, e.g. ",[367,532,533],{},"pages\u002Fblogg\u002Fvar-nya-soffa",[478,535,536,538,543],{},[496,537,415],{},[496,539,540],{},[367,541,542],{},"\u002Fv\u002F{version}\u002F{locale}\u002Fentries\u002F{entryId}",[496,544,545],{},"One document by id",[478,547,548,550,555],{},[496,549,415],{},[496,551,552],{},[367,553,554],{},"\u002Fv\u002F{version}\u002F{locale}\u002Fentries",[496,556,557,560,561],{},[367,558,559],{},"{ data, total }",", see ",[380,562,564],{"href":563},"#listing-entries","Listing entries",[478,566,567,569,574],{},[496,568,415],{},[496,570,571],{},[367,572,573],{},"\u002Fv\u002F{version}\u002F{locale}\u002Fsingletons\u002F{type}",[496,575,576,577],{},"The singleton's document, e.g. ",[367,578,579],{},"singletons\u002Fnavigation",[478,581,582,584,589],{},[496,583,415],{},[496,585,586],{},[367,587,588],{},"\u002Fv\u002F{version}\u002F{locale}\u002Fmanifest",[496,590,591],{},"Every published entry and folder, without fields",[478,593,594,596,601],{},[496,595,415],{},[496,597,598],{},[367,599,600],{},"\u002Fv\u002F{version}\u002F{locale}\u002Fbundle",[496,602,603,606],{},[367,604,605],{},"{ manifest, documents }",": the whole site in one response",[478,608,609,611,616],{},[496,610,415],{},[496,612,613],{},[367,614,615],{},"\u002Fchanges?from=&to=",[496,617,618],{},"What changed between two versions",[478,620,621,623,628],{},[496,622,415],{},[496,624,625],{},[367,626,627],{},"\u002F{locale}\u002Fsearch?q=&type=&limit=",[496,629,630,633],{},[367,631,632],{},"{ data: ManifestEntry[] }",", max-age 30 s",[478,635,636,638,647],{},[496,637,415],{},[496,639,640,643,644],{},[367,641,642],{},"\u002Fdraft\u002F{locale}\u002Fpages\u002F{path}",", ",[367,645,646],{},"\u002Fdraft\u002F{locale}\u002Fentries\u002F{entryId}",[496,648,649,650],{},"Drafts, see ",[380,651,652],{"href":116},"Preview",[363,654,655,656,382],{},"A path or id that is not published returns ",[367,657,658],{},"404",[384,660,662],{"id":661},"documents","Documents",[399,664,668],{"className":665,"code":666,"language":667,"meta":404,"style":404},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","type ManifestEntry = {\n  id: string\n  type: string                       \u002F\u002F the entry type's key\n  title: string\n  path: string | null                \u002F\u002F null for types that are not routable\n  folderId: string | null\n  order: number\n  publishedAt: string\n  firstPublishedAt: string\n  alternates: Record\u003Cstring, string | null>  \u002F\u002F the path in each other language\n  list: Record\u003Cstring, unknown>      \u002F\u002F the type's listFields\n}\n\ntype Document = ManifestEntry & {\n  locale: string\n  fields: Record\u003Cstring, unknown>    \u002F\u002F published values, see Types and fields\n}\n","ts",[367,669,670,686,698,711,720,739,754,765,775,785,817,841,847,852,869,879,902],{"__ignoreMap":404},[408,671,672,676,679,683],{"class":410,"line":411},[408,673,675],{"class":674},"spNyl","type",[408,677,678],{"class":414}," ManifestEntry",[408,680,682],{"class":681},"sMK4o"," =",[408,684,685],{"class":681}," {\n",[408,687,688,692,695],{"class":410,"line":422},[408,689,691],{"class":690},"swJcz","  id",[408,693,694],{"class":681},":",[408,696,697],{"class":414}," string\n",[408,699,700,703,705,708],{"class":410,"line":429},[408,701,702],{"class":690},"  type",[408,704,694],{"class":681},[408,706,707],{"class":414}," string",[408,709,710],{"class":425},"                       \u002F\u002F the entry type's key\n",[408,712,713,716,718],{"class":410,"line":436},[408,714,715],{"class":690},"  title",[408,717,694],{"class":681},[408,719,697],{"class":414},[408,721,723,726,728,730,733,736],{"class":410,"line":722},5,[408,724,725],{"class":690},"  path",[408,727,694],{"class":681},[408,729,707],{"class":414},[408,731,732],{"class":681}," |",[408,734,735],{"class":414}," null",[408,737,738],{"class":425},"                \u002F\u002F null for types that are not routable\n",[408,740,742,745,747,749,751],{"class":410,"line":741},6,[408,743,744],{"class":690},"  folderId",[408,746,694],{"class":681},[408,748,707],{"class":414},[408,750,732],{"class":681},[408,752,753],{"class":414}," null\n",[408,755,757,760,762],{"class":410,"line":756},7,[408,758,759],{"class":690},"  order",[408,761,694],{"class":681},[408,763,764],{"class":414}," number\n",[408,766,768,771,773],{"class":410,"line":767},8,[408,769,770],{"class":690},"  publishedAt",[408,772,694],{"class":681},[408,774,697],{"class":414},[408,776,778,781,783],{"class":410,"line":777},9,[408,779,780],{"class":690},"  firstPublishedAt",[408,782,694],{"class":681},[408,784,697],{"class":414},[408,786,788,791,793,796,799,802,805,807,809,811,814],{"class":410,"line":787},10,[408,789,790],{"class":690},"  alternates",[408,792,694],{"class":681},[408,794,795],{"class":414}," Record",[408,797,798],{"class":681},"\u003C",[408,800,801],{"class":414},"string",[408,803,804],{"class":681},",",[408,806,707],{"class":414},[408,808,732],{"class":681},[408,810,735],{"class":414},[408,812,813],{"class":681},">",[408,815,816],{"class":425},"  \u002F\u002F the path in each other language\n",[408,818,820,823,825,827,829,831,833,836,838],{"class":410,"line":819},11,[408,821,822],{"class":690},"  list",[408,824,694],{"class":681},[408,826,795],{"class":414},[408,828,798],{"class":681},[408,830,801],{"class":414},[408,832,804],{"class":681},[408,834,835],{"class":414}," unknown",[408,837,813],{"class":681},[408,839,840],{"class":425},"      \u002F\u002F the type's listFields\n",[408,842,844],{"class":410,"line":843},12,[408,845,846],{"class":681},"}\n",[408,848,850],{"class":410,"line":849},13,[408,851,433],{"emptyLinePlaceholder":432},[408,853,855,857,860,862,864,867],{"class":410,"line":854},14,[408,856,675],{"class":674},[408,858,859],{"class":414}," Document",[408,861,682],{"class":681},[408,863,678],{"class":414},[408,865,866],{"class":681}," &",[408,868,685],{"class":681},[408,870,872,875,877],{"class":410,"line":871},15,[408,873,874],{"class":690},"  locale",[408,876,694],{"class":681},[408,878,697],{"class":414},[408,880,882,885,887,889,891,893,895,897,899],{"class":410,"line":881},16,[408,883,884],{"class":690},"  fields",[408,886,694],{"class":681},[408,888,795],{"class":414},[408,890,798],{"class":681},[408,892,801],{"class":414},[408,894,804],{"class":681},[408,896,835],{"class":414},[408,898,813],{"class":681},[408,900,901],{"class":425},"    \u002F\u002F published values, see Types and fields\n",[408,903,905],{"class":410,"line":904},17,[408,906,846],{"class":681},[363,908,909,912,913,916,917,920],{},[367,910,911],{},"alternates"," gives you hreflang links. ",[367,914,915],{},"list"," holds the type's ",[367,918,919],{},"listFields",", enough to render cards and menus without fetching each document.",[384,922,564],{"id":923},"listing-entries",[399,925,927],{"className":401,"code":926,"language":403,"meta":404,"style":404},"GET \u002Fv\u002F42\u002Fsv\u002Fentries?type=article&sort=-publishedAt&limit=10\nGET \u002Fv\u002F42\u002Fsv\u002Fentries?folder={folderId}&deep=1\nGET \u002Fv\u002F42\u002Fsv\u002Fentries?ids=a,b,c&include=documents\n",[367,928,929,959,976],{"__ignoreMap":404},[408,930,931,933,936,939,943,946,949,951,954,956],{"class":410,"line":411},[408,932,415],{"class":414},[408,934,935],{"class":418}," \u002Fv\u002F42\u002Fsv\u002Fentries?type=article",[408,937,938],{"class":681},"&",[408,940,942],{"class":941},"sTEyZ","sort",[408,944,945],{"class":681},"=",[408,947,948],{"class":418},"-publishedAt",[408,950,938],{"class":681},[408,952,953],{"class":941},"limit",[408,955,945],{"class":681},[408,957,958],{"class":418},"10\n",[408,960,961,963,966,968,971,973],{"class":410,"line":422},[408,962,415],{"class":414},[408,964,965],{"class":418}," \u002Fv\u002F42\u002Fsv\u002Fentries?folder={folderId}",[408,967,938],{"class":681},[408,969,970],{"class":941},"deep",[408,972,945],{"class":681},[408,974,975],{"class":418},"1\n",[408,977,978,980,983,985,988,990],{"class":410,"line":429},[408,979,415],{"class":414},[408,981,982],{"class":418}," \u002Fv\u002F42\u002Fsv\u002Fentries?ids=a,b,c",[408,984,938],{"class":681},[408,986,987],{"class":941},"include",[408,989,945],{"class":681},[408,991,992],{"class":418},"documents\n",[472,994,995,1004],{},[475,996,997],{},[478,998,999,1002],{},[481,1000,1001],{},"Parameter",[481,1003],{},[491,1005,1006,1015,1029,1041,1051,1077,1089],{},[478,1007,1008,1012],{},[496,1009,1010],{},[367,1011,675],{},[496,1013,1014],{},"Entry type key",[478,1016,1017,1022],{},[496,1018,1019],{},[367,1020,1021],{},"folder",[496,1023,1024,1025,1028],{},"Folder id, or ",[367,1026,1027],{},"root"," for the top level",[478,1030,1031,1035],{},[496,1032,1033],{},[367,1034,970],{},[496,1036,1037,1040],{},[367,1038,1039],{},"1"," includes subfolders",[478,1042,1043,1048],{},[496,1044,1045],{},[367,1046,1047],{},"ids",[496,1049,1050],{},"Comma-separated ids; the order is kept",[478,1052,1053,1057],{},[496,1054,1055],{},[367,1056,942],{},[496,1058,1059,1062,1063,643,1066,643,1069,643,1071,643,1074],{},[367,1060,1061],{},"order"," (default), ",[367,1064,1065],{},"title",[367,1067,1068],{},"publishedAt",[367,1070,948],{},[367,1072,1073],{},"firstPublishedAt",[367,1075,1076],{},"-firstPublishedAt",[478,1078,1079,1086],{},[496,1080,1081,643,1083],{},[367,1082,953],{},[367,1084,1085],{},"offset",[496,1087,1088],{},"Default 100, max 1000",[478,1090,1091,1095],{},[496,1092,1093],{},[367,1094,987],{},[496,1096,1097,1099],{},[367,1098,661],{}," returns full documents instead of manifest rows",[384,1101,1103],{"id":1102},"syncing-a-whole-site","Syncing a whole site",[363,1105,1106],{},"For a site that keeps content in memory or in its own store:",[1108,1109,1110,1117,1123,1138],"ol",{},[1111,1112,1113,1114,1116],"li",{},"At startup, load ",[367,1115,600],{}," for each language.",[1111,1118,1119,1120,1122],{},"Poll ",[367,1121,447],{}," every few seconds. It is cached for 5 seconds and cheap.",[1111,1124,1125,1126,1129,1130,1133,1134,1137],{},"When the version moves, call ",[367,1127,1128],{},"\u002Fchanges?from={old}&to={new}",". It returns ",[367,1131,1132],{},"{ changed, removed, structure, complete }",": entry ids to refetch and ids to drop. ",[367,1135,1136],{},"structure: true"," means paths or folders changed, so reload the manifest.",[1111,1139,1140,1141,1144,1145,1148],{},"If ",[367,1142,1143],{},"complete"," is ",[367,1146,1147],{},"false",", the history does not cover the range. Load the bundle again.",[363,1150,1151,1152,1154],{},"Change history is kept for 90 days. ",[367,1153,465],{}," implements exactly this.",[384,1156,1158],{"id":1157},"search","Search",[363,1160,1161,1164],{},[367,1162,1163],{},"GET \u002F{locale}\u002Fsearch?q=sofa&type=article&limit=5"," searches titles and list fields of published entries. The default limit is 20 and the max is 100. It is meant for a site search box, not as a full-text engine.",[1166,1167,1168],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":404,"searchDepth":422,"depth":422,"links":1170},[1171,1172,1173,1174,1175,1176],{"id":386,"depth":422,"text":387},{"id":469,"depth":422,"text":470},{"id":661,"depth":422,"text":662},{"id":923,"depth":422,"text":564},{"id":1102,"depth":422,"text":1103},{"id":1157,"depth":422,"text":1158},"Read published content by path, id, type or singleton, with versioned URLs that can be cached forever","md",null,{"questions":1181},{"en":1182},[1183,1184,1185,1186],"Why does the delivery API put a version number in the URL?","How do I list all blog posts sorted by date?","How do I keep a local copy of the whole site in sync?","What does a document look like?",{"title":111,"description":1177},"k8gMPcWE-YFJMnYHUC3AxHajlzA9_zRpSPuND-t2ric",[1190,1192],{"title":102,"path":103,"stem":104,"description":1191,"children":-1},"Entries, folders and paths, drafts and publishing, scheduling and version history",{"title":115,"path":116,"stem":117,"description":1193,"children":-1},"Show drafts on your own site, and let the Avvyr editor edit your pages live in an iframe",1793388935521]