getEnvironmentConfigWithHttpInfo method

Future<Response> getEnvironmentConfigWithHttpInfo()

Get configuration made through environment variables

Retrieve a json object mirroring the server configuration where fields are set to true if the corresponding config setting is set through an environment variable. Settings that haven't been set through environment variables will be missing from the object. Minimum server version: 4.10 ##### Permissions Must have manage_system permission.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getEnvironmentConfigWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/config/environment';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <MmQueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}