Retrieve a community forum topic programmatically
To retrieve complete information about a forum topic, use the edit link found in the forum topic entry in the forum topics feed.You can use this operation to obtain forum topic information that you want to preserve prior to performing an update. See Update community forum topics for more information. This method returns the Atom entry of a single forum topic entry as opposed to a feed of all the forum topic entries. If you want to retrieve a feed, see Search communities.
See Authenticating requests for information about how to authenticate the request.
Table 1. Atom API request details
Method Resource URI Output representation GET forum topic Value of the href attribute of <link rel="edit"> element of each entry in the forum topics feed. forum topic
Input
None.
Output
An Atom entry document containing the forum topic.Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the forum topic was successfully found and returned. If an error occurs, this header will contain one of the error codes below.
Content-Type: application/atom+xml
Indicates that the document returned contains data in Atom format.
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic
Work with community forum topicsRelated reference
Update a community forum topic programmatically
Forum topic entry content
});