Skip to main content
POST
Split a manifest into contract-folder files

Authorizations

Authorization
string
header
required

DataHub API Key

Body

application/json

POST contract/split request body: any self-contained manifest object (e.g. the read-back of GET /data-apps/{ref}/manifest, injected keys included — they are stripped during the split). Optional translations additionally produces i18n.json.

manifest
Manifest · object
required
translations
ContractTranslations · object | null

The companion i18n.json of a contract folder: source is the locale the manifest is written in (required); locales maps each target locale to a flat entries object (path → string or string array; see GET/PUT /data-apps/{ref}/translations/{locale}). Never merged into the manifest — translations are stored per app, not per release.

Response

Successful Response

data
ContractSplitResult · object
required

Split result: canonical contract-folder form, dataapp.json first. README.md is omitted when the readme is empty (a folder may have 6 files). Non-slot content (_editor_state.json, code packages) never appears — the input is an inline manifest, which carries no files map.