API calls for all endpoints tagged Configuration.
Summary
Functions
Force pricing sync Triggers an immediate pricing sync and resets the pricing sync timer.
Get configuration Retrieves the current Bifrost configuration including client config, framework config, auth config, and connection status for various stores.
Get proxy configuration Retrieves the current global proxy configuration.
Get version Returns the current Bifrost version information.
Update configuration Updates the Bifrost configuration. Supports hot-reloading of certain settings like drop_excess_requests. Some settings may require a restart to take effect.
Update proxy configuration Updates the global proxy configuration.
Functions
@spec force_sync_pricing( Tesla.Env.client(), keyword() ) :: {:ok, ExBifrost.Model.SuccessResponse.t()} | {:ok, ExBifrost.Model.BifrostError.t()} | {:error, Tesla.Env.t()}
Force pricing sync Triggers an immediate pricing sync and resets the pricing sync timer.
Parameters
connection(ExBifrost.Connection): Connection to serveropts(keyword): Optional parameters
Returns
{:ok, ExBifrost.Model.SuccessResponse.t}on success{:error, Tesla.Env.t}on failure
@spec get_config( Tesla.Env.client(), keyword() ) :: {:ok, ExBifrost.Model.GetConfigResponse.t()} | {:ok, ExBifrost.Model.BifrostError.t()} | {:error, Tesla.Env.t()}
Get configuration Retrieves the current Bifrost configuration including client config, framework config, auth config, and connection status for various stores.
Parameters
connection(ExBifrost.Connection): Connection to serveropts(keyword): Optional parameters:from_db(String.t): If true, fetch configuration directly from the database
Returns
{:ok, ExBifrost.Model.GetConfigResponse.t}on success{:error, Tesla.Env.t}on failure
@spec get_proxy_config( Tesla.Env.client(), keyword() ) :: {:ok, ExBifrost.Model.GetProxyConfig200Response.t()} | {:ok, ExBifrost.Model.BifrostError.t()} | {:error, Tesla.Env.t()}
Get proxy configuration Retrieves the current global proxy configuration.
Parameters
connection(ExBifrost.Connection): Connection to serveropts(keyword): Optional parameters
Returns
{:ok, ExBifrost.Model.GetProxyConfig200Response.t}on success{:error, Tesla.Env.t}on failure
@spec get_version( Tesla.Env.client(), keyword() ) :: {:ok, String.t()} | {:error, Tesla.Env.t()}
Get version Returns the current Bifrost version information.
Parameters
connection(ExBifrost.Connection): Connection to serveropts(keyword): Optional parameters
Returns
{:ok, String.t}on success{:error, Tesla.Env.t}on failure
@spec update_config( Tesla.Env.client(), ExBifrost.Model.UpdateConfigRequest.t(), keyword() ) :: {:ok, ExBifrost.Model.SuccessResponse.t()} | {:ok, ExBifrost.Model.BifrostError.t()} | {:error, Tesla.Env.t()}
Update configuration Updates the Bifrost configuration. Supports hot-reloading of certain settings like drop_excess_requests. Some settings may require a restart to take effect.
Parameters
connection(ExBifrost.Connection): Connection to serverupdate_config_request(UpdateConfigRequest):opts(keyword): Optional parameters
Returns
{:ok, ExBifrost.Model.SuccessResponse.t}on success{:error, Tesla.Env.t}on failure
@spec update_proxy_config( Tesla.Env.client(), ExBifrost.Model.GetProxyConfig200Response.t(), keyword() ) :: {:ok, ExBifrost.Model.SuccessResponse.t()} | {:ok, ExBifrost.Model.BifrostError.t()} | {:error, Tesla.Env.t()}
Update proxy configuration Updates the global proxy configuration.
Parameters
connection(ExBifrost.Connection): Connection to serverget_proxy_config200_response(GetProxyConfig200Response):opts(keyword): Optional parameters
Returns
{:ok, ExBifrost.Model.SuccessResponse.t}on success{:error, Tesla.Env.t}on failure