Skip to content

Latest commit

 

History

History

Project

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Projects

Back to Readme

Project Documentation on BlueBrainNexus.io

// Projects
nexus.Project.list('myOrg')
  .then(d => console.log('res>', d))
  .catch(e => console.error(e));

nexus.Project.create('myOrg', 'myProject', {
  description: 'What a fine description of my project.',
})
  .then(d => console.log('res>', d))
  .catch(e => console.error(e));

nexus.Project.update('myOrg', 'myProject', 1, {
  description: 'What a fine description of my project.',
})
  .then(d => console.log('res>', d))
  .catch(e => console.error(e));

nexus.Project.deprecate('myOrg', 'myProject', 1)
  .then(d => console.log('res>', d))
  .catch(e => console.error(e));

nexus.Project.get('myOrg', 'myProject')
  .then(d => console.log('res>', d))
  .catch(e => console.error(e));

nexus.Project.statistics('myOrg', 'myProject')
  .then(d => console.log('res>', d))
  .catch(e => console.error(e));

nexus.Project.deletionConfig()
  .then(d => console.log('res>', d))
  .catch(e => console.error(e));