Method: OpenapiClient::ProxyApi#get_proxy_config

Defined in:
lib/ff/ruby/server/generated/lib/openapi_client/api/proxy_api.rb

#get_proxy_config(key, opts = {}) ⇒ ProxyConfig

Gets Proxy config for multiple environments Gets Proxy config for multiple environments if the Key query param is provided or gets config for a single environment if an environment query param is provided

Parameters:

  • key (String)

    Accpets a Proxy Key.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :page_number (Integer)

    PageNumber

  • :page_size (Integer)

    PageSize

  • :cluster (String)

    Unique identifier for the cluster for the account

  • :environment (String)

    Accepts an EnvironmentID. If this is provided then the endpoint will only return config for this environment. If this is left empty then the Proxy will return config for all environments associated with the Proxy Key.

Returns:



92
93
94
95
# File 'lib/ff/ruby/server/generated/lib/openapi_client/api/proxy_api.rb', line 92

def get_proxy_config(key, opts = {})
  data, _status_code, _headers = get_proxy_config_with_http_info(key, opts)
  data
end