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

Description

Returns a list of all 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": "2020-12-07T13:56:02.2899133Z",
      "Updated": "2020-12-07T13:56:02.2899133Z",
      "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>10</Id>
    <ParentId>123</ParentId>
    <Created>2020-12-07T13:56:02.2899133Z</Created>
    <Updated>2020-12-07T13:56:02.2899133Z</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>