APIs
-
InfluxDB2API providing a support for managements APIs.
Example:
See morelet client = InfluxDBClient(url: "http://localhost:8086", token: "my-token") let api = InfluxDB2API(client: client) api.healthAPI.getHealth { (response, error) in if let error = error { print(error) return } if let response = response { dump(response) } } client.close()
Declaration
Swift
public class InfluxDB2API