Web service API

How to use PageSeeder's Web service API

list member draft edits

/members/{member}/edit/drafts [GET]

com.pageseeder.psml.GetDraftEditsForMember

Description

List all the draft edits for a member.

Parameters

Name Description Required Type Default 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 groups) no string none

Permission

Only the member themselves, or an administrator, can invoke this service.

Response

The output has the following format:

 <drafts [limitreached="true"]>
   <draft id="234" created="2012-03-08T12:34:00+10:00">
     <author id="12" ... ><fullname>John Jones</fullname></author>
     <context fragment="2">
       <uri id="789">...</uri>
     <context>
     [<group id="45" name="my-group1" />
      <group id="56" name="my-group2" />
      ...
     ]
   </draft>
   ...
 </drafts>

Error Handling

No specific errors expected for this generator.

Created on , last edited on