Get Started
Portal api methods
Help

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 specified ID

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": "2019-06-18T22:26:03.5036483Z",
      "updated": "2019-06-18T22:26:03.5036483Z",
      "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>2019-06-18T22:26:03.5036483Z</created>
    <updated>2019-06-18T22:26:03.5036483Z</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>