If the API changes in an incompatible manner this is listed explicitly in the "important release notes" section of each releases changelog.
Provides access to comments of segments.
URL: | /editor/taskid/[task id]/comment/[comment id] |
Available Methods: | GET / POST / PUT / DELETE |
Specialities: | Only possible with a task in edit mode and filtered by GET Parameter segmentId. |
Resource Layout
Name | Type | Info |
id | int | |
segmentId | int | |
userName | string | GET only, set by server |
comment | string | |
isEditable | boolean | GET only, set by server |
modified | date | GET only, set by server |
created | date | GET only, set by server |
Create new comment request example
Add new comment via API
# This will add comment for segment with id 113802 for task with id 176 POST: translate5.local/editor/taskid/176/comment?data={"segmentId":"113802","comment":"This is test comment via api"}
Edit existing comment
Edit existing comment
PUT: translate5.local/editor/taskid/165/comment/2512?data={"id":"2512","comment":"This is will change the comment value."}
Delete existing comment
Delete existing comment
DELETE: translate5.local/editor/taskid/165/comment/2512?data={"id":"2512"}
Load all segments of a comment
Load all segments of a comment
GET: translate5.local/editor/taskid/165/comment?segmentId=113695