Skip to content

neXenio/nexboard-api-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nexboard-api-js

Usage

Nexboard = require("nexboard-api-js");

nex = new Nexboard(ApiKey, UserID, Url);

params

  • ApiKey = The identification key from account.
  • UserId = The Id from user.
  • Url= the URL of the API interface. If zero the value is set to default

functions

nex.getProjectsIds();

return a list of IDs from all projects.

nex.createProject(
    "Title of project" , 
    "description of project");

create a new project and return it.

nex.createBoard(
    "Title of Board" , 
    "description of Board", 
    IdOfProjectFromThisBoard);

create a new board and return it.

nex.getBoardsByProject(ProjectId));

return all boards from project.

nex.getBoard(BoardId));

return the board object from ID.

Test

We are using contract tests with pact-js to ensure this module is compatible with the latest version of the neXboard API. Run npm run create-pacts to verify compatibility and create pacts. This will override pacts/schul-cloud-nexboard.json with the newest contracts. These generated contracts will also be used in neXboard to verify new deployments don't break this dependency.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%