Skip to main content

Import Source

POST 

/api/v1/sources/import

Import a source bundle exported from another deployment.

The bundle's meta-schema definitions are written first, then the source, both through their registries. A definition marked resource_type: core is resolved against what dfe-schemas already put here and never written, so the read-only schema is not forked.

Every check runs before the first write: a bundle applied halfway would leave the source's schema pins with no definitions behind them. A schema pin, or a version it pins, that neither the bundle nor this deployment defines is a 422 unresolved_reference.

Request​

Responses​

Successful Response