Skip to main content

 Services

Web services from /about to /webhooks

list fragment edits

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

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]"
              [deleted="true"]
              [original="true"]>
    <author id="12" ... >
      <fullname>John Jones</fullname>
    </author>
   [<draftauthor id="34" ... >
      <fullname>Jenny Green</fullname>
    </draftauthor>]
   [<acceptedby date="[date/time]" id="56" ... >
      <fullname>Alan Smith</fullname>
    </acceptedby>]
    <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