list structure edits
/groups/{group}/uris/{uri}/structure/edits [GET]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 5.8900 | 5.9500 | xml, json |
Description
List the edits to the structure of the document.
As a cacheable service, the etag value is created from the last modified date of the URI. Although the last modified date can change even when the fragment has not, this is a workable start.
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:
<structure-edits>
<edit id="123"
created="[date/time]"
[type="[original|create|upload|add|remove|move|edit]"]>
[<author id="12" ... >
<fullname>John Jones</fullname>
</author>]
<content>
<document>
<section id="title"
[title="My section title for UI"]>
[<title>My section title for content</title>]
<fragment-ref id="1"/>
...
</section>
[<toc/>]
<section id="content"
[title="My section title for UI"]>
[<title>My section title for content</title>]
<fragment-ref id="2" />
...
</section>
...
</document>
</content>
</edit>
<edit id="456">
</edit>
...
</structure-edits>
Error Handling
No specific errors expected for this service.