Newer Version Available

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

Experience Cloud Site Moderation Feed Resources

A feed containing feed elements and comments that have been flagged for moderation in an Experience Cloud site.

Available resources are:

Resource Description
/connect/communities/communityId​/chatter/feeds/moderation If the context user has the Moderate Experiences Feeds permission, this resource returns the URL to the Experience Cloud site moderation feed and a page of feed elements.
/connect/communities/communityId​/chatter/feeds/moderation/feed-elements If the context user has the Moderate Experiences Feeds permission, this resource returns a list of all feed elements and comments in the Experience Cloud site that have been flagged by site members.

Experience Cloud Site Moderation Feed URL

If the context user has the Moderate Experiences Feeds permission, this resource returns the URL to the Experience Cloud site moderation feed and a page of feed elements.

Resource
Available since version
32.0
Requires Chatter
Yes
HTTP methods
GET, HEAD
Request parameters
Parameter Name Type Description
pageSize Integer Specifies the number of feed elements per page. Valid values are from 1 through 100. If you pass in 0, feed elements aren’t returned with the feed.
recentCommentCount Integer Maximum number of comments to return with each feed element. The default value is 3.
sort String Order of feed items in the feed.
  • CreatedDateAscSorts by oldest creation date. This sort order is available only for DirectMessageModeration, Draft, Isolated, 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.

Response body
Feed

Experience Cloud Site Moderation Feed Elements

If the context user has the Moderate Experiences Feeds permission, this resource returns a list of all feed elements and comments in the Experience Cloud site that have been flagged by site members.

Resource
Available since release
31.0
Requires Chatter
Yes
HTTP methods
GET, HEAD
GET parameters
Parameter Name Type Description Required or Optional Available Version
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, for example:
Optional 29.0
pageSize Integer Specifies the number of elements per page. Valid values are between 1 and 100. If you don't specify a size, the default is 25. Optional 29.0
q String One or more keywords to search for in the body and comments of feed elements in this feed.

The search string can contain wildcards and must contain at least two characters that aren’t wildcards. See Wildcards.

Optional 29.0
sort String Order of feed items in the feed.
  • CreatedDateAscSorts by oldest creation date. This sort order is available only for DirectMessageModeration, Draft, Isolated, 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 29.0
Response body for GET
Feed Element Page
If a feed element has comments, the Comment Page response body contains a value in the total property to indicate the number of comments. However the comments property doesn’t contain a collection of comments. For example, this excerpt from a response shows a total of 2 comments, but no information about the comments: