Topics Pinned Feed Elements

Get pinned feed elements from a topic feed. Pin or unpin a feed element to a topic feed.
Resource
/chatter/feeds/topics/topicId/pinned-feed-elements
/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

In the UI, pinned feed elements don’t show all auxiliary information, such as comments, likes, interaction counts, or read by information. As a result, the Pinned Feed Element Collection doesn’t include all the information for these capabilities.

Request body for PATCH
Root XML tag
<pinCapability>
JSON example
{
   "entityId":"0D5B000000TW7uh",
   "isPinned": "true"
}
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. In version 41.0–42.0, only one feed item can be pinned per feed. In version 43.0 and later, three feed items 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