ConnectApi.FeedDirectoryItem Class

The definition of a feed.

Name Type Description Available Version
feedElementsUrl String Chatter REST API resource URL for the feed elements.
feedItemsUrl String Chatter REST API resource URL for the feed items of a specific feed. 30.0–31.0
feedType ConnectApi​.FeedType Enum The feed type. One of these values:
  • BookmarksContains all feed items saved as bookmarks by the context user.
  • CompanyContains all feed items except feed items of type TrackedChange. To see the feed item, the user must have sharing access to its parent.
  • FilesContains all feed items that contain files posted by people or groups that the context user follows.
  • Filter—Contains the news feed filtered to contain feed items whose parent is a specified object type.
  • GroupsContains all feed items from all groups the context user either owns or is a member of.
  • Home—Contains all feed items associated with any managed topic in a community.
  • ModerationContains all feed items that have been flagged for moderation. The Communities Moderation feed is available only to users with “Moderate Community Feeds” permissions.
  • Mute—Contains all feed items that the context user muted.
  • NewsContains all updates for people the context user follows, groups the user is a member of, and files and records the user is following. Also contains all updates for records whose parent is the context user and every feed item and comment that mentions the context user or that mentions a group the context user is a member of.
  • PeopleContains all feed items posted by all people the context user follows.
  • RecordContains all feed items whose parent is a specified record, which could be a group, user, object, file, or any other standard or custom object. When the record is a group, the feed also contains feed items that mention the group. When the record is a user, the feed contains only feed items on that user. You can get another user’s record feed.
  • ToContains all feed items with mentions of the context user, feed items the context user commented on, and feed items created by the context user that are commented on.
  • TopicsContains all feed items that include the specified topic.
  • UserProfile—Contains feed items created when a user changes records that can be tracked in a feed, feed items whose parent is the user, and feed items that @mention the user. This feed is different than the news feed, which returns more feed items, including group updates. You can get another user’s user profile feed.
30.0
feedUrl String Chatter REST API resource URL for a specific feed 30.0
keyPrefix String A key prefix is the first three characters of a record ID, which specifies the entity type.

For filter feeds, this value is the key prefix associated with the entity type used to filter this feed. All feed items in this feed have a parent whose entity type matches this key prefix value. For non-filter feeds, this value is null.

30.0
label String Localized label of the feed 30.0
Previous
Next