Web service API

How to use PageSeeder's Web service API

list draft comments

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

com.pageseeder.comment.GetCommentDrafts

Description

Load a list of draft comments for the current user.

Parameters

NameDescriptionRequiredTypeDefault value
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 will include all comments) no string none

Permission

Undocumented permissions requirements.

Response

The output has the following format:

<comments>
   <comment id="234" contentrole="File Attachment" created="2012-03-08T12:34:00+10:00" draft="true">
     <title>My thread</title>
     <content type="text/plain">
       Some text
     </content>
     <context fragment="2">
       <uri|group id="789">...</uri|group>
     <context>
   </comment>
   ...
 </comments>

Error handling

No specific errors expected for this service.

Created on , last edited on