Kettenblatt

Kettenblatt

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

A small workshop for city, gravel and cargo bikes. Small repairs while you wait, fair prices, coffee on the bench.

Proofregions.main[0]

Request GET /kettenblatt/_api/headless_pages/3000 #/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": 3000,
  "CType": "textmedia",
  "header": "Kettenblatt",
  "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 small workshop for city, gravel and cargo bikes. Small repairs while you wait, fair prices, coffee on the bench."
        }
      ]
    }
  ],
  "assets": [],
  "layout": 0,
  "frame_class": "default",
  "space_before_class": "",
  "space_after_class": ""
}

Generated TypeScript type

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

On the stand today

A green city bike with a basket in a repair stand, tools on the bench
Proofregions.main[1]

Request GET /kettenblatt/_api/headless_pages/3000 #/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": 3001,
  "CType": "image",
  "header": "On the stand today",
  "header_layout": 0,
  "header_position": "",
  "header_link": null,
  "subheader": "",
  "image": [
    {
      "uid": 3000,
      "name": "city-bike-on-stand.jpg",
      "extension": "jpg",
      "publicUrl": "/fileadmin/kettenblatt/city-bike-on-stand.jpg",
      "mimeType": "image/jpeg",
      "fileSize": 238434,
      "metadata": {
        "title": null,
        "alternative": "A green city bike with a basket in a repair stand, tools on the bench",
        "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;
};

Bring your bike

Tuesday to Saturday. No appointment for punctures, brakes and chains.

Proofregions.main[2]

Request GET /kettenblatt/_api/headless_pages/3000 #/regions/main/2 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": 3003,
  "CType": "text",
  "header": "Bring your bike",
  "header_layout": 0,
  "header_position": "",
  "header_link": null,
  "subheader": "",
  "bodytext": [
    {
      "_type": "block",
      "_key": "k0",
      "style": "normal",
      "markDefs": [],
      "children": [
        {
          "_type": "span",
          "_key": "k1",
          "marks": [],
          "text": "Tuesday to Saturday. No appointment for punctures, brakes and chains."
        }
      ]
    }
  ],
  "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;
};

See the bikes

Proofregions.main[3]

Request GET /kettenblatt/_api/headless_pages/3000 #/regions/main/3 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": 3004,
  "CType": "header",
  "header": "See the bikes",
  "header_layout": 0,
  "header_position": "",
  "header_link": {
    "href": "https://typo3.example/kettenblatt/bikes",
    "target": null,
    "title": null
  },
  "subheader": "",
  "layout": 0,
  "frame_class": "default",
  "space_before_class": "",
  "space_after_class": ""
}

Generated TypeScript type

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