Online read of the PORTFOLIO_APP_CONFIG reference data (feature switches, current season, retry delay/threshold, pagination and chunk sizes). Called during data download (DataSetupViewModel / UnitDataSetupViewModel via SetupService), on every Home open (HomeViewModel.fetchAppConfigs) and hourly by FetchRefDataWorker. Pages of 100 are requested while the server answers 206; the full list is saved as JSON in preferences (SHARED_PREF_KEY_CURRENT_SEASON_VALUE) and each switch is read by code, using description as the value. On failure data download marks the step as error; Home and the worker silently keep the previous config.
Headers
Header
Value
Notes
X-SESSIONID
<session token>
Added by AuthInterceptor (data/net/AuthInterceptor.kt) when the call does not set it; on HTTP 401 or 400 the interceptor invalidates the token, fetches a new one and retries the request once.