[{"data":1,"prerenderedAt":1200},["ShallowReactive",2],{"navigation_docs":3,"-docs-cms-content-model-entries-and-publishing":357,"-docs-cms-content-model-entries-and-publishing-surround":1195,"docs-site-config":1184},[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":102,"body":359,"description":1182,"extension":1183,"links":1184,"meta":1185,"navigation":1192,"path":103,"seo":1193,"stem":104,"__hash__":1194},"docs\u002Fdocs\u002Fcms\u002F2.content-model\u002F2.entries-and-publishing.md",{"type":360,"value":361,"toc":1171},"minimark",[362,375,380,552,569,619,624,645,657,677,681,688,696,747,753,760,833,837,873,890,897,900,982,986,1003,1007,1056,1079,1093,1097,1147,1167],[363,364,365,366,370,371,374],"p",{},"All paths on this page are relative to ",[367,368,369],"code",{},"https:\u002F\u002Fapi.avvyr.com\u002Fv1\u002Fcms\u002Fsites\u002F{siteId}"," and take an Avvyr API key in ",[367,372,373],{},"x-api-key",".",[376,377,379],"h2",{"id":378},"entries","Entries",[381,382,387],"pre",{"className":383,"code":384,"language":385,"meta":386,"style":386},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","POST \u002Fentries\n{ \"typeKey\": \"page\", \"title\": \"Sofas\", \"folderId\": null,\n  \"slug\": { \"sv\": \"soffor\", \"en\": \"sofas\" }, \"locales\": [\"sv\", \"en\"], \"fields\": {} }\n","bash","",[367,388,389,402,458],{"__ignoreMap":386},[390,391,394,398],"span",{"class":392,"line":393},"line",1,[390,395,397],{"class":396},"sBMFI","POST",[390,399,401],{"class":400},"sfazB"," \u002Fentries\n",[390,403,405,409,412,416,419,422,425,428,430,433,435,437,439,442,444,446,448,451,453,455],{"class":392,"line":404},2,[390,406,408],{"class":407},"sMK4o","{",[390,410,411],{"class":396}," \"typeKey\"",[390,413,415],{"class":414},"s2Zo4",":",[390,417,418],{"class":407}," \"",[390,420,421],{"class":400},"page",[390,423,424],{"class":407},"\"",[390,426,427],{"class":400},",",[390,429,418],{"class":407},[390,431,432],{"class":400},"title",[390,434,424],{"class":407},[390,436,415],{"class":400},[390,438,418],{"class":407},[390,440,441],{"class":400},"Sofas",[390,443,424],{"class":407},[390,445,427],{"class":400},[390,447,418],{"class":407},[390,449,450],{"class":400},"folderId",[390,452,424],{"class":407},[390,454,415],{"class":400},[390,456,457],{"class":400}," null,\n",[390,459,461,464,466,469,471,474,476,478,480,483,485,487,489,492,494,496,498,501,503,506,508,511,513,515,519,521,523,525,528,530,532,534,537,539,542,544,546,549],{"class":392,"line":460},3,[390,462,463],{"class":396},"  \"slug\"",[390,465,415],{"class":414},[390,467,468],{"class":400}," {",[390,470,418],{"class":407},[390,472,473],{"class":400},"sv",[390,475,424],{"class":407},[390,477,415],{"class":400},[390,479,418],{"class":407},[390,481,482],{"class":400},"soffor",[390,484,424],{"class":407},[390,486,427],{"class":400},[390,488,418],{"class":407},[390,490,491],{"class":400},"en",[390,493,424],{"class":407},[390,495,415],{"class":400},[390,497,418],{"class":407},[390,499,500],{"class":400},"sofas",[390,502,424],{"class":407},[390,504,505],{"class":400}," },",[390,507,418],{"class":407},[390,509,510],{"class":400},"locales",[390,512,424],{"class":407},[390,514,415],{"class":400},[390,516,518],{"class":517},"sTEyZ"," [",[390,520,424],{"class":407},[390,522,473],{"class":400},[390,524,424],{"class":407},[390,526,527],{"class":517},", ",[390,529,424],{"class":407},[390,531,491],{"class":400},[390,533,424],{"class":407},[390,535,536],{"class":400},"],",[390,538,418],{"class":407},[390,540,541],{"class":400},"fields",[390,543,424],{"class":407},[390,545,415],{"class":400},[390,547,548],{"class":400}," {}",[390,550,551],{"class":400}," }\n",[363,553,554,555,558,559,562,563,565,566,374],{},"The answer is ",[367,556,557],{},"201"," with the entry and ",[367,560,561],{},"status: \"draft\"",". ",[367,564,432],{}," is required and is the entry's name in the app. A second entry of a singleton type returns ",[367,567,568],{},"409 CMS_SINGLETON_EXISTS",[570,571,572,585],"table",{},[573,574,575],"thead",{},[576,577,578,582],"tr",{},[579,580,581],"th",{},"Status",[579,583,584],{},"Meaning",[586,587,588,599,609],"tbody",{},[576,589,590,596],{},[591,592,593],"td",{},[367,594,595],{},"draft",[591,597,598],{},"Never published, or unpublished",[576,600,601,606],{},[591,602,603],{},[367,604,605],{},"published",[591,607,608],{},"The draft and the published version are the same",[576,610,611,616],{},[591,612,613],{},[367,614,615],{},"modified",[591,617,618],{},"Published, with unpublished changes in the draft",[620,621,623],"h3",{"id":622},"writing-fields","Writing fields",[363,625,626,629,630,527,632,527,635,527,637,527,640,642,643,374],{},[367,627,628],{},"PATCH \u002Fentries\u002F{entryId}"," takes ",[367,631,432],{},[367,633,634],{},"slug",[367,636,450],{},[367,638,639],{},"order",[367,641,510],{}," and ",[367,644,541],{},[646,647,650,656],"callout",{"color":648,"icon":649},"amber","i-lucide-triangle-alert",[651,652,653,655],"strong",{},[367,654,541],{}," replaces the whole draft."," Read the entry, change what you mean to change and send every field back. A body with one block deletes the others.",[658,659,660,664,667],"ul",{},[661,662,663],"li",{},"Write only the fields the type defines. Other keys are kept in the draft but never published.",[661,665,666],{},"Block ids are strings you choose, unique within the entry. Keep the id of an existing block: the editor and live preview follow blocks by id.",[661,668,669,672,673,676],{},[367,670,671],{},"GET \u002Fentries?folderId=&type=&q=&status=&scheduled=&limit=&offset="," lists entries. ",[367,674,675],{},"folderId=root"," gives the top level.",[376,678,680],{"id":679},"folders-and-paths","Folders and paths",[363,682,683,684,687],{},"A routable entry's path is ",[367,685,686],{},"\u002F"," + its folders' segments + its slug, per language:",[381,689,694],{"className":690,"code":692,"language":693},[691],"language-text","folder \"blog\" (segment sv: \"blogg\", en: \"blog\")\n  entry \"Our new sofa\" (slug sv: \"var-nya-soffa\", en: \"our-new-sofa\")\n\nsv: \u002Fblogg\u002Fvar-nya-soffa\nen: \u002Fblog\u002Four-new-sofa\n","text",[367,695,692],{"__ignoreMap":386},[658,697,698,705,719,731,734,740],{},[661,699,700,701,704],{},"A folder with ",[367,702,703],{},"inPath: false"," groups entries in the app without adding a segment.",[661,706,707,708,711,712,715,716,374],{},"A folder's ",[651,709,710],{},"index entry"," (",[367,713,714],{},"indexEntryId",") gets the folder's own path, ",[367,717,718],{},"\u002Fblogg",[661,720,721,722,711,725,728,729,374],{},"The site's ",[651,723,724],{},"home entry",[367,726,727],{},"homeEntryId"," on the site) gets ",[367,730,686],{},[661,732,733],{},"A missing slug or segment in a language falls back to the default language.",[661,735,736,737,374],{},"Slugs and segments start with a letter or digit and may contain letters, digits and ",[367,738,739],{},". _ ~ -",[661,741,742,743,746],{},"Paths never include a language prefix. How the language appears in your URLs (",[367,744,745],{},"\u002Fen\u002F...",", a domain per language) is up to your site.",[363,748,749,750,374],{},"Publishing an entry whose path another published entry already has returns ",[367,751,752],{},"409 CMS_PATH_CONFLICT",[363,754,755,756,759],{},"Folders have no draft. Renaming or moving a folder (",[367,757,758],{},"PATCH \u002Ffolders\u002F{folderId}",") changes the published paths right away and creates a new version.",[570,761,762,775],{},[573,763,764],{},[576,765,766,769,772],{},[579,767,768],{},"Method",[579,770,771],{},"Path",[579,773,774],{},"Body",[586,776,777,790,803,818],{},[576,778,779,782,787],{},[591,780,781],{},"GET",[591,783,784],{},[367,785,786],{},"\u002Ffolders",[591,788,789],{},"All folders, flat",[576,791,792,794,798],{},[591,793,397],{},[591,795,796],{},[367,797,786],{},[591,799,800],{},[367,801,802],{},"{ name, parentId?, segment: { [locale]: string }, inPath? }",[576,804,805,808,813],{},[591,806,807],{},"PATCH",[591,809,810],{},[367,811,812],{},"\u002Ffolders\u002F{folderId}",[591,814,815],{},[367,816,817],{},"{ name?, parentId?, segment?, inPath?, indexEntryId?, order? }",[576,819,820,823,827],{},[591,821,822],{},"DELETE",[591,824,825],{},[367,826,812],{},[591,828,829,832],{},[367,830,831],{},"409 CMS_FOLDER_NOT_EMPTY"," if it has content",[376,834,836],{"id":835},"publishing","Publishing",[381,838,840],{"className":383,"code":839,"language":385,"meta":386,"style":386},"POST \u002Fentries\u002F{entryId}\u002Fpublish     # → { entry, version }\nPOST \u002Fentries\u002F{entryId}\u002Funpublish   # → { entry, version }\nPOST \u002Fentries\u002F{entryId}\u002Fdiscard     # reset the draft to the published version\n",[367,841,842,853,863],{"__ignoreMap":386},[390,843,844,846,849],{"class":392,"line":393},[390,845,397],{"class":396},[390,847,848],{"class":400}," \u002Fentries\u002F{entryId}\u002Fpublish",[390,850,852],{"class":851},"sHwdD","     # → { entry, version }\n",[390,854,855,857,860],{"class":392,"line":404},[390,856,397],{"class":396},[390,858,859],{"class":400}," \u002Fentries\u002F{entryId}\u002Funpublish",[390,861,862],{"class":851},"   # → { entry, version }\n",[390,864,865,867,870],{"class":392,"line":460},[390,866,397],{"class":396},[390,868,869],{"class":400}," \u002Fentries\u002F{entryId}\u002Fdiscard",[390,871,872],{"class":851},"     # reset the draft to the published version\n",[363,874,875,876,642,879,882,883,886,887,374],{},"Publishing validates the draft: required fields, choices, ",[367,877,878],{},"min",[367,880,881],{},"max",", references and the path. Errors come back as ",[367,884,885],{},"400 CMS_VALIDATION"," with ",[367,888,889],{},"details: [{ path, message }]",[363,891,892,893,896],{},"Every publish, unpublish or folder change raises the site's ",[651,894,895],{},"version"," by one. The delivery API serves content per version, so the new content is live as soon as your site asks for the new version.",[363,898,899],{},"To publish several entries as one change, use the batch endpoints. They produce a single version:",[381,901,903],{"className":383,"code":902,"language":385,"meta":386,"style":386},"POST \u002Fpublish     { \"entryIds\": [\"…\", \"…\"] }   # → { published, failed: [{ id, errorCode, details }], version }\nPOST \u002Funpublish   { \"entryIds\": [\"…\"] }         # → { version }\n",[367,904,905,950],{"__ignoreMap":386},[390,906,907,909,912,915,917,920,922,924,926,928,931,933,935,937,939,941,944,947],{"class":392,"line":393},[390,908,397],{"class":396},[390,910,911],{"class":400}," \u002Fpublish",[390,913,914],{"class":400},"     {",[390,916,418],{"class":407},[390,918,919],{"class":400},"entryIds",[390,921,424],{"class":407},[390,923,415],{"class":400},[390,925,518],{"class":517},[390,927,424],{"class":407},[390,929,930],{"class":400},"…",[390,932,424],{"class":407},[390,934,527],{"class":517},[390,936,424],{"class":407},[390,938,930],{"class":400},[390,940,424],{"class":407},[390,942,943],{"class":400},"]",[390,945,946],{"class":400}," }",[390,948,949],{"class":851},"   # → { published, failed: [{ id, errorCode, details }], version }\n",[390,951,952,954,957,960,962,964,966,968,970,972,974,976,979],{"class":392,"line":404},[390,953,397],{"class":396},[390,955,956],{"class":400}," \u002Funpublish",[390,958,959],{"class":400},"   {",[390,961,418],{"class":407},[390,963,919],{"class":400},[390,965,424],{"class":407},[390,967,415],{"class":400},[390,969,518],{"class":517},[390,971,424],{"class":407},[390,973,930],{"class":400},[390,975,424],{"class":407},[390,977,978],{"class":517},"] }         ",[390,980,981],{"class":851},"# → { version }\n",[620,983,985],{"id":984},"checking-a-draft-before-publishing","Checking a draft before publishing",[363,987,988,886,991,994,995,998,999,1002],{},[367,989,990],{},"POST \u002Fentries\u002F{entryId}\u002Fpreview",[367,992,993],{},"{ locale, title?, slug?, folderId?, fields }"," returns the unsaved draft as the delivery API would, with ",[367,996,997],{},"draft: true",". Nothing is saved. Invalid values come back as ",[367,1000,1001],{},"null"," rather than as errors; publishing is the real validation.",[376,1004,1006],{"id":1005},"scheduling","Scheduling",[381,1008,1010],{"className":383,"code":1009,"language":385,"meta":386,"style":386},"PUT \u002Fentries\u002F{entryId}\u002Fschedule\n{ \"publishAt\": \"2026-11-28T07:00:00Z\", \"unpublishAt\": \"2026-12-02T23:00:00Z\" }\n",[367,1011,1012,1020],{"__ignoreMap":386},[390,1013,1014,1017],{"class":392,"line":393},[390,1015,1016],{"class":396},"PUT",[390,1018,1019],{"class":400}," \u002Fentries\u002F{entryId}\u002Fschedule\n",[390,1021,1022,1024,1027,1029,1031,1034,1036,1038,1040,1043,1045,1047,1049,1052,1054],{"class":392,"line":404},[390,1023,408],{"class":407},[390,1025,1026],{"class":396}," \"publishAt\"",[390,1028,415],{"class":414},[390,1030,418],{"class":407},[390,1032,1033],{"class":400},"2026-11-28T07:00:00Z",[390,1035,424],{"class":407},[390,1037,427],{"class":400},[390,1039,418],{"class":407},[390,1041,1042],{"class":400},"unpublishAt",[390,1044,424],{"class":407},[390,1046,415],{"class":400},[390,1048,418],{"class":407},[390,1050,1051],{"class":400},"2026-12-02T23:00:00Z",[390,1053,424],{"class":407},[390,1055,551],{"class":400},[363,1057,1058,1059,1061,1062,1064,1065,1068,1069,562,1072,886,1075,1078],{},"A field you leave out is unchanged, and ",[367,1060,1001],{}," removes it. Times in the past, or ",[367,1063,1042],{}," before ",[367,1066,1067],{},"publishAt",", return ",[367,1070,1071],{},"400",[367,1073,1074],{},"POST \u002Fschedule",[367,1076,1077],{},"{ entryIds, publishAt?, unpublishAt? }"," schedules several entries.",[363,1080,1081,1082,1085,1086,1088,1089,1092],{},"Scheduled entries are published within 30 seconds of the time, as the draft looks at that moment. If publishing fails, the error is saved in ",[367,1083,1084],{},"schedule.error"," on the entry and ",[367,1087,1067],{}," is cleared. ",[367,1090,1091],{},"GET \u002Fentries?scheduled=1"," lists everything scheduled.",[376,1094,1096],{"id":1095},"version-history","Version history",[570,1098,1099,1109],{},[573,1100,1101],{},[576,1102,1103,1105,1107],{},[579,1104,768],{},[579,1106,771],{},[579,1108],{},[586,1110,1111,1123,1135],{},[576,1112,1113,1115,1120],{},[591,1114,781],{},[591,1116,1117],{},[367,1118,1119],{},"\u002Fentries\u002F{entryId}\u002Frevisions",[591,1121,1122],{},"Newest first, at most 200",[576,1124,1125,1127,1132],{},[591,1126,781],{},[591,1128,1129],{},[367,1130,1131],{},"\u002Fentries\u002F{entryId}\u002Frevisions\u002F{revisionId}",[591,1133,1134],{},"One revision with its fields",[576,1136,1137,1139,1144],{},[591,1138,397],{},[591,1140,1141],{},[367,1142,1143],{},"\u002Fentries\u002F{entryId}\u002Frevisions\u002F{revisionId}\u002Frestore",[591,1145,1146],{},"Puts the revision in the draft",[363,1148,1149,1150,1153,1154,1157,1158,1160,1161,642,1163,1166],{},"Every publish writes a ",[367,1151,1152],{},"publish"," revision. A save that changes content writes a ",[367,1155,1156],{},"save"," revision; saves by the same person within 10 minutes are merged. Each entry keeps its last 10 ",[367,1159,1152],{}," revisions and its last 10 ",[367,1162,1156],{},[367,1164,1165],{},"restore"," revisions; older ones are pruned. The published revision is always kept. Restoring saves the current draft first, so a restore can be undone.",[1168,1169,1170],"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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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 .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}",{"title":386,"searchDepth":404,"depth":404,"links":1172},[1173,1176,1177,1180,1181],{"id":378,"depth":404,"text":379,"children":1174},[1175],{"id":622,"depth":460,"text":623},{"id":679,"depth":404,"text":680},{"id":835,"depth":404,"text":836,"children":1178},[1179],{"id":984,"depth":460,"text":985},{"id":1005,"depth":404,"text":1006},{"id":1095,"depth":404,"text":1096},"Entries, folders and paths, drafts and publishing, scheduling and version history","md",null,{"questions":1186},{"en":1187},[1188,1189,1190,1191],"How is an entry's path built?","Why did PATCH delete my other blocks?","How do I publish several entries at once?","How do I schedule a page to go live?",true,{"title":102,"description":1182},"sC8CU9Kj29OaGr4JMvkm_8DEwMVF5uGADTzQY9f3l4k",[1196,1198],{"title":98,"path":99,"stem":100,"description":1197,"children":-1},"Entry and block types, every field type with its draft and published value, localization and schema as code",{"title":111,"path":112,"stem":113,"description":1199,"children":-1},"Read published content by path, id, type or singleton, with versioned URLs that can be cached forever",1793388935473]