Skip to main content
Browse Documentation

List projects

Created by Alex Pop on 19 Dec 2019

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

client.projects.list()
  .then(result => {      
    console.log('API call result: ', result);              
  })
  .catch(error => {
    console.log('API call fetch error: ', error);      
});