Commit a new ingest sync config and re-process the source
POST
/v1/datasets/{dataset_id}/sync-config
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. Long-running — the response arrives after the ingest completes.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” dataset_id
required
string format: uuid
Query Parameters
Section titled “Query Parameters ” account_id
Act on this account (active)
string | null format: uuid
Act on this account (active)
Header Parameters
Section titled “Header Parameters ” x-api-key
string | null
Request Body required
Section titled “Request Body required ” Media type application/json
SyncConfigBody
object
ingest_toml
required
string
Example generated
{ "ingest_toml": "example"}Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
exampleValidation Error
Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationErrorobject
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}