Get Started
Portal api methods
Help

GET api/2.0/community/wiki/{page}/comment This function requires authentication

Description

Returns the list of all comments to the wiki page with the name specified in the request

Parameters
Name Description Type Example
page
sent in url
Page name string some text
Example
GET api/2.0/community/wiki/some+text/comment
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of comments

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "parentId": "00000000-0000-0000-0000-000000000000",
      "page": "Some page",
      "content": "Comment content",
      "author": {
        "id": "00000000-0000-0000-0000-000000000000",
        "displayName": "Mike Zanyatski",
        "title": "Manager",
        "avatarSmall": "url to small avatar",
        "profileUrl": ""
      },
      "lastModified": "2019-10-15T09:54:26.8523716Z",
      "inactive": false
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>00000000-0000-0000-0000-000000000000</id>
    <parentId>00000000-0000-0000-0000-000000000000</parentId>
    <page>Some page</page>
    <content>Comment content</content>
    <author>
      <id>00000000-0000-0000-0000-000000000000</id>
      <displayName>Mike Zanyatski</displayName>
      <title>Manager</title>
      <avatarSmall>url to small avatar</avatarSmall>
      <profileUrl></profileUrl>
    </author>
    <lastModified>2019-10-15T09:54:26.8523716Z</lastModified>
    <inactive>false</inactive>
  </response>
</result>