app-config-api
App Config API
Model fields
- introSlides: array of { image (required), title (required), description?, note? }
- legalPolicies: array of { title (required), url (required), icon? }
- otherLinks: array of { title (required), description (required), tab (required), url (required) }
Public (read-only)
- GET
/api/v1/app-config→ returns singleton config (created with defaults if absent)
Admin
- GET
/api/admin/app-config→ fetch singleton - PUT
/api/admin/app-config{ ...partial fields... } → upsert/update config
Notes
- Upload images first via
POST /api/admin/uploads/image(multipartfile) to obtain\{ url \}forintroSlides[].image. - The
tabfield inotherLinksis used to group links together in the UI. Links with the same tab name will be displayed under the same section.