Skip to main content

Data JS API

Namespaces​

Enumerations​

Interfaces​

Functions​

createAPI​

â–¸ createAPI(options?): API

Create an instance of the NovoRender Server API.

Parameters​

NameTypeDescription
options?APIOptionsCustom settings ServerAPIOptions to create API.

Returns​

API

An initialized API object

Remarks

The Server API requires that a user with appropriate access to server resources has already been logged in. Unless you are developing a purely public web app, you may want to check the credentials property in the returned API and redirect to a login page if need be.