Newer Version Available

This content describes an older version of this product. View Latest

Feed Elements Capability, Comments

Access the comments capability for a feed element
Resource
1/chatter/feed-elements/feedElementId/capabilities/comments
1/connect/communities/communityId/chatter/feed-elements/feedElementId/capabilities/comments
Available version
32.0
Requires Chatter
Yes
HTTP methods
GET
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
sort String Order of comments. Values are:
  • CreatedDateLatestAsc—Sorts by most recently created comments in ascending order.
  • Relevance—Sorts by most relevant content.
The default value is CreatedDateLatestAsc.
Optional 41.0
Response body for GET
Comments Capability

If the feed element doesn’t support this capability, the response is 404: Not Found.