getCaptionTranslationUnits
Fetch caption translation units for one language: sentence-level phrases with IDs, source timing, and text, defaulting to untranslated ones so you can translate and store each unit.
Instructions
Read what to translate for one caption language: per asset the captions read (or the one assetId names), the transcript grouped into phrase units, each with its id, its span in the asset's source seconds and its text. A unit is a sentence or a run of speech between pauses, never a single word, so translate each one as a whole. By default only the units with no text yet in that language, so a translation sent in batches resumes where it stopped; includeTranslated returns the done ones too, with their translation. Translate them yourself, then store them with putCaptionTranslation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | No | ||
| language | Yes | ||
| projectId | No | The project to act on, from listProjects. Omit it only for the project open in the OpenScreen editor, which works only while the app runs. | |
| includeTranslated | No |