ReferenceModel
Move a folder or a model
PUT
Moves a live node of the tenant of the request into another of its folders, as the 3.x change_parent does, with version + 1; moving to the same folder changes nothing. A root, a move into the node itself or a descendant, and a model as parent are refused. Requires the 3.x authority 2.1.
bearerheader
AuthorizationBearer <token>The token of a session that createSession opened
id*integerId of the node
Format
int64The new parent folder
application/json- body
parentId?integerId of the folder that will hold the node
Format
int64The moved node
application/json- response
id?integerFormat
int64isFolder?booleanname?stringparent?The folder that holds the node; absent on a root
curl -X PUT 'https://bpms.bpms.work/api/v1/model/nodes/0/parent' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": 0, "isFolder": true, "name": "string", "parent": { "id": 0, "isFolder": true, "name": "string" }}