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

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

Undocumented permissions requirements.

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
0x1218 Fragment not found

Created on , last edited on