GET api/2.0/community/bookmark/{id}/comment
Returns the list of all comments to the bookmark with the specified ID
Name |
Description |
Type |
Example |
id
sent in url
|
Bookmark ID
|
number
|
1234
|
GET api/2.0/community/bookmark/1234/comment
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
list of bookmark comments
application/json
{
"status": 0,
"response": [
{
"id": "00000000-0000-0000-0000-000000000000",
"created": "2021-03-02T06:12:00.5400364Z",
"updated": "2021-03-02T06:12:00.5400364Z",
"createdBy": {
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "Mike Zanyatski",
"title": "Manager",
"avatarSmall": "url to small avatar",
"profileUrl": ""
},
"text": "comment text"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<id>00000000-0000-0000-0000-000000000000</id>
<created>2021-03-02T06:12:00.5400364Z</created>
<updated>2021-03-02T06:12:00.5400364Z</updated>
<createdBy>
<id>00000000-0000-0000-0000-000000000000</id>
<displayName>Mike Zanyatski</displayName>
<title>Manager</title>
<avatarSmall>url to small avatar</avatarSmall>
<profileUrl></profileUrl>
</createdBy>
<text>comment text</text>
</response>
</result>