Skip to main content

List projects

Returns a list of the project resources for a Contensis instance.

list(): Promise<Project>[]

Returns

A Promise that will resolve with an array of Project objects.

Example

JavaScript
client.projects.list()
  .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