Create translation comment
POST/v2/projects/:projectId/translations/:translationId/comments
Create translation comment
Request
Path Parameters
translationId int64required
projectId int64required
- application/json
Body
required
text stringrequired
state stringrequired
Possible values: [RESOLUTION_NOT_NEEDED
, NEEDS_RESOLUTION
, RESOLVED
]
Responses
- 201
- 400
- 401
- 403
- 404
Created
- */*
- Schema
- Example (from schema)
Schema
id int64required
Id of translation comment record
text stringrequired
Text of comment
state stringrequired
Possible values: [RESOLUTION_NOT_NEEDED
, NEEDS_RESOLUTION
, RESOLVED
]
State of translation
author objectrequired
User who created the comment
id int64required
username stringrequired
name string
avatar object
large stringrequired
thumbnail stringrequired
deleted booleanrequired
createdAt date-timerequired
Date when it was created
updatedAt date-timerequired
Date when it was updated
{
"id": 0,
"text": "string",
"state": "RESOLUTION_NOT_NEEDED",
"author": {
"id": 0,
"username": "string",
"name": "string",
"avatar": {
"large": "string",
"thumbnail": "string"
},
"deleted": true
},
"createdAt": "2024-04-27T10:07:49.550Z",
"updatedAt": "2024-04-27T10:07:49.550Z"
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...