Alpaca form for moving a node
GET {{baseUrl}}/v1/forms/nodes/move?id=-11141396&parent_id=-11141396&inheritance=1&category_id=in laboris magna&category_id=in&suppress_response_codes=irure labore Duis dolor ea
Gets the Alpaca form for moving a node. If adding categories, the following must be specified: 'parentid', 'id' (only one id - adding categories during a bulk move is not supported), 'inheritance', 'categoryid' (can be specified multiple times). Example: ?parentid=2000&id=1234&inheritance=0&categoryid=4444&category_id=5555
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id | number | (Required) The ID of the node | |
parent_id | number | The ID of the destination node | |
inheritance | number | The requested category inheritance model. 0 = 'Original' (the original node's categories), 1 = 'Destination' (the destination node's categories), 2 = 'Merged' (a merge of the original and destination nodes' categories) | |
category_id | string | The ID of the category to be added (can be specified multiple times, ex. category_id=4321&category_id=7878). This parameter requires 'parent_id', only one of 'id', and 'inheritance' (ex. ?parent_id=2000&id=1111&inheritance=0&category_id=...) | |
category_id | string | The ID of the category to be added (can be specified multiple times, ex. category_id=4321&category_id=7878). This parameter requires 'parent_id', only one of 'id', and 'inheritance' (ex. ?parent_id=2000&id=1111&inheritance=0&category_id=...) | |
suppress_response_codes | string | Forces the server to always return a HTTP Response of '200 OK'. The data returned from the call will have an additional integer feature named 'statusCode', which will contain the actual status code (the 'statusCode' feature will be added regardless of whether the REST API call was successful or not).<br><br>NOTE: This parameter does not require a value, so it should be specified as <ul><li><b>[Query String]:</b><code>?suppress_response_codes</code></li><li><b>[Form Body (where the value is an empty string)]</b>: <code>suppress_response_codes = </code></li></ul> |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"form":[{"data":{},"options":{},"schema":{}},{"data":{},"options":{},"schema":{}}]}