Skip to main content

 Version 5

Legacy documentation for PageSeeder v5

list filter comments

/members/{member}/comments/filter [GET]


Load a list of comments using filter parameters.


groupsA comma-separated list of group names the comments must belong toyesstrings
archivedIf true, include archived commentsnobooleanfalse
attachmentsThe attachments to include
(can be none, context or all)
authorThe member id of the comments authornolong
contentsThe contents to include
(can be none or all)
createdafterThe date time after which the comments were created e.g. 2010-10-25T12:26:00+10:00nodatetime
createdbeforeThe date time before which the comments were created e.g. 2011-08-25T10:20:00-04:00nodatetime
emailsThe emails to include
(can be none or all). Administrator use ONLY
labelscomma-separated list of labelsnostring
moderatedIf true, include moderated (not accepted) commentsnobooleanfalse
pageThe page to loadnolong1
pagesizeThe number of results per pageno long1000
pathsThe context URI paths for the comments - must be URL encoded (comma-separated list with optional * suffix)nopaths
positionIf first, only search first comment in a discussion (might be faster when using paths)nostringany
returngroupsThe groups to return in the output (can be none or specified)noenumnone or if multiple groups specified
statusesComma-separated list of statusesnostring
titleThe title the comments must have (optional wildcard * suffix, use ** to escape)nostring
typeThe type the comments must have (optional wildcard * suffix, use ** to escape)nostring


The member in the request must have access to all the groups in the groups parameter. If the emailsparameter is set to all, then the service is restricted to administrator only.


The output has the following format:

  <comment id="234"
           contentrole="File Attachment"
    <title>My thread</title>
    <content type="text/plain">
      Some text
      <uri id="189">...</uri>
    <attachment fragment="5">
      <uri id="289">...</uri>
      <group id="3" name="acme-test" />
  <comment id="567">
    <context fragment="2">
      <uri id="789">...</uri>

Error Handling

CodeCause / Description
0x1306 The Group is invalid or not accessible
0x1312 The createdafter or createdbefore date is invalid
0x1313 The author is invalid


Created on , last edited on