GET site
GET site gives one answer with everything of the site that is not a page.
What it has
id,name,environment,domainsandlanguages.environmentholdsname,is_production,indexableandpassword.timezoneis the time zone of the site, in IANA form, such asEurope/Amsterdam. It says what "today" is on the site. It is set under Site settings → General → Time zone. A planned post goes live at 00:00 in it.settingsholds the site settings that a frontend needs. Examples areurl_suffix,robots_txt,sitemap,csp,og_*,markdown_enabled,search_enabled,title_suffix,meta_robots,images,relatedandbeacon.themeholds the colours, also for dark mode. It also holdstokensandtokens_css,key,package,logoandlogo_dark.fontsholdscss,filesanddetails.detailsgives per file its weight range, unicode-range and bytes. Use it to choose preloads.iconsandicon_set.layoutholds the header and footer, per language.menus,fragments,hours,modulesandtemplates.fragmentsare the content blocks. Each set ofhourshasjson_ldandupcoming.redirectsonly holds rules that can work. Apply them after you look for a page.docsholds the documentation sections, as[{key, root}]. Each one is a page marked as a section, with everything below it. Build the tree from the manifest. See FRONTEND.md, under Documentation sections.third_parties, with their hosts for your CSP. Alsoconsent,speculation_rules,no_vary_search,pwa,webmcp,llmsandcontent_types.media. See below.
Resolved references
cms:entry/…becomes an address. So doescms:entry/e_…@en, for another language. A link to something that is not live loses itshref, and keeps its words.cms:media/…becomes the address of the file. Every answer has amediamap. It maps an address toid,mime,width,height,bytes,altandcaptionper language, credits,focus,focus_by,webp,avifandog. See Files and images.- A text with shortcodes keeps its
html. It getshtml_nodesnext to it, with the data that each shortcode needs.
Good to know
site.versionchanges when anything here changes. Compare it from the manifest.
Also called: site configuration, global data, site settings JSON.
Last changed