Skip to main content

 Services

Web services from /about to /webhooks

move uri fragment

/members/{member}/groups/{group}/uris/{uri}/fragments/{+fragment}/move [POST]

Description

Move a Fragment.

Move an existing fragment.

Parameters

NameDescriptionRequiredTypeDefault value
afterfragmentID of the fragment to insert the fragment after (required if no section or beforefragment, overrides section and beforefragment)maybestring
beforefragmentID of the fragment to insert the fragment before (required if no section or afterfragment, overrides section)maybestring
sectionID of the section to append the fragment to after other fragments (required if no beforefragment or afterfragment).maybestring

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.

Created on , last edited on