Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.08 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.08 KB

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));