DiscussionService.getPostsThis is a featured page

HTTP MethodURIReturns
GET/DiscussionService/getPosts.doPosts associated with a discussion thread
Overview: Returns a list of posts for a discussion thread. Posts are returned sorted by their post date, with most recent last. If called with html output type, the resulting html will include pagination hyperlinks. If html.paginationUrl.pattern parameter is passed and output type is set to html, it will also include pagination hyperlinks.

Common Parameters

Required Parameters:

key
The developer key. This value is provided by Wetpaint during initial developer registration

ns
The content namespace. This value is provided by Wetpaint during initial developer registration

thread.threadId
The threadId on the containing thread

Optional Parameters:

offset
The starting result number. Defaults to 0

maxResults
Number of results to return. Defaults to 20. This parameter is also used to construct pagination hyperlinks for the html output type. The maxResults parameter is required if html.paginationUrl.pattern is passed

html.paginationUrl.pattern
A url pattern that will be used to generate pagination hyperlinks for the html output type. If not passed, no pagination will be included. Must be between 1 and 1000 characters.
Example Request ( required parameters in red ):
Example Response:




boe_wetpaint
boe_wetpaint
Latest page update: made by boe_wetpaint , Feb 26 2009, 5:03 PM EST (about this update About This Update boe_wetpaint Edited by boe_wetpaint

No content added or deleted.

- complete history)
Keyword tags: None
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.