Fixed
Project:
Drupal Canvas
Version:
1.x-dev
Component:
CLI Tool
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2026 at 13:15 UTC
Updated:
7 Apr 2026 at 20:22 UTC
Jump to comment: Most recent
When creating a canvas_page via POST /canvas/api/v0/content/canvas_page, the UUID is always auto-generated by Drupal. External clients (e.g. CLI tools) that manage content across environments need to control the UUID to ensure stable references.
Add support for an optional uuid field in the POST request body. When provided, it is set on the new entity before saving. Duplicate creation is unaffected — duplicates always receive a new UUID. Invalid or already-used UUIDs are rejected via the existing entity validation flow.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
attilatilman commentedComment #6
hooroomooOpened #3583563: Include uuid in create page request if it exists in CLI Tool for follow-up to update the CLI Tool