Community articleWorking with stand-alone forum replies
Added by IBM contributorIBM on December 22, 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 replies to stand-alone forum topics.



Using the Atom Publishing Protocol, also known as AtomPub, you can create or update replies to stand-alone forum topics.


Creating a stand-alone forum reply programmatically
To post a reply to a topic in a stand-alone forum, send an Atom entry document containing the forum reply to the forum replies resource.

Retrieving a stand-alone forum reply programmatically
To retrieve complete information about a reply to a topic in a stand-alone forum, use the edit link found in the forum reply entry in the forum replies feed.

Updating a stand-alone forum reply programmatically
To update a reply to a topic in a stand-alone forum, send an updated forum reply document in Atom format to the existing reply's edit web address.

Deleting a stand-alone forum reply programmatically
Because replies often have child replies associated with them, when you delete a reply from a forum, the reply is not entirely removed. Instead, if you use the HTTP DELETE command to delete the reply, the reply content is replaced with a standard message that states that the content has been removed. If you want a custom message to be displayed, use the HTTP PUT command instead.

Splitting a stand-alone forum reply programmatically
To split a forum reply (along with the replies to this reply) from one topic to another, send an updated forum reply document in Atom format to the existing reply's edit web address.