Newer Version Available
Favorites Feed Resources
Favorites are feed searches, list views, and topics that the context user has added as a Chatter favorite.
Available resources are:
| Resource | Description |
|---|---|
| /chatter/feeds/favorites/me | Returns all the favorites for the context user. Creates a favorite of a Chatter feed search or topic. |
| /chatter/feeds/favorites/me/favoriteId | Returns the feed for the specified favorite. Deletes the specified favorite. Updates the last view date of the specified favorite. |
| /chatter/feeds/favorites/me/favoriteId/feed-elements | Returns a filtered feed, only showing those feed elements for the specified favorite. |
List of Favorites
Returns all the favorites for the context user. Creates a favorite of a Chatter feed search or topic.
- Resource
-
1/chatter/feeds/favorites/userId1/connect/communities/communityId/chatter/feeds/favorites/userId - Available since version
- 24.0
- Requires Chatter
- Yes
- HTTP methods
- GET, HEAD, or POST
- Request body for POST
-
- Root XML tag
- <favorite>
- JSON for POST
-
1{ 2 "searchText" : "release", 3 "targetId" : "0TOD0000000099d" 4} - Properties for POST
-
Name Type Description Available Version searchText String Text of the feed search. Use this parameter for feed searches only. 24.0 targetId String Id of the topic. Use this parameter for topics only. 28.0
- Request parameters for POST
- Response body for GET
- Favorites Page
- Response body for POST
- Favorite
Favorite
Returns the feed for the specified favorite. Deletes the specified favorite. Updates the last view date of the specified favorite.
- Resource
-
1/chatter/feeds/favorites/userId/favoriteId1/connect/communities/communityId/chatter/feeds/favorites/userId/favoriteId - Available since version
- 24.0
- Requires Chatter
- Yes
- HTTP methods
- GET, HEAD, PATCH, or DELETE
- Request parameter for GET or HEAD
-
- Request body for PATCH
-
- Root XML tag
- <favorite>
- JSON for PATCH
-
1{ 2 "updateLastViewDate" : "true" 3} - Properties for PATCH
-
Name Type Description Available Version updateLastViewDate Boolean Sets the last view date of the specified feed favorite to the current system time. Default value is false. 24.0
- Request parameter for PATCH
- Response body for GET and PATCH
- Favorite