Newer Version Available
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
-
1/connect/communities/communityId/chatter/feeds/moderation - Available since version
- 32.0
- Requires Chatter
- Yes
- HTTP methods
- GET, HEAD
- Request parameters
-
- 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
-
1/connect/communities/communityId/chatter/feeds/moderation/feed-elements - 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: 1"nextPageUrl": 2"/services/data/v52.0/ 3chatter/feeds/news/ 4005D0000001GLowIAN 5/feed-elements 6?page=2011-03-30T17:34:50Z, 70D5D0000000DSv4KAG"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. - 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.
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:
1"comments": { 2 "comments": [], 3 "currentPageUrl": "/services/data/v52.0/connect/communities/0DBD000000002etOAA 4/chatter/feed-elements/0D5D0000000LYi9KAG/comments", 5 "nextPageUrl": null, 6 "total": 2 7 },