Skip to main content

 Web service API

How to use PageSeeder's Web service API

list metadata edits

/groups/{group}/uris/{uri}/metadata/edits [GET]

com.pageseeder.psml.ListFragmentEdits

Description

List the edits for the document metadata.

The document metadata are stored in a fragment of the document using the  <metadata> PSML element.

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

CodeCause / Description
0x1218Fragment not found
Created on , last edited on