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
pageThe page to load.nointeger1
pagesizeThe number of results per page.nointeger10
returngroupsThe groups to return in the output, can be "none", "user", "all" (administrator only will include all comments).nostringnone

Permission

Permissions requirements to be updated.

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