Social - Community - Get Public
/social/community/getpublic
Retrieves community information for all public communities.
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
N/A
Example
http://infinite.ikanow.com/api/community/getpublic
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"} ] } }