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

Description

Returns a list of all the comments on the bookmark with the ID specified in the request.

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",
      "ParentId": "00000000-0000-0000-0000-000000000000",
      "Created": "2020-12-06T07:36:14.8151911Z",
      "Updated": "2020-12-06T07:36:14.8151911Z",
      "CreatedBy": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "DisplayName": "Mike Zanyatski",
        "Title": "Manager",
        "AvatarSmall": "url to small avatar",
        "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
      },
      "Text": "comment text"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>00000000-0000-0000-0000-000000000000</Id>
    <ParentId>00000000-0000-0000-0000-000000000000</ParentId>
    <Created>2020-12-06T07:36:14.8151911Z</Created>
    <Updated>2020-12-06T07:36:14.8151911Z</Updated>
    <CreatedBy>
      <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>
    </CreatedBy>
    <Text>comment text</Text>
  </response>
</result>