Newer Version Available
Feed Elements Capability, Chatter Likes Items
- Resource
-
1/chatter/feed-elements/feedElementId/capabilities/chatter-likes/items1/connect/communities/communityId/chatter/feed-elements/feedElementId/capabilities/chatter-likes/items - Available version
- 32.0
- Requires Chatter
- Yes
- HTTP methods
- GET, PATCH, POST
PATCH is supported in version 39.0 and later.
- Request parameters for GET
-
Parameter Name Type Description Required or Optional Available Version page Integer Specifies the number of the page you want returned. If you don’t specify a value, the first page is returned. Optional 32.0 pageSize Integer Specifies the number of likes per page. Valid values are from 1 to 100. If you don't specify a size, the default is 25. Optional 32.0 - Response body for GET
-
Like Page
If the feed element doesn’t support this capability, the response is 404: Not Found.
- Request parameters for PATCH
-
Parameter Name Type Description Required or Optional Available Version isLikedByCurrentUser Boolean Specifies whether the context user likes (true) or unlikes (false) the feed element. Required 39.0 - Response body for PATCH
-
Like Page
If the feed element doesn’t support this capability, the response is 404: Not Found.
- Request parameters for POST
- Response body for POST
-
Like
If the feed element doesn’t support this capability, the response is 404: Not Found.