Getting a feed of forum replies
Added by IBM contributorIBM | Edited by Claudia R Elbourn on July 7, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Get a feed that includes all of the replies for a specific forum topic.

 You can narrow down the replies that are returned by passing parameters to the request that you use to retrieve the feed.

Discoverability

You can derive the URL from the value of the href attribute of the <link> element with the rel="replies" attribute value for each forum topic entry returned in the My Topics feed.

Request parameters

You can use one or more of the input parameters to limit the number of entries returned in the feed. Separate multiple parameters with an ampersand (&).

 

Input
Method URI Description
GET /forums/atom/replies Get a feed that includes all of the replies for a specific forum topic.
You can derive the URL from the value of the href attribute of the <link> element with the rel="replies" attribute value for each forum topic entry returned in the My Topics feed.
Name Type Optional Description
page
int Yes Page number. Specifies the page to be returned. The default value is 1, which returns the first page.
ps
int Yes Page size. Specifies the number of entries to return per page. The default value is 10. The maximum value you can specify is 100.
since
number Yes Returns all entries last modified since a specified date. Specify the date in the number of milliseconds since January 1, 1970, 00:00:00 GMT time.
sortBy
enumerated Yes Specifies what to sort the returned entries by. Options are:
created
Sorts the entries by the date the item was created.
modified
Sorts the entries by the last modified date.
Note: This option replaces the lastmod option. lastmod is supported for backwards compatibility only; it will be deprecated in a future release.
Use with the sortOrder parameter to specify the order in which to display the results.
Authorized values:
  • created
  • modified
sortOrder
enumerated Yes Specifies the order in which to sort the results. The options are:
asc
Sorts the results in ascending order.
desc
Sorts the results in descending order.
Authorized values:
  • asc
  • desc
tag
string Yes Returns entries with the specified tag.
Note: Search by one tag at a time.
topicUuid
string No The id of the topic you wish to query
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates that the request was received successfully.