Social - Community - Get

/social/community/get/{communityid}

Retrieves community information for the specified community.

Community Member Filtering

If a community has set the communityAttribute "publishMemberOverride" to false, then the members field will be removed before returning the community object.  Administrators and community moderators are always allowed to see all other members as an exception to this rule.

 

 

Authentication

Required, see Auth - Login

Arguments

communityid (required)
Community ID to search on, can also be a regex (community ID - regex) provided that matches only a single community.

Example

http://infinite.ikanow.com/api/community/get/4c927585d591d31d7b37097a

Example Response
{
	response: 
	{
		action: "Community Info"
		success: true
		message: "Community info returned successfully"
		time: 27
	}
	data: 
	{
		_id: "4c927585d591d31d7b37097a"
		created: "Apr 12, 2011 6:56:47 PM"
		modified: "Apr 12, 2011 6:56:47 PM"
		name: "Infinit.e System"
		description: ""
		isSystemCommunity: true
		parentName: ""
		isPersonalCommunity: false
		tags:["Infinit.e","Community","Share"]
		communityAttributes: {
			isPublic: {type: "boolean", value: "true"}
			usersCanSelfRegister: { type: "boolean",value: "false"}
			registrationRequiresApproval: {type: "boolean",value: "false"}
			usersCanCreateSubCommunities: {type: "boolean",value: "false"}
		}
		userAttributes: {
			publishLoginToActivityFeed: {type: "boolean",defaultValue: "true",allowOverride: false}
			publishCommentsToActivityFeed: {type: "boolean",defaultValue: "true",allowOverride: false}
			publishSharingToActivityFeed: {type: "boolean",defaultValue: "true",allowOverride: false}
			publishQueriesToActivityFeed: {type: "boolean",defaultValue: "true",allowOverride: false}
			publishCommentsPublicly: {type: "boolean",defaultValue: "false",allowOverride: false}
		}
		ownerId: "4ca4a7c6b94b6296f6469d36"
		communityStatus: "active"
		ownerDisplayName: "Jim Moore"
		numberOfMembers: 85
		members: [
			{
				_id: "4cf77c709889a84922900249"
				email: "jill@ikanow.com"
				displayName: "Jill1 Smith"
				userType: "member"
				userStatus: "active
 		userAttributes: [
			{type: "publishCommentsToActivityFeed",value: "true"}
			{type: "publishCommentsPublicly",value: "false"}
			{type: "publishQueriesToActivityFeed",value: "true"}
			{type: "publishLoginToActivityFeed",value: "true"}
			{type: "publishSharingToActivityFeed",value: "true"}]
		contacts: [
			{type: "mobile",value: "555.444.5555"}
		]
	}
}