| filter |
String |
Filter value for a feed.
-
AllQuestions—Feed elements
that are questions.
-
AuthoredBy—Feed elements
authored by the user profile owner. This value is valid only for the UserProfile feed.
-
CommunityScoped—Feed elements that are scoped to communities. Currently, these feed elements have a User or a Group parent record.
However, other parent record types could be scoped to communities in the future. Feed elements that are always visible in all communities are
filtered out. This value is valid only for the UserProfile feed.
-
QuestionsWithCandidateAnswers—Feed elements that are questions that have candidate answers associated
with them.
This value is valid only for users with the Access
Einstein-Generated Answers permission.
-
QuestionsWithCandidateAnswersReviewedPublished—Feed elements that are questions that have
candidate answers that have been reviewed or published.
This value is valid only for users with the Access
Einstein-Generated Answers permission.
-
Read—Feed elements that are
older than 30 days or are marked as read for the context user. Includes
existing feed elements when the context user joined the group. This value is
valid only for the Record feed of a
group.
-
SolvedQuestions—Feed elements
that are questions and that have a best answer.
-
UnansweredQuestions—Feed
elements that are questions and that don’t have any answers.
-
UnansweredQuestionsWithCandidateAnswers—Feed elements that are questions that don’t
have answers but have candidate answers associated with them.
This value is valid only for users with the Access
Einstein-Generated Answers permission.
-
Unread—Feed elements that are
created in the past 30 days and aren’t marked as read for the context user.
This value is valid only for the Record feed of a group.
-
UnsolvedQuestions—Feed
elements that are questions and that don’t have a best answer.
|
Optional |
32.0 |
| page |
String |
A generated token that indicates the view
of feed elements in the feed. Page
tokens are returned as part of the response body, in one of the
URL parameters, such as nextPageURL. |
Optional |
31.0 |
| pageSize |
Integer |
Specifies the number of feed elements per page. Valid values
are between 1 and 100. The default value is 25. |
Optional |
31.0 |
| sort |
String |
Order of feed items in the feed.
-
CreatedDateAsc—Sorts by oldest creation date. This sort order is
available only for DirectMessageModeration, Draft, Moderation, and
PendingReview feeds.
-
CreatedDateDesc—Sorts by most
recent creation date.
-
LastModifiedDateDesc—Sorts by
most recent activity.
-
MostViewed—Sorts by most
viewed content. This sort order is available only for Home feeds when the ConnectApi.FeedFilter is UnansweredQuestions.
-
Relevance—Sorts by most
relevant content. This sort order is available only for Company, Home, and Topics
feeds.
The default value is CreatedDateDesc. |
Optional |
31.0 |