SDK
SDK Jvm v1.x
2

getConfig #

Returns the current Kuzzle configuration.

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

:::: tabs ::: tab Java

CompletableFuture<Map<String, Object>> getConfig()

Return #

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

Usage #

Map<String, Object> result = kuzzle
  .getServerController()
  .getConfig()
  .get();

::: ::: tab Kotlin

fun getConfig(): CompletableFuture<Map<String, Any?>>

Return #

Returns a Map<String, Any?> containing server configuration.

Usage #

val result: Map<String, Any?> = kuzzle
  .serverController
  .getConfig()
  .get()

::: ::::