Newer Version Available
Building the Chatter REST API Resource URL
Access all Chatter REST API resources by using the URI for your company's instance, combined with version and community information, and the URI for the resource.
1https://instance_name1/services/data/v38.01/chatter/feeds/news/me/feed-elements1https://instance_name/services/data/v38.0/chatter/
2feeds/news/me/feed-elements1/connect/communities/communityId1https://instance_name/services/data/v38.0/connect
2/communities/communityId/chatter/feeds/news/me/feed-elements1/connect/communities/internalYou can use the internal shortcut even if communities are not enabled. For example, if you’re developing an application for multiple organizations, not all of which use communities, you can use this shortcut.
The response bodies include URLs with /connect/communities/internal. This format enables you to perform string interpolation when referencing communities.
To access resources in the default community, you can also use the /chatter resources directly (without /connect/communities/internal). The response bodies don’t include URLs with /connect/communities/internal.
1https://communitydomain.force.com/communitypath/services/data/v38.0/connect
2/communities/communityId/chatter/feeds/news/me/feed-elements