Newer Version Available

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

Topics Pinned Feed Elements (Beta)

Get pinned feed elements from a topic feed. Pin or unpin a feed element to a topic feed.

This release contains a beta version of pinned posts, which means it’s a high-quality feature with known limitations. Post pinning isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features. You can provide feedback and suggestions for pinned posts in the Trailblazer Community.

Note

Resource
1/chatter/feeds/topics/topicId/pinned-feed-elements
1/connect/communities/communityId/chatter/feeds/topics/topicId/pinned-feed-elements
Available version
41.0
Requires Chatter
Yes
HTTP methods
GET, PATCH
Response body for GET
Pinned Feed Element Collection (Beta)
Request body for PATCH
Root XML tag
<pinCapability>
JSON example
1{
2   "entityId":"0D5B000000TW7uh",
3   "isPinned": "true"
4}
Properties
Name Type Description Required or Optional Available Version
entityId String ID of the entity to pin or unpin. In version 41.0 and later, entityId must be a feed item ID, and only one feed item can be pinned per feed. Required 41.0
isPinned Boolean Specifies whether to pin (true) or unpin (false) the entity. Required 41.0
Response body for PATCH
Pin Capability (Beta)