Feed Elements Capability, Upvote and Downvote

Get the upvotes and downvotes for a feed element. Upvote or downvote a feed element.
Resource
1/chatter/feed-elements/feedElementId/capabilities/up-down-vote
1/connect/communities/communityId/chatter/feed-elements/feedElementId/capabilities/up-down-vote
Available version
41.0
Requires Chatter
Yes
HTTP methods
GET, PATCH
Request body for PATCH
Root XML tag
<upDownVoteCapability>
JSON example
1{
2   "vote":"Up"
3}
Properties
Name Type Description Required or Optional Available Version
vote String Type of vote for a feed element or comment. Values are:
  • Down
  • None
  • Up
Required 41.0
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
vote String Type of vote for a feed element or comment. Values are:
  • Down
  • None
  • Up
Required 41.0
Response body for GET and PATCH
Up Down Vote Capability

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