Datasets_CorrectCameraLags
const url = 'https://junction-api.qualiastudios.dev/v1/accounts/example/datasets/example:correctCameraLags';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"name":"example","corrections":[{"upload":"example","topic":"example","stampOffsetMs":1,"useEstimate":true}],"requestId":"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://junction-api.qualiastudios.dev/v1/accounts/example/datasets/example:correctCameraLags \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "name": "example", "corrections": [ { "upload": "example", "topic": "example", "stampOffsetMs": 1, "useEstimate": true } ], "requestId": "example" }'Corrects camera stamp offsets through a recorded corrective re-ingest. Explicit offsets are desired absolute values. A trusted legacy estimate on a zero-offset channel maps to -lag_ms. FAILED_PRECONDITION on a merged dataset (correct its uploads before they merge) and on an upload merged into one (naming it).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The account id.
The dataset id.
Request Body required
Section titled “Request Body required ”Request for Datasets.CorrectCameraLags.
object
Upload or merged dataset to correct.
Each upload in a merged dataset must be covered. Names disambiguate topics.
An absolute camera offset to publish through a corrective re-ingest.
object
The upload containing this camera topic.
Camera topic in this upload.
Desired absolute stamp_offset_ms, not a delta.
Apply a trusted estimate only when its measurement basis is known.
Required UUID4; retries return the same member re-ingest receipt for 24 hours.
Example generated
{ "name": "example", "corrections": [ { "upload": "example", "topic": "example", "stampOffsetMs": 1, "useEstimate": true } ], "requestId": "example"}Responses
Section titled “ Responses ”OK
The member re-ingest operation for each corrected upload.
object
Accepted operations or per-upload dispatch errors.
The corrective re-ingest operation started for one upload.
object
Upload whose camera offset was corrected.
Name to poll with Datasets.GetReingest.
True when the requested config was already published.
Non-empty when dispatch for this member failed; other members may proceed.
Example generated
{}default
Section titled “default ”Default error response
A refusal from the API itself.
object
The gRPC code name in upper case, e.g. NOT_FOUND.
Whether the same call may succeed if retried.
Empty, except when a dataset copy or move is refused: then one google.rpc.ErrorInfo with the refusal’s reason code, its domain and, in metadata, the datasets it names.
object
A refusal from the gateway before the call reaches the API, for example 401 bad or missing API key, 403 key lacks the scope or environment closed, 413 body too large.
object
What went wrong.
Example generated
{ "code": "example", "message": "example", "retryable": true, "details": [ {} ]}