[PP-2] POST/PATCH config entities via REST for config entity types that support validation

Created on 10 July 2014, over 10 years ago
Updated 24 August 2023, over 1 year ago

Problem/Motivation

As an overall issue based on #2292707: GET on entity/taxonomy_vocabulary/{id} is not working it is weird we cannot POST/PATCH/DELETE for config entities.

Before #1928868: Typed config incorrectly implements Typed Data interfaces it was impossible for config entities to provide validation on the config level, so it was not possible to guarantee that the given input is valid.

Proposed resolution

Remaining tasks

  • DELETE support. Cleaning up deleted dependencies would open up a wormhole for now.
  • Expand the test coverage to test schema and constraint validation

Next steps: 🌱 [meta] Add constraints to all config entity types Active .

User interface changes

None.

API changes

None.

Feature request
Status

Needs work

Version

11.0 🔥

Component
JSON API 

Last updated 9 days ago

Created by

🇳🇱Netherlands clemens.tolboom Groningen, 🇳🇱/🇪🇺

Live updates comments and jobs are added and updated live.
  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024