Newer Version Available

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

User Recommendations for a Specific Action

Returns the recommendations for the specified action for the context user. For example, use this resource to get a list of records to follow.
Resource
1/chatter/users/me/recommendations/action
or
1/chatter/users/userId/recommendations/action

userId must be the ID of the context user or the alias me.

Note

Valid values for action and resulting recommendations:
  • follow returns recommendations to follow users, files, and records.
  • join returns recommendations to join groups.
  • view returns recommendations to view users, files, groups, and records. Available in versions 25.0 and later.
Available since version
24.0
Requires Chatter
Yes
HTTP methods
GET or HEAD
Request parameters for GET
Parameter Name Type Description
followed String ID of a user. Provides new recommendations based on the context of this user ID.
maxResults Integer Maximum number of recommendation results; default is 10. Value must be greater than 0.
viewed String ID of a file. Provides new recommendations based on the context of this file ID.
Response body
Recommendations