Get Started
Portal api methods
Help

GET api/2.0/community/bookmark/{id}/comment This function requires authentication

Description

Returns the list of all comments to the bookmark with the specified ID

Parameters
Name Description Type Example
id
sent in url
Bookmark ID number 1234
Example
GET api/2.0/community/bookmark/1234/comment
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

list of bookmark comments

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "created": "2019-06-23T18:26:26.4449493Z",
      "updated": "2019-06-23T18:26:26.4449493Z",
      "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>2019-06-23T18:26:26.4449493Z</created>
    <updated>2019-06-23T18:26:26.4449493Z</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>