Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.
Tools/Workspace & Portfolios/batch_define_canonical_entity

batch_define_canonical_entity

Batch-create canonical registry entities in one atomic call (the migration counterpart to `define_canonical_entity`). Validates every entity up front (valid type, unique id) then writes all and flushes once, so a registry stand-up is a handful of batches, not one call per canonical.

Workspace & Portfoliosvalidate-all-then-write. A single invalid entity rejects the whole batch.

Arguments

entitiesarrayrequired

Up to 50 canonical entities.

Returns

Shape
{ defined: [{ canonical_id, qualified_id, type, title }], count, portfolio_file }

See Also