This method permits to split a segment (or sub-segment) into two sub-segments.
Manual splitting means that you provide the exact character position where to split. Automatic splitting means that you let the system find a "good" split point.
DOC: Move "split" properties to root
The parameters are a JSON object included in the request body:
The scope object. The segment must be within the scope.
NOTE: This method does not support the Global Search scope.
The editor grid layout. The layout describes how the resulting split (sub-)segments are returned.
If not specified then the default 2 column layout is applied.
Properties of the segment to be split:
dsid: The document set ID of the segment
did: The document ID of the segment
bsid: The bee segment ID of the segment
bssid: The bee sub-segment ID of the segment (0 = first, 1 = second, ...)
locale: The language to split (the source or a target language). Although all language version of the segment are going to be split, this is the language where the split algorithm starts its operations. This typically is the source language.
position: Optional character position in the text where to split. If specified then the split is done at this exact position. If not specified / null then the system finds a "good" split point automatically.
After executing the split of the segment, the system returns a spreadsheet with the segment (and all its sub segments).
Contains these properties:
rows: Array with all sub-segments sharing the same bsid value
docs: Array with document details for the segment. Will contain a single element.
users: Users that edited properties of the segments (revisions, comments etc.)