GET api/2.0/community/wiki/{page}/comment
Returns a list of all the comments to the wiki page with the name specified in the request.
Name |
Description |
Type |
Example |
page
sent in url
|
Page name
|
string
|
some text
|
GET api/2.0/community/wiki/some+text/comment
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
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": "2022-08-11T22:56:18.7701581Z",
"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>2022-08-11T22:56:18.7701581Z</lastModified>
<inactive>false</inactive>
</response>
</result>