Home
Updating forum replies
To update a reply to a topic in a community forum, send an updated forum reply document in Atom format to the existing reply's edit Web address.
All existing forum reply information will be replaced with the new data. To avoid deleting all existing data, retrieve any data you want to retain first, and send it back with this request. See Retrieving forum replies for more information. If you want to delete a reply and provide a customized message about why the reply was removed, send this request without first retrieving the reply data and include a <category scheme="http://www.ibm.com/xmlns/prod/sn/flags term="deleted"> element in the entry content. See Deleting forum replies for more information.
See Authenticating requests for information about how to authenticate the request.
Atom API request details
Method Resource URI Input representation PUT forum reply Value of the href attribute of the <link> element that has a rel="edit" attribute value for each entry in the forum replies feed. forum reply
Input
Provide a forum reply Atom entry document.The content type of the Atom entry document must be application/atom+xml.
Output
None. Returned HTTP Headers
- HTTP/1.1 200 OK
- Indicates that the forum reply was successfully updated. If an error occurs, this header will contain one of the error codes below.
Error codes
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Related reference