HTTP API to read+write PageTemplate and Pattern config entities

Created on 10 October 2024, 2 months ago

Overview

Once 📌 Introduce an XB `PageTemplate` config entity Active + 📌 Introduce a `Pattern` config entity Active are in, we'll need a way to read/create/modify these from the client side: we'll need an HTTP API.

With an HTTP API, the hardcoded pattern/section in Implement the concept of sections within the client Fixed can be removed.

Proposed resolution

  1. Copy parts of the JSON:API module in Drupal core.
  2. Copy parts of the [PP-2] POST/PATCH config entities via REST for config entity types that support validation Needs work core MR that brings write support to JSON:API for fully validatable config entities.
  3. (stretch) Do not expose the literal/exact config entity structure, but instead take 🐛 Some components cannot be used in XB because UI prevents SDC props being named `name` Active into account.

User interface changes

None.

📌 Task
Status

Active

Version

0.0

Component

Config management

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024