list member group discussions
/members/{member}/groups/{group}/discussions [GET]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 5.9800 | 5.9907 | xml, json |
Description
Load a list of discussions from the current group.
Parameters
| Name | Description | Required | Type | Default |
|---|---|---|---|---|
| archived | Whether to include discussions/attachedtos where all comments are archived (true if comments=archive). Requires PageSeeder 5.9907 or higher. | no | boolean | false |
| comments | The comments to include, can be none,first,last,all,archive | no | string | all |
| discussionsize | The maximum number of comments to return per discussion | no | integer | 100 |
| page | The page to load | no | integer | 1 |
| pagesize | The number of results per page | no | integer | 10 |
| returngroups | The groups to return in the output, can be none,user,all(administrator only includes all comments) | no | string | none |
Permission
This service is restricted to guest and higher.
Response
This service returns a <discussions> element, listing each discussion in a <discussion> element.
<discussions>
<discussion id="123"
title="My thread"
replycount="3"
lastcommentid="234"
lastcommentdate="2012-08-20T14:27:48+10:00">
<uri id="789">...</uri>
<locator fragment="2"/>
<comment id="234"
contentrole="File Attachment"
created="2012-03-08T12:34:00+10:00">
<title>My thread</title>
<content type="text/plain">Some text</content>
<attachment>
<uri id="189">...</uri>
</attachment>
<attachment fragment="5">
<uri id="289">...</uri>
</attachment>
[<group id="12" name="acme-specs" />
...]
</comment>
</discussion>
<discussion id="100">
...
</discussion>
</discussions>
Error Handling
No specific errors expected for this service.