Dart 2.x

getConfig

Returns the current Kuzzle configuration.

This route should only be accessible to administrators, as it might return sensitive information about the backend.

Copied to clipboard!
Future<Map<String, dynamic>> getConfig()

Return

Returns a Map<String, dynamic> containing server configuration.

Usage

Copied to clipboard!
final result = await kuzzle
  .server
  .getConfig();