{
  "@type": "HeadlessPages",
  "@id": "/_api/headless_pages/2003",
  "uid": 2003,
  "title": "Pages and regions",
  "slug": "/features/regions",
  "seo_title": "",
  "description": "Content arrives grouped by the column identifiers of the backend layout.",
  "no_index": 0,
  "no_follow": 0,
  "canonical_link": null,
  "og_title": "",
  "og_description": null,
  "og_image": [
    {
      "uid": 2020,
      "name": "regions.jpg",
      "extension": "jpg",
      "publicUrl": "https://typo3.example/fileadmin/_processed_/9/d/csm_regions_23595cd10d.jpg",
      "mimeType": "image/jpeg",
      "fileSize": 125517,
      "metadata": {
        "title": null,
        "alternative": "Translucent cyan, magenta and yellow layout sheets with column grids stacked on a light table, their overlaps mixing into new colours",
        "description": null,
        "copyright": null
      },
      "width": 1536,
      "height": 806
    }
  ],
  "breadcrumbs": [
    {
      "uid": 2000,
      "title": "tca-api-headless",
      "nav_title": "",
      "url": "https://typo3.example/website/",
      "doktype": 1
    },
    {
      "uid": 2002,
      "title": "Features",
      "nav_title": "",
      "url": "https://typo3.example/website/features",
      "doktype": 1
    },
    {
      "uid": 2003,
      "title": "Pages and regions",
      "nav_title": "",
      "url": "https://typo3.example/website/features/regions",
      "doktype": 1
    }
  ],
  "languages": [
    {
      "languageId": 0,
      "locale": "en-US",
      "hreflang": "en",
      "title": "English",
      "url": "https://typo3.example/website/features/regions",
      "available": true,
      "active": true
    },
    {
      "languageId": 1,
      "locale": "de-DE",
      "hreflang": "de",
      "title": "German",
      "url": "https://typo3.example/website/de/funktionen/regionen",
      "available": true,
      "active": false
    }
  ],
  "meta": {
    "robots": "index,follow",
    "canonical": "https://typo3.example/website/features/regions",
    "schema": {
      "@context": "https://schema.org",
      "@type": "WebPage",
      "url": "https://typo3.example/website/features/regions",
      "name": "Pages and regions",
      "inLanguage": "en",
      "description": "Content arrives grouped by the column identifiers of the backend layout."
    },
    "alternates": [
      {
        "hreflang": "en",
        "href": "https://typo3.example/website/features/regions"
      },
      {
        "hreflang": "de",
        "href": "https://typo3.example/website/de/funktionen/regionen"
      },
      {
        "hreflang": "x-default",
        "href": "https://typo3.example/website/features/regions"
      }
    ]
  },
  "regions": {
    "intro": [
      {
        "uid": 2030,
        "CType": "textmedia",
        "header": "Pages and regions",
        "header_layout": 0,
        "header_position": "",
        "header_link": null,
        "subheader": "",
        "bodytext": [
          {
            "_type": "block",
            "_key": "k0",
            "style": "normal",
            "markDefs": [],
            "children": [
              {
                "_type": "span",
                "_key": "k1",
                "marks": [],
                "text": "A backend layout names its columns. tca-api-headless sends the content of each column under that name in "
              },
              {
                "_type": "span",
                "_key": "k2",
                "marks": [
                  "code"
                ],
                "text": "regions"
              },
              {
                "_type": "span",
                "_key": "k3",
                "marks": [],
                "text": ", in backend order; "
              },
              {
                "_type": "span",
                "_key": "k4",
                "marks": [
                  "code"
                ],
                "text": "colPos"
              },
              {
                "_type": "span",
                "_key": "k5",
                "marks": [],
                "text": " never reaches the frontend."
              }
            ]
          }
        ],
        "assets": [
          {
            "uid": 2020,
            "name": "regions.jpg",
            "extension": "jpg",
            "publicUrl": "/fileadmin/website/plates/regions.jpg",
            "mimeType": "image/jpeg",
            "fileSize": 125517,
            "metadata": {
              "title": null,
              "description": null
            }
          }
        ],
        "layout": 0,
        "frame_class": "default",
        "space_before_class": "",
        "space_after_class": ""
      }
    ],
    "main": [
      {
        "uid": 2031,
        "CType": "text",
        "header": "Named by the backend layout",
        "header_layout": 0,
        "header_position": "",
        "header_link": null,
        "subheader": "",
        "bodytext": [
          {
            "_type": "block",
            "_key": "k0",
            "style": "normal",
            "markDefs": [],
            "children": [
              {
                "_type": "span",
                "_key": "k1",
                "marks": [],
                "text": "This page has no layout of its own. It inherits "
              },
              {
                "_type": "span",
                "_key": "k2",
                "marks": [
                  "em"
                ],
                "text": "Feature"
              },
              {
                "_type": "span",
                "_key": "k3",
                "marks": [],
                "text": " from its parent, which sets it for its subpages. Its columns are named "
              },
              {
                "_type": "span",
                "_key": "k4",
                "marks": [
                  "code"
                ],
                "text": "intro"
              },
              {
                "_type": "span",
                "_key": "k5",
                "marks": [],
                "text": ", "
              },
              {
                "_type": "span",
                "_key": "k6",
                "marks": [
                  "code"
                ],
                "text": "main"
              },
              {
                "_type": "span",
                "_key": "k7",
                "marks": [],
                "text": " and "
              },
              {
                "_type": "span",
                "_key": "k8",
                "marks": [
                  "code"
                ],
                "text": "specimen"
              },
              {
                "_type": "span",
                "_key": "k9",
                "marks": [],
                "text": ", and so are the regions:"
              }
            ]
          },
          {
            "_type": "block",
            "_key": "k10",
            "style": "normal",
            "markDefs": [],
            "children": [
              {
                "_type": "span",
                "_key": "k11",
                "marks": [
                  "code"
                ],
                "text": "GET /_api/headless_pages/2003"
              }
            ]
          }
        ],
        "layout": 0,
        "frame_class": "default",
        "space_before_class": "",
        "space_after_class": ""
      },
      {
        "uid": 2032,
        "CType": "text",
        "header": "Or by a site setting",
        "header_layout": 0,
        "header_position": "",
        "header_link": null,
        "subheader": "",
        "bodytext": [
          {
            "_type": "block",
            "_key": "k0",
            "style": "normal",
            "markDefs": [],
            "children": [
              {
                "_type": "span",
                "_key": "k1",
                "marks": [],
                "text": "Pages without a backend layout name their columns with the site setting "
              },
              {
                "_type": "span",
                "_key": "k2",
                "marks": [
                  "code"
                ],
                "text": "regions"
              },
              {
                "_type": "span",
                "_key": "k3",
                "marks": [],
                "text": ", one "
              },
              {
                "_type": "span",
                "_key": "k4",
                "marks": [
                  "code"
                ],
                "text": "colPos:name"
              },
              {
                "_type": "span",
                "_key": "k5",
                "marks": [],
                "text": " per column. Kettenblatt has no layouts at all:"
              }
            ]
          },
          {
            "_type": "block",
            "_key": "k6",
            "style": "normal",
            "markDefs": [],
            "children": [
              {
                "_type": "span",
                "_key": "k7",
                "marks": [
                  "code"
                ],
                "text": "tca_api_headless:\n  regions:\n    - '0:main'\n    - '1:aside'"
              }
            ]
          },
          {
            "_type": "block",
            "_key": "k8",
            "style": "normal",
            "markDefs": [],
            "children": [
              {
                "_type": "span",
                "_key": "k9",
                "marks": [
                  "code"
                ],
                "text": "GET https://kettenblatt.example/_api/headless_pages/3001"
              }
            ]
          }
        ],
        "layout": 0,
        "frame_class": "default",
        "space_before_class": "",
        "space_after_class": ""
      },
      {
        "uid": 2033,
        "CType": "text",
        "header": "What a region holds",
        "header_layout": 0,
        "header_position": "",
        "header_link": null,
        "subheader": "",
        "bodytext": [
          {
            "_type": "block",
            "_key": "k0",
            "style": "normal",
            "markDefs": [],
            "children": [
              {
                "_type": "span",
                "_key": "k1",
                "marks": [],
                "text": "The visible content elements of the page in the request language, each with the columns of its type. Content in a column without a name is left out; a page without content sends an empty object."
              }
            ]
          }
        ],
        "layout": 0,
        "frame_class": "default",
        "space_before_class": "",
        "space_after_class": ""
      }
    ],
    "specimen": [
      {
        "uid": 2034,
        "CType": "header",
        "header": "Kettenblatt: Visit",
        "header_layout": 0,
        "header_position": "",
        "header_link": {
          "href": "https://typo3.example/kettenblatt/visit",
          "target": null,
          "title": null
        },
        "subheader": "",
        "layout": 0,
        "frame_class": "default",
        "space_before_class": "",
        "space_after_class": ""
      }
    ]
  }
}