Skip to main content

 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

NameDescriptionRequiredTypeDefault value
pageThe page to loadnointeger1
pagesizeThe number of results per pagenointeger10
returngroupsThe groups to return in the output, can be none, user or all (administrator only  includes all groups)nostringnone

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 service.

Created on , last edited on