...
Info |
---|
Add a new community (the created object is returned if successful - see data model). |
Required, see Auth - Login
...
tags (required)
Comma separated text values (i.e. 'news,sports,movies') - these are currently not used, but may be searchable in the future.
parentid (optional)
ID of the new community's parent community (typically the Infinit.e platform System community) - note this is currently not used and should be left blank.
http://infinite.ikanow.com/api/social/community/add/New Community/Text description for the new community/news,entertainment,fun
http://infinite.ikanow.com/api/social/community/add/New Community/Text description for the new community/news,entertainment,fun/4c927585d591d31d7b37097a
Info |
---|
Code Block |
---|
{
response:
{
action: "Add Community"
success: true
message: "The New Community community has been added."
time: 83
}
data:
{
_id: "4e1c5d7c20be6403ca94c3bb"
name: "New Community"
description: "Text description for the new community"
isSystemCommunity: false
parentId: "4c927585d591d31d7b37097a"
parentName: "Infinit.e System"
isPersonalCommunity: false
tags: ["news","entertainment","fun"]
communityAttributes: {
usersCanCreateSubCommunities: {type: "Boolean",value: "false"}
registrationRequiresApproval: {type: "Boolean",value: "false"}
isPublic: {type: "Boolean",value: "true"}
usersCanSelfRegister: {type: "Boolean",value: "true"}
}
userAttributes: {
publishCommentsPublicly: {type: "Boolean",defaultValue: "false",allowOverride: false}
publishQueriesToActivityFeed: {type: "Boolean",defaultValue: "true",allowOverride: false}
publishLoginToActivityFeed: {type: "Boolean",defaultValue: "true",allowOverride: false}
publishSharingToActivityFeed: {type: "Boolean",defaultValue: "true",allowOverride: false}
publishCommentsToActivityFeed: {type: "Boolean",defaultValue: "true",allowOverride: false}
}
ownerId: "4d88d0f1f9a624a4b0c8bd71"
communityStatus: "active"
ownerDisplayName: "Jane Doe"
numberOfMembers: 0
}
}
|
|