Kettenblatt

Gravel

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

A gravel bike with tan-wall tyres against a sandstone wall
Proofregions.main[0]

Request GET /kettenblatt/_api/headless_pages/3005 #/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": 3050,
  "CType": "image",
  "header": "Gravel",
  "header_layout": 0,
  "header_position": "",
  "header_link": null,
  "subheader": "",
  "image": [
    {
      "uid": 3001,
      "name": "gravel-bike.jpg",
      "extension": "jpg",
      "publicUrl": "/fileadmin/kettenblatt/gravel-bike.jpg",
      "mimeType": "image/jpeg",
      "fileSize": 384108,
      "metadata": {
        "title": null,
        "alternative": "A gravel bike with tan-wall tyres against a sandstone wall",
        "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;
};

Wide tyres, long days

Tubeless set-ups, bags that don't rattle, gears for the climb home.

Proofregions.main[1]

Request GET /kettenblatt/_api/headless_pages/3005 #/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": 3051,
  "CType": "text",
  "header": "Wide tyres, long days",
  "header_layout": 0,
  "header_position": "",
  "header_link": null,
  "subheader": "",
  "bodytext": [
    {
      "_type": "block",
      "_key": "k0",
      "style": "normal",
      "markDefs": [],
      "children": [
        {
          "_type": "span",
          "_key": "k1",
          "marks": [],
          "text": "Tubeless set-ups, bags that don't rattle, gears for the climb home."
        }
      ]
    }
  ],
  "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;
};