influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client-apis > SetupAPI

SetupAPI class

Setup API

Signature:

declare class SetupAPI 

Constructors

Constructor Modifiers Description
[(constructor)(influxDB)](/influxdb-client-js/influxdb-client-apis.setupapi._constructor_.html) Creates SetupAPI

Methods

Method Modifiers Description
[getSetup(request, requestOptions)](/influxdb-client-js/influxdb-client-apis.setupapi.getsetup.html) Check if database has default user, org, bucket. See [https://docs.influxdata.com/influxdb/v2.4/api/\#operation/GetSetup](https://docs.influxdata.com/influxdb/v2.4/api/#operation/GetSetup)
[postSetup(request, requestOptions)](/influxdb-client-js/influxdb-client-apis.setupapi.postsetup.html) Set up initial user, org and bucket. See [https://docs.influxdata.com/influxdb/v2.4/api/\#operation/PostSetup](https://docs.influxdata.com/influxdb/v2.4/api/#operation/PostSetup)