Newer Version Available
Communities Moderation Feed Resources
Available resources are:
| Resource | Description |
|---|---|
| /connect/communities/communityId/chatter/feeds/moderation/feed-elements | If the context user is a community moderator with the “Moderate Communities Feeds” permission, returns a list of all feed elements and comments in the community that have been flagged by community members. By default, returns 25 feed elements per page of results. |
Communities Moderation Feed Elements
If the context user is a community moderator with the “Moderate Communities Feeds” permission, returns a list of all feed elements and comments in the community that have been flagged by community members. By default, returns 25 feed elements per page of results.
- 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/v36.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 Specifies the order returned by the sort, such as by date created or last modified: - CreatedDateDesc—Sorts by most recent creation date.
- LastModifiedDateDesc—Sorts by most recent activity.
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/v36.0/connect/communities/0DBD000000002etOAA 4/chatter/feed-elements/0D5D0000000LYi9KAG/comments", 5 "nextPageUrl": null, 6 "total": 2 7 },
Communities Moderation Feed Items
If the context user is a community moderator with the “Moderate Communities Feeds” permission, returns a list of all feed elements and comments in the community that have been flagged by community members. By default, returns 25 feed items per page of results.
- Resource
- /connect/communities/communityId/chatter/feeds/moderation/feed-items
- Available versions
- 29.0–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 items 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/v36.0/ 3chatter/feeds/news/ 4005D0000001GLowIAN 5/feed-items 6?page=2011-03-30T17:34:50Z, 70D5D0000000DSv4KAG"Optional 29.0–31.0 pageSize Integer Specifies the number of items per page. Valid values are between 1 and 100. If you don't specify a size, the default is 25. Optional 29.0–31.0 q String One or more keywords to search for in the body and comments of feed items 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–31.0 sort String Specifies the order returned by the sort, such as by date created or last modified: - CreatedDateDesc—Sorts by most recent creation date.
- LastModifiedDateDesc—Sorts by most recent activity.
Optional 29.0–31.0 - Response body for GET
- Feed Item Page
- If a feed item 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/v36.0/connect/communities/0DBD000000002etOAA 4/chatter/feed-items/0D5D0000000LYi9KAG/comments", 5 "nextPageUrl": null, 6 "total": 2 7 }, - Example for GET
- This example makes a GET
request.
1GET /connect/communities/0DBD000000002etOAA/chatter/feeds/moderation/feed-itemsThe response is a Feed Item Page response body.