Skip to main content

Get a node by id.

get(id: string): Promise<Node>

Returns

A Promise that will resolve with a Node object.

Example

JavaScript
client.nodes.get('c31111e7-76f7-46dd-93fb-cbf81a853a37')
  .then(result => {      
    console.log('API call result: ', result);              
  })
  .catch(error => {
    console.log('API call fetch error: ', error);      
});

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request