Get Started
Portal api methods
Help

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

Description

Get preview

Parameters
Name Description Type Example
htmltext
sent in body
html to create preview string some text
commentid
sent in body
guid of editing comment or empty string if 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