Application configuration API
After login, the client needs some basic information from the server. Add API endpoints to AppController
at /app:
/app/code/{lang}
Retrieve all CodeValue
entries and the CodeValueLang
translations for specified language.
Maybe add a new class that wraps CodeValue
+ title
and description
from CodeValueLang
.
/app/resource/
Retrieve all AppResource
entries.
/app/setting/
Retrieve all AppSetting
entries.