Feed-Items Query
The query parameter (q) is required. All types of feed items are searched, including tracked changes. A search returns feed items with the search term in the feed item body, as well as feed items that have comments that contain the search term. You can also use wildcards with the query parameter.
- Resource
-
1/chatter/feed-items?q=searchTerm - Available versions
- 23.0–31.0
- Requires Chatter
- Yes
- HTTP methods
- GET, HEAD
- Request parameters
-
Parameter Name Type Description Required or Optional Available Since page String A generated token that indicates the view of feed items in the feed. Optional 23.0–31.0 pageSize Integer Specifies the number of items per page. Valid values are from 1 through 100. If you don't specify a size, the default is 25. Optional 23.0–31.0 q String Specifies the string to search. The search string must contain at least two characters, not including any wildcards. For more information about wildcards, see Wildcards. The query parameter searches all types of feed items, including tracked changes. The search returns feed items with the search term in the feed item body, as well as feed items that have comments that contain the search term.
Required 23.0–31.0 recentCommentCount Integer Maximum number of comments to include per feed item. The default value is 3. Optional 29.0–31.0 sort String The sort order of the results. Values are: - CreatedDateDesc
- LastModifiedDateDesc
The default value is CreatedDateDesc.
Optional 28.0–31.0 - Response body
- Feed Item Page