Get the root node
Created by Alex Pop, last updated 07 Aug 2020
Get the root node of the current project.
getRoot(): Promise<Node>
Returns
A Promise that will resolve with a Node object.
Example
client.nodes.getRoot()
.then(result => {
console.log('API call result: ', result);
})
.catch(error => {
console.log('API call fetch error: ', error);
});