Let the platform do the work

//:record/movebefore/:target PUT

Overview

Move existing node before target node.

Request Arguments

Name Type Description Required
module String The name of sugar module that contains a nested set data and implements the NestedSetInterface. True
target String The ID of record that will be used as target to move node before True

Response Arguments

This endpoint does not return any response arguments.

Response

This endpoint return a record GUID that was moved
"1b7b868d-7357-2e29-7513-54169bdc444d"

Change Log

Version Change
v10 Added /<module>/movebefore/:target PUT endpoint.