move uri fragment
/members/{member}/groups/{group}/uris/{uri}/fragments/{+fragment}/move [POST]
API Support | Available since | Last updated | Output |
---|---|---|---|
5.8900 | 5.8900 | xml |
Description
Move a Fragment.
Move an existing fragment.
Parameters
Name | Description | Required | Type | Default value |
---|---|---|---|---|
afterfragment | ID of the fragment to insert the fragment after (required if no section or beforefragment , overrides section and beforefragment) | maybe | string | |
beforefragment | ID of the fragment to insert the fragment before (required if no section or afterfragment , overrides section) | maybe | string | |
section | ID of the section to append the fragment to after other fragments (required if no beforefragment or afterfragment ). | maybe | string |
Permission
Response
When successful, the fragment is returned as a <document-fragment> wrapped in a <fragment-move>
element.
Example:
<fragment-move>
<document-fragment> <locator id="325" fragment="example" editid="6340" modified="2015-03-24T13:21:57"/> <fragment id="example"> <para>This is the fragment content</para> </fragment> </document-fragment></fragment-move>
Error Handling
No specific errors expected for this service.