Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A JSON object that represents a version of a segment text. Whenever, a text is edited (by a different user than the previous one) the system logs the change.

PROPERTIES

current

True if this is the current text version. False if this is an older version.

bool

val

The text.

string
locThe locale of the text.string
dt

Date of change.

datetime
pidThe person ID who edited this version. Null if text was not edited by a user but is either empty or a pretranslation.int?
edLast editor type (none, pretranslation, human edit...). See list of possible values.int
tskOptional task code. If the comment was added in the framework of a job, then this includes the task code of the job. Otherwise null.string?
flgdtOnly set when current is true. Last change of either status or bookmark.datetime?
flgpidOnly set when current is true. User who changed status or bookmark.int?

 

EXAMPLES

 

Code Block
    {
      "current": true,
      "val": "Corrected translation",
      "tsk": null,
      "ed": 1,
      "dt": "2017-04-07T07:39:11.2253404Z",
      "pid": null,
      "loc": "en",
      "flgdt": "2017-04-07T07:50:41.6683829Z",
      "flgpid": 7
    }
 

    {
      "current": false,
      "val": "Testword1",
      "tsk": null,
      "ed": 1,
      "dt": "2017-02-14T09:47:59.0990044Z",
      "pid": 3,
      "loc": "en",
      "flgdt": null,
      "flgpid": null
    },