إنتقل إلى المحتوى الرئيسي

Get Bootstrap

GET 

/api/v1/settings/bootstrap

Public endpoint — returns all small boot-time settings in one round-trip.

The frontend calls this once on app boot to prime its module-level caches so each individual settings hook (currency, date format, BPM/PPM/TurboLens toggles, locales, etc.) doesn't have to fire its own GET. Replaces what used to be ~8 sequential round-trips with one query against the singleton AppSettings row. Per-endpoint reads remain available for selective refresh after admin edits.

Responses

Successful Response