Split a segment

POST /api/v1/jobs/{jobID}/segments/{translationID}/split

Cuts the segment in two at offset, as Split does in the editor, in this job only; the file's other target languages keep the segment whole. The translation stays on the first piece and the second piece starts empty; both need review. Pieces share their segment's position and are ordered by sub_position. Refused while the job's task does not take edits or pre-translation runs, when the segment is locked, being pre-translated or open by someone else, and inside a tag pair.

Who may call it

owner, admin, project_manager, linguist

Parameters

NameInRequiredDescription
jobIDpathyes
translationIDpathyes

The segment id (id in the segment list).

Responses

200

The two pieces, in document order.

400

The request is wrong; message says what to fix.

401

The access key is missing, expired or revoked.

403

Your role may not call this endpoint, or the key is read only (read_only_key).

404

The item does not exist in your organization.

409

The item changed since you read it, or its state does not allow the action.

429

Too many requests for this key (rate_limited). Wait for the seconds in Retry-After.