Get Started
Usage API
More information

GET api/2.0/community/event/{feedid}/comment This function requires authentication

Description

Returns the detailed information about the comments on the event with the ID specified in the request.

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

List of comments

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": 10,
      "parentId": 123,
      "created": "2021-10-27T06:29:16.0916111Z",
      "updated": "2021-10-27T06:29:16.0916111Z",
      "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>10</id>
    <parentId>123</parentId>
    <created>2021-10-27T06:29:16.0916111Z</created>
    <updated>2021-10-27T06:29:16.0916111Z</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>