GET api/2.0/community/event/{feedid}/comment
Returns the detailed information about the comments on the event with the ID specified in the request.
Name |
Description |
Type |
Example |
feedid
sent in url
|
Event ID
|
number
|
1234
|
GET api/2.0/community/event/1234/comment
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": [
{
"id": 10,
"parentId": 123,
"created": "2022-08-11T22:56:18.7213868Z",
"updated": "2022-08-11T22:56:18.7213868Z",
"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>2022-08-11T22:56:18.7213868Z</created>
<updated>2022-08-11T22:56:18.7213868Z</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>