Skip to main content

 Web service API

How to use PageSeeder's Web service API

list fragment edits

/groups/{group}/uris/{uri}/fragments/{+fragment}/edits [GET]

com.pageseeder.psml.ListFragmentEdits

Description

List the edits for a fragment.

Note: this service is cacheable and uses the URI’s last modified date as the etag. While it might not be reflective of the fragment changes (the URI last modified date can change with this fragment not changing), it is better than nothing.

Parameters

No parameters required.

Permission

This service is restricted to guest and higher unless the group is accessible to public.

Response

The output has the following format:

<edits>
  <edit|draft id="123"
              created="[date/time]"
              [shared="true"]
              [deleted="true"]
              [original="true"]>
    <author id="12" ... >
      <fullname>John Jones</fullname>
    </author>
    <notes>
      <note id="456"
            modified="[date/time]"
            title="[title]">
        <content> ... </content>
        <labels> ... </labels>
      </note>
    </notes>
  </edit|draft>
</edits>

Error Handling

No specific errors expected for this service.

Created on , last edited on