variant/segment/put

Create a new or update an existing text segment definition.

Parameters

NameRequiredDefaultDescriptionExample
segmentGroupIDfalsesegment group id (typicall a project id), required when adding a new segment8675309
segmentIDfalsesegment id, supply to edit an existing test segment; otherwise, do not include when adding a new segment18734
namefalsesegment name. this can be used with TnT test passages to give a name to the test passage. see {contextDescription} for apparatus word range137
versefalseverse where this segment startsMatt.1.1
contextDescriptionfalseContext to help the user know where exactly the segment is located2-8 or ειρηνη απο ... ο ων
formatfalsespecified at session openresponse output format (json|xml|csv|gchart)json

Errors

Must be logged in.-5