...
cty | Either "d" for a comment attached to a document or "s" for a comment attached to a segment. | |
cmid | Unique identifier of the comment. The identifier is of format "s{number}" for segment comments and "d{number}" for document comments. | int |
txt | The comment text. Plain text. | string |
loc | The locale to which the comment is attached. This can be a source or target locale. | string |
dt | Date when comment was added or updated. | datetime |
pid | The person ID who created or last updated the comment. | int |
tsk | Optional 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 |
cat | The comments category. Defines the category (a name) as well as visual style. | int |
fro | Information only. If true then the comment is flagged as read-only and cannot be edited under no circumstances. This is typically a comment exported from the original file and to be maintained in its current state. | bool |
fpd | Information only. If true, then the comment is embedded in the actual original file. Used with some file formats such as PO or XLIFF. Typically the comment is then saved back to the translated file. | bool |
edit | True if the user is allowed to edit or delete the comment. False, if no change is permitted. | bool |
EXAMPLES
A sample segment comment:
Code Block |
---|
{
"cty": "s",
"txt": "A sample comment",
"tsk": "TR",
"cmid": "s126",
"dt": "2017-04-07T14:48:10.3619843Z",
"cat": 0,
"fpd": false,
"fro": false,
"loc": "en",
"pid": null,
"edit": true
} |