Newer Version Available

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

Feed Elements Capability, Bookmarks

Get information about whether a feed element is bookmarked, or add bookmarks to feed elements.
Resource
1/chatter/feed-elements/feedElementId/capabilities/bookmarks
1/connect/communities/communityId/chatter/feed-elements/feedElementId/capabilities/bookmarks
Available version
32.0
Requires Chatter
Yes
HTTP methods
GET, PATCH
Request body for PATCH
Root XML tag
1<bookmarksCapability>
2   <isBookmarkedByCurrentUser>true</isBookmarkedByCurrentUser>
3</bookmarksCapability>
JSON example
1{
2   "isBookmarkedByCurrentUser": true
3}
Properties
Name Type Description Required or Optional Available Version
isBookmarked​ByCurrentUser Boolean Specifies if the feed element should be bookmarked for the user (true) or not (false). Required 32.0
Request parameter for PATCH
Parameter Name Type Description Required or Optional Available Version
isBookmarked​ByCurrentUser Boolean Specifies if the feed element should be bookmarked for the user (true) or not (false). Required 32.0
Response body for GET, PATCH
Bookmarks Capability

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