Skip to content
Content only available in english

What is @cob/rest-api-wrapper ​

@cob/rest-api-wrapper is a library of functions to simplify the interaction with a CoB server backend. It uses part of the available REST API

How to install ​

In your project directory run:

 npm i @cob/rest-api-wrapper

Available functions ​

The list of available functions are:

  • server
  • auth
  • umLoggedin
  • rmDomainSearch
  • rmDefinitionSearch
  • rmDefinitionAggregation
  • rmGetInstance
  • rmAddInstance
  • rmDeleteInstance

Examples ​

Checkout the tests directory for use cases for each of the functions.