Update a node | Move a node | Change the Versions Control setting for a Folder | Reserve/Unreserve a node | Collect/Uncollect a node
PUT {{baseUrl}}/v2/nodes/:id
Updates a node's info
Moves a node
Changes the Versions Control setting for a folder
Reserves/Unreserves a node
Collects/Uncollects a node
NOTE: The 'body' parameter must be used. This 'body' parameter contains a JSON string, and must be specified in the Body as a key-value pair where the key is 'body' and the value is the JSON string. See the [IMPLEMENTATION NOTES] for more details.
Update a Folder's name and description:body : {
name
:New Name
, description
:New Description
}
Update a Folder's name and description while passing in a metadata token:body : {
name
:New Name
, description
:New Description
, metadata_token
:f0c0701a58c2cb03a955deb1ab2af306
}
Move a node to a folder with ID 5678body : {
parent_id
:5678 }
Change the Versions Control setting for a folderbody : {
versions_control_advanced
:true }
Change the Versions Control setting for a folder and apply to its Sub-Itemsbody : {
versions_control_advanced
:true, apply_to
:2 }
Reserve a documentbody : {
reserved_user_id
:1000 }
Unreserve a documentbody : {
reserved_user_id
:null
}
Collect a node to a Collection with ID 5678body : {
collection_id
:5678 }
Uncollect a node from the Collection with ID 5678body : {
collection_id
:5678, operation
:remove
}
Request Body
[{"name"=>"description", "value"=>"consequat nulla aliquip ex", "datatype"=>"string"}, {"name"=>"description_multilingual", "value"=>"commodo vel", "datatype"=>"string"}, {"name"=>"name", "value"=>"do", "datatype"=>"string"}, {"name"=>"name_multilingual", "value"=>"voluptate Lore", "datatype"=>"string"}, {"name"=>"versions_control_advanced", "value"=>"false", "datatype"=>"boolean"}, {"name"=>"apply_to", "value"=>"0", "datatype"=>"number"}, {"name"=>"reserved_user_id", "value"=>"73428458", "datatype"=>"number"}, {"name"=>"parent_id", "value"=>"-17629096", "datatype"=>"number"}, {"name"=>"collection_id", "value"=>"-27452123", "datatype"=>"number"}, {"name"=>"operation", "value"=>"fugiat et dolor velit", "datatype"=>"string"}, {"name"=>"metadata_token", "value"=>"Lorem in aliqua dolore", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"links":[{"data":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"data":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}]}