Newer Version Available
User Recommendations for a Specific Action and Object ID
Returns the recommendation for the specified
action and object ID for the context user. Also used to delete a
recommendation.
- Resource
-
1/chatter/users/userId/recommendations/action/objectId1/connect/communities/communityId/chatter/users/userId/recommendations/action/objectId- Valid values for action:
- follow
- join
- view (version 25.0 and later)
- Valid values for objectId:
- If action is follow, objectId is a user ID, file ID, record ID, or topic ID (version 36.0 and later).
- If action is join, objectId is a group ID.
- If action is view, objectId is a user ID, file ID, group ID, record ID, custom recommendation ID (version 34.0 and later), or Today for static recommendations (version 35.0 and later).
- Valid values for action:
- Available since version
- 24.0
- Requires Chatter
- Yes
- HTTP methods
- GET, DELETE, or HEADDELETE is used to remove a recommendation and is only valid for the following resources:
- /chatter/users/userId/recommendations/follow/recommendedUserId
- /chatter/users/userId/recommendations/follow/recommendedFileId
- /chatter/users/userId/recommendations/follow/recommendedRecordId
- /chatter/users/userId/recommendations/follow/recommendedTopicId
- /chatter/users/userId/recommendations/join/recommendedGroupId
- /chatter/users/userId/recommendations/view/customRecommendationId
- /chatter/users/userId/recommendations/view/Today
- Response body for GET
- Recommendations
- Response body for DELETE
- 204: Successful Delete