Social - Community - Update

/social/community/update/{communityid}

Update a community's information. Note: Can be called via post or get.

This method will overwrite the entire community object so it is to be used in the following format:

  1. Get a community via /social/community/get
  2. Edit that community, in a text editor, etc
  3. Update the community with this call (overwriting the previous community)
Authentication

Required, see Auth - Login

Arguments

communityid (required)
ID of the community to update, can also be a regex (community ID - regex) provided that matches only a single community.

json (required)
JSON object

Example

Method.Get
http://infinite.ikanow.com/api/community/update/4e1c5d7c20be6403ca94c3bb?json={...}

Method.Post

Example using curl:

curl \-XPOST 'http://infinite.ikanow.com/api/community/update/4e1c5d7c20be6403ca94c3bb/' \-d '{ "field":"value" }'
Example Response
{
	response: {
		action: "Update community"
		success: true
		message: "Community updated successfully"
		time: 12
	}
}