Required, see Auth - Login
name (required)
Name of the new community. Note: community name must be unique.
description (required)
Text description of the the community.
tags (required)
Comma separated text values (i.e. 'news,sports,movies')
parentid (optional)
ID of the new community's parent community (typically the Infinit.e System community).
http://infinite.ikanow.com/api/community/add/New Community/Text description for the new community/news,entertainment,fun
http://infinite.ikanow.com/api/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
}
}
|
|