TRY NEW VERSION

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

Description

Returns a list of all the comments on 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/%22some+text%22/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": "\\/Products\\/People\\/Profile.aspx?user=administrator"
      },
      "LastModified": "2020-12-08T17:37:03.3304954Z",
      "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>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl>
    </Author>
    <LastModified>2020-12-08T17:37:03.3304954Z</LastModified>
    <Inactive>False</Inactive>
  </response>
</result>