Commit a new ingest sync config and dispatch a re-process
const url = 'https://example.com/v1/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sync-config';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"ingest_toml":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sync-config \ --header 'Content-Type: application/json' \ --data '{ "ingest_toml": "example" }'Corrective re-ingest (ADR 0012): commits meta/ingest.toml and re-runs MCAP ingest on the unchanged bags server-side, publishing the source’s next generation.
Returns once the work is ADMITTED — the config is validated here, so a
receipt means the request was well-formed, but the ingest itself is
minutes and is polled through /datasets/sync-status/{operation_id}.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Act on this account (active)
Act on this account (active)
Header Parameters
Section titled “Header Parameters ”Request Body required
Section titled “Request Body required ”object
Example generated
{ "ingest_toml": "example"}Responses
Section titled “ Responses ”Accepted (or a terminal no-op) — poll /sync-status
Receipt for a dispatched re-ingest.
ACCEPTED, not finished. The ingest re-encodes every camera clip whose
episode boundary moved — minutes per episode — so it runs server-side and
is polled through the sync-status route. no_op is the one terminal
answer given here: an unchanged config has nothing to dispatch.
object
Poll this through /sync-status
Repository the re-ingest publishes to
Config was byte-identical to the published one; nothing ran
Current version — set only when no_op is true
Set only when no_op is true
Example
{ "dataset_version_id": "", "generation": 0}Meta/ingest.toml is invalid
Unknown source, or outside the caller’s account
Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}