GetConfigAsync

Returns the current Kuzzle configuration.

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

Arguments

Copied to clipboard!
async Task<JObject> GetConfigAsync()

Return

Returns server configuration as a JObject.

Usage

Copied to clipboard!
JObject config = await kuzzle.Server.GetConfigAsync();
Console.WriteLine("Kuzzle Server configuration: " +
  config.ToString(Formatting.None));