Kettenblatt

Visit

Fictional specimen site, rendered by the same API as tca-api-headless.

Workshop pages

menu_subpages

Proofregions.main[0]

Request GET /kettenblatt/_api/headless_pages/3001 #/regions/main/0 Status 200

Recorded at build time from TYPO3 14.3. Host replaced with typo3.example; the data is unchanged. Full JSON response

JSON response

{
  "uid": 3011,
  "CType": "menu_subpages",
  "header": "Workshop pages"
}

Generated TypeScript type

type HeadlessContentFallbackRead = {
    uid: number;
    CType: "menu_subpages";
    header: string;
};

Find us

A hand-drawn map of the district with a river and a circle around the workshop
The brick front of the workshop with open wooden doors and two bikes outside
Proofregions.main[1]

Request GET /kettenblatt/_api/headless_pages/3001 #/regions/main/1 Status 200

Recorded at build time from TYPO3 14.3. Host replaced with typo3.example; the data is unchanged. Full JSON response

JSON response

{
  "uid": 3012,
  "CType": "image",
  "header": "Find us",
  "header_layout": 0,
  "header_position": "",
  "header_link": null,
  "subheader": "",
  "image": [
    {
      "uid": 3008,
      "name": "district-map.jpg",
      "extension": "jpg",
      "publicUrl": "/fileadmin/kettenblatt/district-map.jpg",
      "mimeType": "image/jpeg",
      "fileSize": 287147,
      "metadata": {
        "title": null,
        "alternative": "A hand-drawn map of the district with a river and a circle around the workshop",
        "description": null,
        "copyright": null
      },
      "cropVariants": {}
    },
    {
      "uid": 3006,
      "name": "workshop-front.jpg",
      "extension": "jpg",
      "publicUrl": "/fileadmin/kettenblatt/workshop-front.jpg",
      "mimeType": "image/jpeg",
      "fileSize": 308152,
      "metadata": {
        "title": null,
        "alternative": "The brick front of the workshop with open wooden doors and two bikes outside",
        "description": null,
        "copyright": null
      },
      "cropVariants": {}
    }
  ],
  "layout": 0,
  "frame_class": "default",
  "space_before_class": "",
  "space_after_class": ""
}

Generated TypeScript type

type HeadlessContentImageRead = {
    "@type"?: string;
    "@id"?: string;
    uid?: number;
    CType: "image";
    header?: string;
    header_layout?: number;
    header_position?: string;
    header_link?: components["schemas"]["HeadlessLink"] | null;
    subheader?: string;
    image?: components["schemas"]["FileObject"][];
    layout?: number;
    frame_class?: string;
    space_before_class?: string;
    space_after_class?: string;
};

Opening hours

Tuesday to Saturday, 10:00 to 18:00. Write to workshop@kettenblatt.example.

Proofregions.aside[0]

Request GET /kettenblatt/_api/headless_pages/3001 #/regions/aside/0 Status 200

Recorded at build time from TYPO3 14.3. Host replaced with typo3.example; the data is unchanged. Full JSON response

JSON response

{
  "uid": 3010,
  "CType": "text",
  "header": "Opening hours",
  "header_layout": 0,
  "header_position": "",
  "header_link": null,
  "subheader": "",
  "bodytext": [
    {
      "_type": "block",
      "_key": "k1",
      "style": "normal",
      "markDefs": [
        {
          "_key": "k0",
          "_type": "link",
          "href": "mailto:workshop@kettenblatt.example",
          "target": null,
          "title": null
        }
      ],
      "children": [
        {
          "_type": "span",
          "_key": "k2",
          "marks": [],
          "text": "Tuesday to Saturday, 10:00 to 18:00. Write to "
        },
        {
          "_type": "span",
          "_key": "k3",
          "marks": [
            "k0"
          ],
          "text": "workshop@kettenblatt.example"
        },
        {
          "_type": "span",
          "_key": "k4",
          "marks": [],
          "text": "."
        }
      ]
    }
  ],
  "layout": 0,
  "frame_class": "default",
  "space_before_class": "",
  "space_after_class": ""
}

Generated TypeScript type

type HeadlessContentTextRead = {
    "@type"?: string;
    "@id"?: string;
    uid?: number;
    CType: "text";
    header?: string;
    header_layout?: number;
    header_position?: string;
    header_link?: components["schemas"]["HeadlessLink"] | null;
    subheader?: string;
    bodytext?: components["schemas"]["PortableText"];
    layout?: number;
    frame_class?: string;
    space_before_class?: string;
    space_after_class?: string;
};