Newer Version Available

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

Communities Resources

Information about the communities available to the context user, or information about a specific community.

Available resources are:

Resource Description
/connect/communities Returns a list of all communities available to the context user.
/connect/communities/communityId Returns information about the specified community.

List of Communities

Returns a list of all communities available to the context user. If the user is an administrator, returns a list of all communities that meet the filter criteria. If the user is not an administrator, returns a list of all active communities that meet the filter criteria.

Resource
1/connect/communities
Available since release
28.0
Requires Chatter
No
HTTP methods
GET or HEAD
Request parameters
Name Type Description Available Version
status String Returns only communities with the specified status. Valid values are:
  • Live
  • Inactive
  • UnderConstruction

Only users with the “Manage Network” permission enabled can see communities with an Inactive status.

This parameter is optional.

28.0
Response body
Community Page

Community Information

Returns information about the specified community.

Resource
1/connect/communities/communityId
To access resources that are part of a specified community, insert this segment into the URL after the version information and before the resource you want to access. For example, to access a news feed resource in a community, use this URL:
1https://instance_name/services/data/v38.0/connect
2/communities/communityId/chatter/feeds/news/me/feed-elements
See Building the Chatter REST API Resource URL for more information.
Available since release
26.0
Requires Chatter
No
HTTP methods
GET or HEAD
Response body
Community