No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Communities Moderation Feed Resource
Communities Moderation Feed Items
If the logged in user is a community moderator with the “Moderate Communities Feeds” permission, returns a list of all posts 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 since release
- 29.0
- 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/v30.0/ 3chatter/feeds/news/ 4005D0000001GLowIAN 5/feed-items 6?page=2011-03-30T17:34:50Z, 70D5D0000000DSv4KAG"Optional 29.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 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 sort String Specifies the order returned by the sort, such as by date created or last modified: - CreatedDateDesc—Sorts the feed items by most recent post date.
- LastModifiedDateDesc—Sorts the feed items by most recent activity, which includes new feed items and comments.
Optional 29.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/v30.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.
1{ 2 "currentPageUrl": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 3/chatter/feeds/moderation/feed-items", 4 "isModifiedToken": null, 5 "isModifiedUrl": null, 6 "items": [{ 7 "actor": { 8 "companyName": null, 9 "firstName": "Abby", 10 "id": "005D0000001QdELIA0", 11 "isActive": true, 12 "isInThisCommunity": true, 13 "lastName": "Bass", 14 "motif": { 15 "color": "1797C0", 16 "largeIconUrl": "/img/icon/profile64.png", 17 "mediumIconUrl": "/img/icon/profile32.png", 18 "smallIconUrl": "/img/icon/profile16.png" 19 }, 20 "mySubscription": null, 21 "name": "Abby Bass", 22 "photo": { 23 "fullEmailPhotoUrl": "https://instance_name/img/userprofile/default_profile_200.png?fromEmail=1", 24 "largePhotoUrl": "https://instance_name/profilephoto/005/F", 25 "photoVersionId": null, 26 "smallPhotoUrl": "https://instance_name/profilephoto/005/T", 27 "standardEmailPhotoUrl": "https://instance_name/img/userprofile/default_profile_45.png?fromEmail=1", 28 "url": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 29/chatter/users/005D0000001QdELIA0/photo" 30 }, 31 "title": null, 32 "type": "User", 33 "url": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 34/chatter/users/005D0000001QdELIA0", 35 "userType": "Internal" 36 }, 37 "attachment": null, 38 "body": { 39 "messageSegments": [{ 40 "text": "All kinds of stuff is what I'm thinking about.", 41 "type": "Text" 42 }], 43 "text": "All kinds of stuff is what I'm thinking about." 44 }, 45 "canShare": true, 46 "clientInfo": null, 47 "comments": { 48 "comments": [], 49 "currentPageUrl": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 50/chatter/feed-items/0D5D0000000LYi9KAG/comments", 51 "nextPageUrl": null, 52 "total": 2 53 }, 54 "createdDate": "2013-08-28T20:51:45.000Z", 55 "event": false, 56 "id": "0D5D0000000LYi9KAG", 57 "isBookmarkedByCurrentUser": false, 58 "isDeleteRestricted": false, 59 "isLikedByCurrentUser": false, 60 "likes": { 61 "currentPageUrl": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 62/chatter/feed-items/0D5D0000000LYi9KAG/likes", 63 "likes": [], 64 "nextPageUrl": null, 65 "previousPageUrl": null, 66 "total": 0 67 }, 68 "likesMessage": null, 69 "moderationFlags": { 70 "flagCount": 1, 71 "flaggedByMe": false 72 }, 73 "modifiedDate": "2013-08-28T20:51:45.000Z", 74 "myLike": null, 75 "originalFeedItem": null, 76 "originalFeedItemActor": null, 77 "parent": { 78 "companyName": null, 79 "firstName": "Abby", 80 "id": "005D0000001QdELIA0", 81 "isActive": true, 82 "isInThisCommunity": true, 83 "lastName": "Bass", 84 "motif": { 85 "color": "1797C0", 86 "largeIconUrl": "/img/icon/profile64.png", 87 "mediumIconUrl": "/img/icon/profile32.png", 88 "smallIconUrl": "/img/icon/profile16.png" 89 }, 90 "mySubscription": null, 91 "name": "Abby Bass", 92 "photo": { 93 "fullEmailPhotoUrl": "https://instance_name/img/userprofile/default_profile_200.png?fromEmail=1", 94 "largePhotoUrl": "https://instance_name/profilephoto/005/F", 95 "photoVersionId": null, 96 "smallPhotoUrl": "https://instance_name/profilephoto/005/T", 97 "standardEmailPhotoUrl": "https://instance_name/img/userprofile 98/default_profile_45.png?fromEmail=1", 99 "url": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 100/chatter/users/005D0000001QdELIA0/photo" 101 }, 102 "title": null, 103 "type": "User", 104 "url": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 105/chatter/users/005D0000001QdELIA0", 106 "userType": "Internal" 107 }, 108 "photoUrl": "https://instance_name/profilephoto/005/T", 109 "preamble": { 110 "messageSegments": [{ 111 "motif": { 112 "color": "1797C0", 113 "largeIconUrl": "/img/icon/profile64.png", 114 "mediumIconUrl": "/img/icon/profile32.png", 115 "smallIconUrl": "/img/icon/profile16.png" 116 }, 117 "reference": { 118 "id": "005D0000001QdELIA0", 119 "url": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 120/chatter/users/005D0000001QdELIA0" 121 }, 122 "text": "Abby Bass", 123 "type": "EntityLink" 124 }], 125 "text": "Abby Bass" 126 }, 127 "relativeCreatedDate": "27m ago", 128 "topics": { 129 "canAssignTopics": true, 130 "topics": [] 131 }, 132 "type": "TextPost", 133 "url": "/services/data/v30.0/connect/communities/0DBD000000002etOAA 134/chatter/feed-items/0D5D0000000LYi9KAG", 135 "visibility": "AllUsers" 136 }], 137 "nextPageUrl": null 138}