Newer Version Available
Feed Elements Capability, Comments
- Resource
-
1/chatter/feed-elements/feedElementId/capabilities/comments1/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.
- CreatedDateOldestAsc—Sorts by oldest comments in ascending order.
- Relevance—Sorts by most relevant content.
Sorting in descending order isn’t supported.
Optional 41.0 threadedCommentsCollapsed Boolean Specifies whether to return threaded comments in a collapsed style (true) or not (false). If you don’t specify, the default is false. Optional 44.0 - Response body for GET
-
Comments Capability
If the feed element doesn’t support this capability, the response is 404: Not Found.