Skip to main content

Create Source

POST 

/api/v1/sources

Create a new source from a flat source definition (initial version 1.0.0).

header is optional: when omitted, no common-header profile is stored on the version (DDL compose uses meta/derived columns only until a header is set).

A schema pin naming nothing is accepted here so a source can be written before its schema, while /sources/import refuses one because an exported bundle brings every schema it pins.

201 when the apps follow the new source, 202 when the source is stored and the reconcile that brings the apps into step with it did not complete, or when production+team sent it to review (review_required).

Request​

Responses​

Successful Response