Create a translation comment
POST {{baseUrl}}/v1/articles/:article_id/translations/{locale}/comments
This API adds a comment to an article translation.
OAuth Scope
Desk.articles.CREATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
content (required) | <string> max chars : 32000 | Content of the comment. To retrieve or set user mentions, use this code format: zsu[@user:{zuid}zsu. |
isPublic (required) | <boolean> | Visibility of the comment, which can be set only at the time of commenting. |
contentType (required) | <string> max chars : 100 | Used to denote the content-type which maybe html or plainText . The default type is html . |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":null,"commentedTime":"2017-01-24T19:28:35.309Z","isPublic":false,"id":"4000000530037","contentType":"html","content":"First article comment","commenterId":"4000000008692","commenter":{"firstName":"Jade","lastName":"Tywin","photoURL":"https://desk.zoho.com/api/v1/agents/4000000008692/photo?orgId=292828","name":"Jade Tywin","roleName":"LightAgent","type":"AGENT","email":"jade12tywin@zylker.com"}}