Community articleWorking with communities programmatically
Added by IBM contributorIBM on December 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Using the Atom Publishing Protocol, also known as AtomPub, you can create or update communities that you own.
Tags: commapi



Using the Atom Publishing Protocol, also known as AtomPub, you can create or update communities that you own.
Creating communities programmatically
To create a community, send an Atom entry document containing the new community to the My Communities resource.

Retrieving a community
To retrieve a community entry, use the edit link for the community entry which can be found in the my communities feed.

Updating communities
To update a community, send a replacement community entry document in Atom format to the existing community's edit web address.

Deleting communities programmatically
To delete a community, use the HTTP DELETE method.