Get Started
Usage API
More information

POST api/2.0/project/comment/preview This function requires authentication

Description

Get a preview of a project comment with the ID specified in the request.

Parameters
Name Description Type Example
htmltext
sent in body
Comment text in the HTML format string some text
commentid
sent in body
Comment ID or empty string if a comment is new string some text
Example
POST api/2.0/project/comment/preview
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "htmltext": "some text",
  "commentid": "some text"
}
Returns

Comment information