Create a community forum topic programmatically 

To add a topic to a community forum, send an Atom entry document containing the forum topic to the community forum topics resource.

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method Resource URI Input representation
POST Community forum topics Value of the href attribute of the <link> element with the rel="http://www.ibm.com/xmlns/prod/sn/forum-topics" attribute value for each community. forum topic


Input

Provide a forum topic Atom entry document.

Note: The content type of the Atom entry document must be application/atom+xml.


Output

An Atom entry document containing the new forum topic.

Returned HTTP headers

HTTP/1.1 201 Created

Location: url

Error codes


Parent topic

Work with community forum topics

Related concepts
Administer Forums

Related reference
Forum topic entry content


   

 

});

+

Search Tips   |   Advanced Search